Bitcoin Forum
February 20, 2017, 10:54:09 PM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Poll
Question: Would you like to have a MobileMiner alternative?
Yes, please I absolutely need it!
Yes, but it's not a priority
Not sure, I'd prefer other features
No, I don't need it

Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 154 »
  Print  
Author Topic: [Minera v0.7.0] Your next mining dashboard - Networked/CPUminer/CGminer/BFGminer  (Read 627936 times)
michelem
Hero Member
*****
Offline Offline

Activity: 783



View Profile WWW
May 05, 2014, 02:14:18 PM
 #1

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/michelem09/minera

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.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.7.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/michelem09/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: 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!

Get Minera. Your next bitcoin mining dashboard. Donations BTC: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
1487631249
Hero Member
*
Offline Offline

Posts: 1487631249

View Profile Personal Message (Offline)

Ignore
1487631249
Reply with quote  #2

1487631249
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1487631249
Hero Member
*
Offline Offline

Posts: 1487631249

View Profile Personal Message (Offline)

Ignore
1487631249
Reply with quote  #2

1487631249
Report to moderator
1487631249
Hero Member
*
Offline Offline

Posts: 1487631249

View Profile Personal Message (Offline)

Ignore
1487631249
Reply with quote  #2

1487631249
Report to moderator
sandor111
Sr. Member
****
Offline Offline

Activity: 448


View Profile WWW
May 05, 2014, 02:26:31 PM
 #2

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.

BTC 1AMsjqzXQpRunxUmtn3xzQ5cMdhV7fmet2
michelem
Hero Member
*****
Offline Offline

Activity: 783



View Profile WWW
May 05, 2014, 04:56:35 PM
 #3

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.

Get Minera. Your next bitcoin mining dashboard. Donations BTC: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
toxic0n
Member
**
Offline Offline

Activity: 109


View Profile
May 05, 2014, 07:54:20 PM
 #4

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();


1ToxicssQH8c8v2XZKboryudYrvPy775z
Waffle Pool widget for Android     NiceHash widget for Android              Clevermining widget for Android
michelem
Hero Member
*****
Offline Offline

Activity: 783



View Profile WWW
May 05, 2014, 08:26:28 PM
 #5

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

Get Minera. Your next bitcoin mining dashboard. Donations BTC: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
toxic0n
Member
**
Offline Offline

Activity: 109


View Profile
May 05, 2014, 08:55:00 PM
 #6

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.

1ToxicssQH8c8v2XZKboryudYrvPy775z
Waffle Pool widget for Android     NiceHash widget for Android              Clevermining widget for Android
michelem
Hero Member
*****
Offline Offline

Activity: 783



View Profile WWW
May 05, 2014, 09:13:11 PM
 #7

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

Get Minera. Your next bitcoin mining dashboard. Donations BTC: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
SilentH
Member
**
Offline Offline

Activity: 65


View Profile
May 06, 2014, 12:33:19 AM
 #8

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.
michelem
Hero Member
*****
Offline Offline

Activity: 783



View Profile WWW
May 06, 2014, 06:40:13 AM
 #9

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 <yournewpass>

Get Minera. Your next bitcoin mining dashboard. Donations BTC: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
marunga
Newbie
*
Offline Offline

Activity: 17


View Profile
May 06, 2014, 09:34:50 PM
 #10

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
highwalker
Jr. Member
*
Offline Offline

Activity: 44


View Profile
May 06, 2014, 10:34:50 PM
 #11

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.
michelem
Hero Member
*****
Offline Offline

Activity: 783



View Profile WWW
May 06, 2014, 10:43:08 PM
 #12

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 /<minera path>/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 /<minera path>/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

Get Minera. Your next bitcoin mining dashboard. Donations BTC: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
michelem
Hero Member
*****
Offline Offline

Activity: 783



View Profile WWW
May 06, 2014, 10:49:58 PM
 #13

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!

Get Minera. Your next bitcoin mining dashboard. Donations BTC: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
edonkey
Legendary
*
Offline Offline

Activity: 1016



View Profile
May 07, 2014, 12:14:10 AM
 #14

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://bitcointalk.org/index.php?topic=577018.0

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...

Was I helpful?   BTC: 18wQtEDmhur2xAd3oE8qgrZbpCDeuMsdQW   LTC: LbqLtkZ6wTSpwHHuv1tG4J7tHajGdH5QFB   DOGE: D9R5ySAP2DARpxuNKd7hN7ANmqFiGwB9G6
sandor111
Sr. Member
****
Offline Offline

Activity: 448


View Profile WWW
May 07, 2014, 12:48:39 AM
 #15

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.

BTC 1AMsjqzXQpRunxUmtn3xzQ5cMdhV7fmet2
michelem
Hero Member
*****
Offline Offline

Activity: 783



View Profile WWW
May 07, 2014, 06:49:12 AM
 #16

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.

Get Minera. Your next bitcoin mining dashboard. Donations BTC: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
highwalker
Jr. Member
*
Offline Offline

Activity: 44


View Profile
May 07, 2014, 07:10:36 AM
 #17

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 /<minera path>/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 /<minera path>/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
michelem
Hero Member
*****
Offline Offline

Activity: 783



View Profile WWW
May 07, 2014, 07:22:32 AM
 #18

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 /<minera path>/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 /<minera path>/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.

Get Minera. Your next bitcoin mining dashboard. Donations BTC: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
marunga
Newbie
*
Offline Offline

Activity: 17


View Profile
May 07, 2014, 08:18:32 AM
 #19

Hello,

problem solved  Grin


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

rgds,
m
michelem
Hero Member
*****
Offline Offline

Activity: 783



View Profile WWW
May 07, 2014, 08:33:14 AM
 #20

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


Get Minera. Your next bitcoin mining dashboard. Donations BTC: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 154 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!