Pages:
Author

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

legendary
Activity: 1015
Merit: 1000
Hello,

problem solved  Grin

minera@ubuntu:/var/www/minera$ php5 /var/www/minera/index.php app cron runs without problems (using php I got a code list)


sudo vi /etc/cron.d/minera and replace php with php5

Thanks to sandor111 and michelem for this great software and supporting gridseed users.

rgds,
m

Very good!

Can I ask you the exact distribution you are using? php5 command should be only an alias of php on Ubuntu and Raspbian so using one or another should be indifferent, weird you get the code instead running it with "php" command, may be you have a different ini configuration file.

BTW I'm glad you like it! And I have in mind more and more cool stuff for Minera, stay tuned and spread it! Wink

newbie
Activity: 17
Merit: 0
Hello,

problem solved  Grin


Thanks to sandor111 and michelem for this great software and supporting gridseed users.

rgds,
m
legendary
Activity: 1015
Merit: 1000
Hello,

I've installed minera on a pcduino (ubuntu) with apache. Working, but no "hashrate history" and no "Rejected/errors"
Since php bin file was not available on my system, I installed libapache2-mod-fastcgi  ( needed by (?) php /var/www/minera/index.php app cron_stats )

output from php:
>minera@ubuntu:/var/www/minera$ php -v
PHP 5.3.10-1ubuntu3.11 with Suhosin-Patch (cgi-fcgi) (built: Apr  4 2014 02:06:32)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies


Is this the correct php binary ?

Can someone help me on this?

thanks,

rgds,
m

It seems the cron task is not running on your system.

Please try running from the terminal this command and check if graphs change:

Code:
php //index.php app cron

If changed the problem is with the cron task that's not running.

You should have a cron task like this:

Code:
*/5 * * * * minera php //index.php app cron

Minera installs it in /etc/cron.d/minera

Let me know

PS
I just updated this you could have to run "[...] app cron_stats" instead "[...] app cron" this depends on your Minera revision

Same problem here with hashrate not shown, on RPi:

minera@raspberrypi /etc/cron.d $ cat minera
*/5 * * * * minera php /var/www/minera/index.php app cron_stats
minera@raspberrypi /etc/cron.d $ php /var/www/minera/index.php app cron_stats
-bash: php: command not found


Well, I'm really sorry I forgot to add the php5-cli package to the installer (a complete system img is absolutely needed, I will give you it asap).

Everyone, please install the php5-cli package:

Code:
sudo apt-get install php5-cli

I'm going to update the README.

My apologies, thanks.
jr. member
Activity: 45
Merit: 5
Hello,

I've installed minera on a pcduino (ubuntu) with apache. Working, but no "hashrate history" and no "Rejected/errors"
Since php bin file was not available on my system, I installed libapache2-mod-fastcgi  ( needed by (?) php /var/www/minera/index.php app cron_stats )

output from php:
>minera@ubuntu:/var/www/minera$ php -v
PHP 5.3.10-1ubuntu3.11 with Suhosin-Patch (cgi-fcgi) (built: Apr  4 2014 02:06:32)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies


Is this the correct php binary ?

Can someone help me on this?

thanks,

rgds,
m

It seems the cron task is not running on your system.

Please try running from the terminal this command and check if graphs change:

Code:
php //index.php app cron

If changed the problem is with the cron task that's not running.

You should have a cron task like this:

Code:
*/5 * * * * minera php //index.php app cron

Minera installs it in /etc/cron.d/minera

Let me know

PS
I just updated this you could have to run "[...] app cron_stats" instead "[...] app cron" this depends on your Minera revision

Same problem here with hashrate not shown, on RPi:

minera@raspberrypi /etc/cron.d $ cat minera
*/5 * * * * minera php /var/www/minera/index.php app cron_stats
minera@raspberrypi /etc/cron.d $ php /var/www/minera/index.php app cron_stats
-bash: php: command not found
legendary
Activity: 1015
Merit: 1000
BTW, just like bfgminer it is now possible the set the frequency on the fly with cpuminer-gc3355 using the API.
Code:
{"set":"frequency", "devices":{"ttyACM0":{"chips":[825,850,875,900,850]}}}
I thought I'd mention it, since it is a feature of the Hashra controla.

this is really cool Sandor! Let me work on this to give this ability on the dashboard.

@edonkey thanks to point me there, I was thinking about a daemontools/supervisord I think I will add something like this asap.
hero member
Activity: 616
Merit: 500
BTW, just like bfgminer it is now possible the set the frequency on the fly with cpuminer-gc3355 using the API.
Code:
{"set":"frequency", "devices":{"ttyACM0":{"chips":[825,850,875,900,850]}}}
I thought I'd mention it, since it is a feature of the Hashra controla.
legendary
Activity: 1150
Merit: 1004
This is an awesome effort and truly appreciated. Working great on my RPi setup.

One request for improvement would be to add ajax for dynamically and continuous update of the stats without requiring to refresh manually.

I'm working on this, it's all ready I need only some more checks. I think I will add this feature by the end of the week.

In the meantime I just updated the code with a pseudo auto-recover option.

You can find it in the settings page (you have to pull the latest code, I'm working on an auto-update too). It checks if the process exists and restarts it if not found. I will work more on this to check if the miner sends really new shares.

Thanks for the feedbacks!

This might be overkill, but I use DaemonTools to configure my mining software as a service. This solves the problem of starting the software at boot time as well as restarting it if it crashes. There are simple commands for manually starting and stopping the service. And it supports optional logging and log rotation, for those of us who find logs useful for debugging problems.

If you're interested, I posted a guide for how to use DaemonTools here:

https://bitcointalksearch.org/topic/guide-configure-your-miner-software-as-a-service-under-daemontools-577018

Instead of what I did in my post, you could configure the service script to run the miner software under screen without logging (since people seem to like screen and are perhaps less interested in logging). To do that, you would run screen as attached, not detached, so that DaemonTools can detect when the process has died. And you would not run the miner in text-only mode, so that people could attach to the screen as needed and see the text GUI.

Hope this helps...
legendary
Activity: 1015
Merit: 1000
This is an awesome effort and truly appreciated. Working great on my RPi setup.

One request for improvement would be to add ajax for dynamically and continuous update of the stats without requiring to refresh manually.

I'm working on this, it's all ready I need only some more checks. I think I will add this feature by the end of the week.

In the meantime I just updated the code with a pseudo auto-recover option.

You can find it in the settings page (you have to pull the latest code, I'm working on an auto-update too). It checks if the process exists and restarts it if not found. I will work more on this to check if the miner sends really new shares.

Thanks for the feedbacks!
legendary
Activity: 1015
Merit: 1000
Hello,

I've installed minera on a pcduino (ubuntu) with apache. Working, but no "hashrate history" and no "Rejected/errors"
Since php bin file was not available on my system, I installed libapache2-mod-fastcgi  ( needed by (?) php /var/www/minera/index.php app cron_stats )

output from php:
>minera@ubuntu:/var/www/minera$ php -v
PHP 5.3.10-1ubuntu3.11 with Suhosin-Patch (cgi-fcgi) (built: Apr  4 2014 02:06:32)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies


Is this the correct php binary ?

Can someone help me on this?

thanks,

rgds,
m

It seems the cron task is not running on your system.

Please try running from the terminal this command and check if graphs change:

Code:
php //index.php app cron

If changed the problem is with the cron task that's not running.

You should have a cron task like this:

Code:
*/5 * * * * minera php //index.php app cron

Minera installs it in /etc/cron.d/minera

Let me know

PS
I just updated this you could have to run "[...] app cron_stats" instead "[...] app cron" this depends on your Minera revision
jr. member
Activity: 45
Merit: 5
This is an awesome effort and truly appreciated. Working great on my RPi setup.

One request for improvement would be to add ajax for dynamically and continuous update of the stats without requiring to refresh manually.
newbie
Activity: 17
Merit: 0
Hello,

I've installed minera on a pcduino (ubuntu) with apache. Working, but no "hashrate history" and no "Rejected/errors"
Since php bin file was not available on my system, I installed libapache2-mod-fastcgi  ( needed by (?) php /var/www/minera/index.php app cron_stats )

output from php:
>minera@ubuntu:/var/www/minera$ php -v
PHP 5.3.10-1ubuntu3.11 with Suhosin-Patch (cgi-fcgi) (built: Apr  4 2014 02:06:32)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies


Is this the correct php binary ?

Can someone help me on this?

thanks,

rgds,
m
legendary
Activity: 1015
Merit: 1000
for some reason the web interface isnt accepting my password after a change. Is this a standard http password? or held someplace else?

I just reinstalled.

This is weird, but you can also change the pass by running this command on a terminal:

Code:
sudo redis-cli set minera_password
member
Activity: 65
Merit: 10
for some reason the web interface isnt accepting my password after a change. Is this a standard http password? or held someplace else?

I just reinstalled.
legendary
Activity: 1015
Merit: 1000
Glad you like it Smiley

I'm just finalizing it with the main stuff like an auto-recover mode, so in the meantime keep your script up and check this thread for updates.

Thanks
member
Activity: 413
Merit: 10
I tried using it but my Miner Settings page comes up blank and I see the below error message in the logs
2014-05-05 19:53:21: (mod_fastcgi.c.2676) FastCGI-stderr: PHP message: PHP Fatal error:  Call to undefined method Util_model::getBtcValue() in /var/www/minera/application/controllers/app.php on line 96



EDIT: Ok, I edited our this function in app.php and the page loads albeit with some errors about undefined ltc,doge, etc variables

$data['btc'] = 1;//$this->util_model->getBtcValue();



Apologize, I forgot pushing the fix.

Please ssh into minera and run:

cd /var/www/minera
sudo git reset --hard
sudo git pull

You should have the new code with the bug fix.

You can also delete the minera directory and repeat only the git clone command

Awesome, looks good! Thanks for your work.
Does Minera monitor the minerd process to ensure it stays running? I have a monitor script running on a crontab every 5 minutes, just wondering if I should leave that in place.
legendary
Activity: 1015
Merit: 1000
I tried using it but my Miner Settings page comes up blank and I see the below error message in the logs
2014-05-05 19:53:21: (mod_fastcgi.c.2676) FastCGI-stderr: PHP message: PHP Fatal error:  Call to undefined method Util_model::getBtcValue() in /var/www/minera/application/controllers/app.php on line 96



EDIT: Ok, I edited our this function in app.php and the page loads albeit with some errors about undefined ltc,doge, etc variables

$data['btc'] = 1;//$this->util_model->getBtcValue();



Apologize, I forgot pushing the fix.

Please ssh into minera and run:

cd /var/www/minera
sudo git reset --hard
sudo git pull

You should have the new code with the bug fix.

You can also delete the minera directory and repeat only the git clone command
member
Activity: 413
Merit: 10
I tried using it but my Miner Settings page comes up blank and I see the below error message in the logs
2014-05-05 19:53:21: (mod_fastcgi.c.2676) FastCGI-stderr: PHP message: PHP Fatal error:  Call to undefined method Util_model::getBtcValue() in /var/www/minera/application/controllers/app.php on line 96



EDIT: Ok, I edited our this function in app.php and the page loads albeit with some errors about undefined ltc,doge, etc variables

$data['btc'] = 1;//$this->util_model->getBtcValue();

legendary
Activity: 1015
Merit: 1000
Very nice! Thank you for this!
I help you promote.

BTW, please cross post it in https://litecointalk.org/index.php?board=5.0, if you don't have a forum account there, let me know and I will do it in your stead.

Thanks Sandor, I'm just posting something there too.
hero member
Activity: 616
Merit: 500
Very nice! Thank you for this!
I help you promote.

BTW, please cross post it in https://litecointalk.org/index.php?board=5.0, if you don't have a forum account there, let me know and I will do it in your stead.
legendary
Activity: 1015
Merit: 1000
If you like Minera please consider a donation to support its development: you can donate to my BTC address: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1

If you can't donate Bitcoin, please consider to create a new Coinbase wallet following this referral link, if you complete the registration/verification we get both some bitcoins free!


Official Github repository https://github.com/getminera/minera

NOW SUPPORTING ALSO ANTMINER S9 / L3+ / D3

Hello there!

I'm very glad to announce the first release of Minera a new web management system for your Gridseed (Mini/Blade) mining devices.

Minera includes as miner software:

* CPUminer-GC3355 fork
* BFGminer latest original version
* CGminer latest original version
* CGminer Dmaxl Zeus fork

It should support every CGminer/BFGminer forks as well.

Since the 0.9.x version Minera supports also network miners as:

* Antminer S9
* Antminer L3+
* Antminer D3

Since the 0.5.x version Minera supports also network miners as:

* Antminer S1 / S3 / S5
* Rockminer
* Any network miner with cgminer/bfgminer
* Other Minera system

Please read more how to config network miners here

Here you can find the complete Minera image file for Raspberry PI

v0.9.0 -> http://getminera.com/download/latest

Torrent -> https://getminera.com/releases/minera-latest.img.zip.torrent

**Magnet link: magnet:?xt=urn:btih:4c77cb95769cba095b31993303304a15637b0024&dn=minera-latest.img.zip**
Please refer to the README here for image or manual installation.

There is a wiki page to get started with Minera: https://github.com/getminera/minera/wiki/Getting-started

For help and setup please look at the Help page at http://getminera.com/help

Feedbacks are very welcome!

Please refer to Github page for all the info and support (found a bug? open an issue on github!)

If you like Minera please consider a donation to support its development: you can donate to my BTC address: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1

If you can't donate Bitcoin, please consider to create a new Coinbase wallet following this referral link, if you complete the registration/verification we get both some bitcoins free!


Thanks!

http://getminera.com



Edit: 03 December 2017
Minera 0.9.0 is out!

* Added support for Antminer S9 / L3+ / D3
* Bugs fixed
* Manual install should work now


Edit: 25 September 2017
Minera 0.8.0 is out!

* Several bugs fixed
* Introduced Browser mining to remove ads


Edit: 3 September 2017
Minera 0.8.0 is out!

* Several bugs fixed
* Upgraded to lastest Codeigniter version (framework)
* Upgraded to latest Raspbian Strecth release (image file)
* Upgraded to use PHP7.0
* Added Minera ID to lock screen and sidebar
* Added BCH (Bitcoin Cash) to profitability table
* Added ccminer as local miner (need tests)


Edit: 14 April 2016
Minera 0.7.0 is out!

* Bug fix Limit on number of network miners
* Enhancement: hostname/system name of miner on login/lock page
* Updated miners with latest versions (Cgminer and Bfgminer)
* Updated Raspbian version to Jessie Debian release (You need to flash your SD Card read more below)
* Removed all save buttons and introduced the new one-save-button
* Added reset logs button to clean up log system files (only Minera and miners)
* Added system info at lockscreen
* Changed Refresh button position (on top!)
* Introduced Ads in Minera (yes I know, you don't like)
* Introduced the Remove Ads button (only 0.01 Btc for system forever, read more below)
* Lot of other small fixes/enhancement


Edit: 07 December 2015
Minera 0.6.2 is out!

* This is only a maintenance version to update the dead Ghash.io Multi pool with the LTC one.
* Updated Bfgminer to latest version (5.4.1)


Edit: 03 July 2015
Minera 0.6.1 is out!

* Fixed time donation for cgminer users
* Fixed Cgminer Dmaxl pool hashrate bug
* Added remember dashboard panels status collapsed or not
* Added dashboard panel settings enable/disable
* Removed any reference to MobileMiner (service was shut down read here)
* Added bitstamp rates Usd + Eur in mining profitability panel
* Fixed bug with update...shit! I'm sorry for this Sad


Edit: 17 June 2015
Minera 0.6.0 is out!

* Fixed various minor bugs
* Fixed altcoin data update
* Fixed change hostname
* Upgraded framework version (Codeigniter from 2.1.4 to 2.2.2)
* Fixed build script git clone
* Fixed export JSON bug
* Fixed dup labels in charts
* Added local pools dashboard actions (add/remove/select on the fly)
* Added default records per page setting
* Added factory reset
* Added general options (logs and json append) to manual local miner settings
* Added logs for custom miner softwares
* Added mining profitability box on dashboard
* Fixed sidebar scrolling
* Added sidebar dashboard icons/links
* Updated Minera system ID based on ethernet Mac Address
* Changed Minera username donation pool to reflect the Minera System ID
* Donation profit now got from live profit data
* Summer cleaning
* Added bower vendor packages
* Added Grunt task manager to build Minera files
* Added task for minify/uglify css/js
* Added environment configs
* Lock and sysop pages code rewritten
* Added CDNs for icon fonts (Awesome / Ionicons)
* Added Lighttpd conf to compress JSON calls and different mimetypes files (only on image build)
* Added script to install Minera on a non-Raspberry hardware


Edit: 10 April 2015
Minera 0.5.0 is out!

* Ability to add network miners like Antminer, Rockminer, etc…
* Ability to add other remote Minera system as network miner (this works only if the network Minera uses bfgminer/cgminer as local miner, doesn't work for cpuminer)
* Automatically scan the LAN network to discover network miners
* Add/Remove/Select pools on the fly for network miners
* New network miners widgets
* Fixed change web password
* Fixed wrong current pool in Mobileminer
* Ability to change system hostname from settings page
* Ability to change system user password from settings page
* Added option to not append the JSON conf file to the local miner command
* Added Eur/Usd BTC rates
* Added errors from log file if miner won’t start
* Restyled dashboard page when local miner isn't running (now it shows other info also if miner is stopped or it won't start)
* Added network miners to Mobileminers (you will have a new miner system for every network miner you have)
* Updated Built-in local miners to the latest version
* Added fix for libusb library
* Added preconfigured miner options (I added several pre-configured options to the settings page so newbies have everything ready to start)
* Rewrote of topbar widgets now visible on every pages
* Fixed focus event on Firefox (duplicate table rows on page reload)
* Updated jQuery
* Lots of code rewrite


Edit: 28 February 2015
Minera 0.4.1 is out!

* Added pool proxy setup
* Added Github star button
* Added algo info to the stats
* Added auto switch donation pool based on algo (you can now donate mining time in SHA-256 too)
* Fix sending empty stats to mobileminer
* Pools bug fix
* New Minera image with Raspberry PI 2 support (Please refer to this wiki page if you are updating via web)


Edit: 22 December 2014
Minera 0.4.0 is out!

* Fixed security hole
* Fixed MHz bug
* Fixed simultaneous pool issue
* Recoded Mobileminer actions
* Improved security
* hashed web password
* Added Coinbase donation buttons
* Ability to add custom miners
* Skin selection (black/blue)
* New blue skin
* Minor fixes


Edit: 16 October 2014
Minera 0.3.8 is out!

* Fixed big bug on minerStop method, it prevented every miner excluding cpuminer from stopping
* Updated Bfgminer/Cgminer to latest versions


Edit: 10 October 2014
Minera 0.3.7 is out!

* Fixed MobileMiner SHA256 bug
* Updated Bfgminer/Cgminer to latest versions


Edit: 29 September 2014
Minera 0.3.6 is out!

* Updated miner binary files
* Small fixes
* Added script to build miner


Edit: 19 August 2014
Minera 0.3.5 is out!

* Added switcher instead checkbox
* Added export/import complete system settings
* Added save/load/share miner configs
* Fixed issue with cgminerStartupScript
* Updated BfGminer to 4.7.0 and CGminer to latest commit
* Added fixed header
* Many minor bug fixes


Edit: 03 August 2014
Minera 0.3.4 is out!

* Fixed big bug causing saved data lost if reboot, now each saves have a Redis BGSAVE included to persist the data in the disk immediately
* Added ability to start the miner process as superuser/root instead the minera one, this could be useful for some kind of devices that need access special stuff in the system
* Updated Bfgminer to 4.6.0-6-g8f60a5f and Cgminer to 4.5.0


Edit: 29 July 2014
Minera 0.3.3 is out!

* This release just updates Bfgminer and Cgminer to their latest relative versions.
* Reverted Cgminer Dmaxl Zeus fork to support Zeus & Gridseeds (Note, there are known bugs: https://github.com/dmaxl/cgminer/issues/17 - https://github.com/dmaxl/cgminer/issues/15)


Edit: 21 July 2014
Minera 0.3.2 is out!

* Added MobileMiner actions start,stop,restart,switch
* Added send anonymous stats
* Added temp/freq when available
* Fixed logging with cgminer and forks
* Fixed pool hashrate dmaxl
* Updated Bfgminer and Cgminer-Dmaxl to latest versions
* Added reset buttons
* Many bugs fixed


Edit: 15 July 2014
Minera 0.3.1 is out!

* Several bugs fixed after 0.3.0 release
* Added web terminal window to login into the system directly from the dashboard


Edit: 14 July 2014
Minera 0.3.0 is out!

* Added miner software switcher
* Included CPUminer, CGminer, BFGminer, CGminer Dmaxl Zeus fork
* Added scheduled event (reboot/restart)
* Added ajax methods for save settings and miner actions
* Various bug fixes

Refer to this post


Edit: 04 July 2014
Minera 0.2.3 is out!

* Added digital clock
* Fixed Cryptsy timeouts
* Added pool donation remove button
* Changed frequency step from 5 to 1
* Fixed display devices legend
* Added avg stats 1min,5min,1hour,1day
* Added charts hourly,daily,monthly,yearly
* Added average stats badge
* Various bug fixes



Edit: 16 June 2014
Minera 0.2.2 is out!

* Added donations time based
* Added temperature scales C°/F°
* Added sortable box for touch devices too
* Added earnings calculator to the dashboard
* Increasead altcoins to 5
* Added lockscreen autofocus
* Javascript code rewriting may be fixed datatable random issue (?)
* PHP code rewriting to add BFGMiner/CGMiner support
* Added credits in README
* Various fixes



Edit: 11 June 2014
Minera 0.2.1 is out!

* Added custom altcoins rates (go to settings and choose your preferred ones, max 3)
* Added autorestart if there are X devices possible dead (go to settings and enable it, if X devices won't send shares for over than 10 minutes miner will be restarted)
* Added fixed Minera donation pool (Don't panic! This doesn't mean there is a Minera "fee", you can still add as many pools as you want and keep the minera's one for last)
* Removed url pool check when adding a new one (you can put any string you want as Pool url)
* Added system uptime
* only on fresh install - Added wicd-curses package to easily manage WiFi cards (if you wanna have it just run: sudo apt-get install wicd-curses)



Screenshots:

Dashboard:



Charts:



Settings:



Happy mining!
Pages:
Jump to: