Post
Topic
Board Mining (Altcoins)
Re: [Minera] New web management system for Gridseed devices
by
Fizikal
on 14/05/2014, 19:05:14 UTC
Hi, first say i really want to try minera but in the last days i been trying to install minera in my distro ubuntu. but dont show me nothing!!


I follow the steps you give in github

Quote
sudo apt-get install lighttpd php5-cgi
sudo lighty-enable-mod fastcgi
sudo lighty-enable-mod fastcgi-php
sudo service lighttpd force-reload

after that

sudo apt-get install redis-server git screen php5-cli
cd /var/www
sudo git clone https://github.com/michelem09/minera
cd minera
sudo ./install_minera.sh

finally i replace the

cd /var/www/minera/minera-bin
sudo cp minerd-ubuntu-64bit miner


after i follow the link and put the password Minera

and the screen is blank


someone knows why??? i really want to minera.


i read about this but i didnt find nothing!!!

thanks

if you receive a blank page after entering the password on the web interface, check lighttpd's error log at /var/log/lighttpd/error.log Mine read a little something like this:

Code:
minera@robot:/var/log/lighttpd$ cat error.log
2014-05-14 11:39:41: (log.c.166) server started
2014-05-14 11:40:42: (server.c.1430) [note] graceful shutdown started
2014-05-14 11:40:42: (log.c.166) server started
2014-05-14 11:40:42: (server.c.1546) server stopped by UID = 0 PID = 5544
2014-05-14 11:41:00: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error:  Call to undefined function json_decode() in /var/www/minera/application/controllers/app.php on line 36
 
2014-05-14 11:41:04: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error:  Call to undefined function json_decode() in /var/www/minera/application/controllers/app.php on line 36
 
2014-05-14 11:54:18: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error:  Call to undefined function json_decode() in /var/www/minera/application/controllers/app.php on line 37
 
2014-05-14 11:54:20: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error:  Call to undefined function json_decode() in /var/www/minera/application/controllers/app.php on line 37
 
2014-05-14 11:54:27: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error:  Call to undefined function json_decode() in /var/www/minera/application/controllers/app.php on line 37
 
2014-05-14 13:14:25: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error:  Call to undefined function json_decode() in /var/www/minera/application/controllers/app.php on line 37
 
2014-05-14 13:19:47: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Fatal error:  Class 'CI_Controller' not found in /var/www/minera/application/controllers/unit.php on line 4

A little Google Search turned up the fact that I needed to install php5-json[/u]

Run:
Code:
sudo apt-get install php5-json
sudo service lighttpd force-reload
Reload http://your.ip.address.here/minera/index.php/app/dashboard, and it loaded. Albeit throwing another error about timezone, but I'll deal with that easily.

EDIT: The timezone issue was fixed!
Here is the output from the logs about the timezone issue:
Code:
ERROR - 2014-05-14 19:25:01 --> Severity: Warning  --> date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. /var/www/minera/system/libraries/Log.php 86
ERROR - 2014-05-14 19:25:01 --> Severity: Warning  --> date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. /var/www/minera/system/libraries/Log.php 99
ERROR - 2014-05-14 19:25:01 --> Stats stored as: {"timestamp":1400095501,"hashrate":0,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0}
ERROR - 2014-05-14 19:25:01 --> Severity: Warning  --> chmod(): Operation not permitted /var/www/minera/system/libraries/Log.php 106

Fixed it with:
Code:
sudo chmod +rwx' to /[minera_root]/system/libraries/Log.php