getminera / minera

Minera is a web interface to monitor and manage mining devices
http://getminera.com
Other
374 stars 156 forks source link

Error 500 #162

Closed Ayo91 closed 7 years ago

Ayo91 commented 7 years ago

I try to access to the minera web interface and the browser shows this message...

screen

However, I can access by ssh. The /minera/index.php/app/stats url shows this: { notloggedin: true }

Any idea? Where are the error logs?

Thanks

Ayo91 commented 7 years ago

I found a log file in this directory: /var/log/minera

This is the content (I change the .php extension to .txt):

log-2017-04-30.txt

michelem09 commented 7 years ago

mmm for the error 500 you should check the web server logs.

For the errors in log check you have php-crypto installed, then please tell me how you installed Minera, did you install it manually? On what system?

Ayo91 commented 7 years ago

I have installed Minera in a Rasberry pi B+ with the auto install process as you recommended (Image file v0.7.0). I downloaded the last version and then I upgraded by console

michelem09 commented 7 years ago

So did you flash the SD card with the image file? Could you do this again without doing anything else after it? And please on the current install check (and paste) the output of this command:

dpkg -l | grep php

Ayo91 commented 7 years ago

Yeah I flashed the SD card with the last image file. Ok, I will do that. I have done it three times because Minera stopped working. This time I wanted to solve the issue because each time that I reinstall, I have to configure everyhing again.

Ok, after work I will paste here the result of the command.

Thanks

Ayo91 commented 7 years ago

Hello. This is the screenshot of the command dpkg -l | grep php (before reinstall Minera again).

command

Any solution before reinstall Minera? Thanks

michelem09 commented 7 years ago

That's really weird. Unfortunately you have to reinstall from the image. Then please update only the code with:

cd /var/www/minera
sudo git fetch --all && sudo git reset --hard origin/master

And let me know. Thanks

Ayo91 commented 7 years ago

With the reset everything works. Thanks so much!