Author

Topic: [Minera v0.9.0] Your next mining dashboard - S9/L3+/D3/CPUminer/CGminer/BFGminer - page 164. (Read 850495 times)

member
Activity: 70
Merit: 10
I have one gridseed 5 chip miner and one gridseed g-blade. Can I run both of these miners off the same raspberry pi running minera?

yes you can

Do I need to use a powered usb hub? I tried a non powered hub and I got some wonky hashrates. Is that the cause?
legendary
Activity: 1015
Merit: 1000
Its not hard to put them back in and imo worth it to fix issues

As well as the issues mention in the least few posts the two buttons for guided and manual settings where greyed out for me.

I tried doing a clean install and also an upgrade and all the other suggestions none  of which worked.

cause you have flushed every settings...

try this:

Code:
redis-cli set guided_options 1
redis-cli set manual_options 0

DON'T DO FLUSHALL if you don't know what you are doing.
full member
Activity: 158
Merit: 100
Its not hard to put them back in and imo worth it to fix issues

As well as the issues mention in the least few posts the two buttons for guided and manual settings where greyed out for me.

I tried doing a clean install and also an upgrade and all the other suggestions none  of which worked.
legendary
Activity: 1015
Merit: 1000
For people having issues with random errors i have found they flushing the redis db seems to fix them.

Provided you are not using redis for any other apps ssh into your machine and do the following which will rest most of your settings

Code:
redis-cli

The prompt will change to redis>

then type

Code:
flushall

and finally

Code:
exit

and restart

FlushALL will delete every settings/stats/etc... I don't recommend it.

If you have DataTables random errors, please clear the cookies browser
full member
Activity: 158
Merit: 100
For people having issues with random errors i have found they flushing the redis db seems to fix them.

Provided you are not using redis for any other apps ssh into your machine and do the following which will rest most of your settings

Code:
redis-cli

The prompt will change to redis>

then type

Code:
flushall

and finally

Code:
exit

and restart

Almost forgot you will need to re run the install_miner.sh again to repopulate the db
full member
Activity: 158
Merit: 100
I have one gridseed 5 chip miner and one gridseed g-blade. Can I run both of these miners off the same raspberry pi running minera?

yes you can
member
Activity: 70
Merit: 10
I have one gridseed 5 chip miner and one gridseed g-blade. Can I run both of these miners off the same raspberry pi running minera?
newbie
Activity: 27
Merit: 0
Please can you paste the content of /var/www/minera/conf/miner_conf.json?

Did you run "sudo ./upgrade_minera.sh"? Please run it and then retry to save settings


miner_conf.json was empty, then I ran the upgrade script and rebooted.  Once I saved the settings it populed it with valid configuration data and Start (and Stop!) are working.  Thank you!

Strange pop-up whenever the Dashboard is refreshed (comes up a few times each refresh):
https://i.imgur.com/K59DAmQ.jpg

This happens in Chrome and IE (never viewed Minera in IE before until I tried this test)
legendary
Activity: 1015
Merit: 1000
I just did a fresh pull of Minera and cpuminer, everything starts fine the first time.

If I goto the settings page, and press save (doesn't matter if I make or change or not), then try to start the miner, it fails every time after that.

I noticed the startup after a fresh install before pressing 'Save' anywhere is:

Code:
/usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd --gc3355-detect --gc3355-autotune --freq=850 -o stratum+tcp://multi.ghash.io:3333 -u michelem.minera -p x --retries=1

Then after pressing Save it changes to:
Code:
/usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd -c /var/www/minera/conf/miner_conf.json

Running that line above results in this error:
"/var/www/minera/minera-bin/minerd: /var/www/minera/conf/miner_conf.json:1: '[' or '{' expected near end of file"
I expect this is why "Start" or "Restart" from the Minera web page now fail after Saving any settings.

I also receive this error (mainly on Settings page):

Code:
A PHP Error was encountered

Severity: Notice
Message:  Use of undefined constant JSON_PRETTY_PRINT - assumed 'JSON_PRETTY_PRINT'
Filename: views/settings.php
Line Number: 240

Edit:  Upgrading PHP from 5.3 --> 5.5 fixed the last error.  Pressing "Save" still breaks the start/stop functionality of Minera due to the new JSON config vs the old way of entering everything in the startup line.

Please can you paste the content of /var/www/minera/conf/miner_conf.json?

Did you run "sudo ./upgrade_minera.sh"? Please run it and then retry to save settings
newbie
Activity: 27
Merit: 0
I just did a fresh pull of Minera and cpuminer, everything starts fine the first time.

If I goto the settings page, and press save (doesn't matter if I make or change or not), then try to start the miner, it fails every time after that.

I noticed the startup after a fresh install before pressing 'Save' anywhere is:

Code:
/usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd --gc3355-detect --gc3355-autotune --freq=850 -o stratum+tcp://multi.ghash.io:3333 -u michelem.minera -p x --retries=1

Then after pressing Save it changes to:
Code:
/usr/bin/screen -dmS cpuminer /var/www/minera/minera-bin/minerd -c /var/www/minera/conf/miner_conf.json

Running that line above results in this error:
"/var/www/minera/minera-bin/minerd: /var/www/minera/conf/miner_conf.json:1: '[' or '{' expected near end of file"
I expect this is why "Start" or "Restart" from the Minera web page now fail after Saving any settings.

I also receive this error (mainly on Settings page):

Code:
A PHP Error was encountered

Severity: Notice
Message:  Use of undefined constant JSON_PRETTY_PRINT - assumed 'JSON_PRETTY_PRINT'
Filename: views/settings.php
Line Number: 240

Edit:  Upgrading PHP from 5.3 --> 5.5 fixed the last error.  Pressing "Save" still breaks the start/stop functionality of Minera due to the new JSON config vs the old way of entering everything in the startup line.
member
Activity: 71
Merit: 10
THX, I do it succesful , but still can't fix the problem

You're not able to edit the File or Michelems Code doesn´t work?


i  edit the file already.      my problem is
Mining Dashboard

Warning!
I can't get the stats from your minerd. Please try to refresh the page or check your settings (minerd API must listen on 127.0.0.1:4028).


NO GUI 
member
Activity: 84
Merit: 10
THX, I do it succesful , but still can't fix the problem

You're not able to edit the File or Michelems Code doesn´t work?
member
Activity: 84
Merit: 10
I just updated to 10a and get more of the Data Table warnings.

DataTables warning: table id=miner-table-details - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3
DataTables warning: table id=pools-table-details - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3

This happens at the end of loading the Dashboard. On reloading the Dashboard, the same happens again. i have to jump a few times between Dashboard and Settings and than the Warnings goes away, until i logout and login again. Than it´s back again.

Cheers
Alex


Please try to clear cache and cookies browser. (Don't use IE)

I use Firefox and deactivated Cache by default. I deleted the cookie now. Seams to work on a first test.
legendary
Activity: 1015
Merit: 1000
I just updated to 10a and get more of the Data Table warnings.

DataTables warning: table id=miner-table-details - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3
DataTables warning: table id=pools-table-details - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3

This happens at the end of loading the Dashboard. On reloading the Dashboard, the same happens again. i have to jump a few times between Dashboard and Settings and than the Warnings goes away, until i logout and login again. Than it´s back again.

Cheers
Alex


Please try to clear cache and cookies browser. (Don't use IE)
member
Activity: 71
Merit: 10
how to do ?  whit ssh?   so sorry , no goo at it~

Seams like you´re not very firm on using unix command line.

A Tip for Windows users....

Maybe you want to try WinSCP http://winscp.net/eng/download.php. It´s a Windows Programm that allow you to connect to Unix PCs via SSH and browse and edit the file in a grafical enviroment.
Just walk through the directorys by mouseclick and open a file with doubleclick, to edit it.

This is much easier for Windows Users. I think there are also Programms like that for Mac Users.
http://winscp.net/eng/download.php  shows putty download. 

Now i use putty alraedy .   how can i do ? 

plz step by step .  thx ...kindly friend.
Don't scroll to the end of the page, it's the first download on the page.

THX, I do it succesful , but still can't fix the problem
sr. member
Activity: 372
Merit: 250
how to do ?  whit ssh?   so sorry , no goo at it~

Seams like you´re not very firm on using unix command line.

A Tip for Windows users....

Maybe you want to try WinSCP http://winscp.net/eng/download.php. It´s a Windows Programm that allow you to connect to Unix PCs via SSH and browse and edit the file in a grafical enviroment.
Just walk through the directorys by mouseclick and open a file with doubleclick, to edit it.

This is much easier for Windows Users. I think there are also Programms like that for Mac Users.
http://winscp.net/eng/download.php  shows putty download. 

Now i use putty alraedy .   how can i do ? 

plz step by step .  thx ...kindly friend.
Don't scroll to the end of the page, it's the first download on the page.
member
Activity: 71
Merit: 10
how to do ?  whit ssh?   so sorry , no goo at it~

Seams like you´re not very firm on using unix command line.

A Tip for Windows users....

Maybe you want to try WinSCP http://winscp.net/eng/download.php. It´s a Windows Programm that allow you to connect to Unix PCs via SSH and browse and edit the file in a grafical enviroment.
Just walk through the directorys by mouseclick and open a file with doubleclick, to edit it.

This is much easier for Windows Users. I think there are also Programms like that for Mac Users.
http://winscp.net/eng/download.php  shows putty download. 

Now i use putty alraedy .   how can i do ? 

plz step by step .  thx ...kindly friend.
member
Activity: 84
Merit: 10
how to do ?  whit ssh?   so sorry , no goo at it~

Seams like you´re not very firm on using unix command line.

A Tip for Windows users....

Maybe you want to try WinSCP http://winscp.net/eng/download.php. It´s a Windows Programm that allow you to connect to Unix PCs via SSH and browse and edit the file in a grafical enviroment.
Just walk through the directorys by mouseclick and open a file with doubleclick, to edit it.

This is much easier for Windows Users. I think there are also Programms like that for Mac Users.
member
Activity: 71
Merit: 10
my issue now can't fix.
"
I can't get the stats from your minerd. Please try to refresh the page or check your settings (minerd API must listen on 127.0.0.1:4028).
"

use code :http:///minera/index.php/app/stats

webbrowes shows   {"error":true}

How many G-Blades have you connected?
I have the same problem. I have 5 blades on 1 RPi. Problem is only on this RPi, which has the latest Minera version. Other RPis with 0.1.8b work fine.

You could try this on one with latest Minera version:

Look at this file /var/www/minera/application/models/cpuminer_model.php

Look at line 36:

Code:
$out = stream_get_contents($fp);

Comment out that line and replace it with this:

Code:
while(!feof($fp))
{
     if(!($str = fread($fp, 8192))) break;
     $out .= $str;
}


Save and look at the dashboard/stats

how to do ?  whit ssh?   so sorry , no goo at it~
member
Activity: 84
Merit: 10
I just updated to 10a and get more of the Data Table warnings.

DataTables warning: table id=miner-table-details - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3
DataTables warning: table id=pools-table-details - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3

This happens at the end of loading the Dashboard. On reloading the Dashboard, the same happens again. i have to jump a few times between Dashboard and Settings and than the Warnings goes away, until i logout and login again. Than it´s back again.

Cheers
Alex
Jump to: