Closed jcherney closed 6 years ago
I would log in with ssh from another system and look at the log files. If you run windows you may have to install a ssh client. This also assumes you have ssh enabled on the pi. It is a very useful tool for remotely logging in to a linux system.
Nothing related to networking changed so my guess is that something may have gone wrong reloading the software so the web server is not loaded.
If you don't have ssh enabled on the pi then you can enabled by running
sudo raspi-config
Then select Interfacing Options from the menu.
Windows SSH clients: https://www.ssh.com/ssh/client
it is built in on a Mac and linux
I have putty installed.
look at these three files:
/var/log/genmon.log /var/log/genserv.log /var/log/genloader.log
You can display them to the console by typing
cat /var/log/genmon.log
The genloader seems to be showing an error. Error check system readiness. Exiting.
Also, Error in CHeck system: global name "line" is not defined : genloader.py:117
reran cat /var/log/genmon.log and now only shows log to 2018-09-09 and version v1.9.42
Trying to rerun the logs and it's showing permission denied.
I checked in an updated genloader.py that corrected the error line 117.
the genloader program checks to see if the required libraries are installed. The bug was in the line that logs the error to file.
I would recommend this:
update to the latest with this command line:
sudo bash ./genmonmaint.sh update
Then restart the software with this command.
sudo bash ./startgenmon.sh restart
One the restart, genmonloader.py should attempt to install the missing library, then it will start genmon.
Let me know if you have any problems.
the update commant shows no such file or directory
command
Looking at your code (and I am no coder!), should it read .......updategenmon instead of update?
you you first log in with ssh you need to change directories to the genmon directory:
cd genmon
sudo bash ./genmonmaint.sh update
sudo bash ./startgenmon.sh restart
I made and assumption that this was know since this is where all of the project files are located. Let me know if you still have an issue.
Thanks. Sorry, I only know enough to get myself in trouble! I’ll do this when I get home.
Got 2 errors while loading: warning required library pyowm not installed attempting to install.... and same with pytz not installed. Not sure if they installed or not.
if you did not get another warning about the library failing to install then everything went as expected. The warning is just to let you know that the libraries were missing and an attempt is made to correct this.
Are you able to load the software and view the web interface now? if not does the file /var/log/genserv.log have any errors?
The web interface is now loading. Its acting a bit strangely though. Seems to take forever to load (it does load), and won't load at all on my Iphone as it did before. Not sure what this has to do w the original problem if at all.
Thank you for the update!
After I typed the above, it's now loading on my phone. Don't know why the holdup, but its working. Thanks for your help!
ok. No problem, glad it is working. I will close this issue.
Upgraded to 1.10 tonight, and could not reconnect. I restarted the PI by disconnecting/reconnecting the power but no change. I can ping the ip address so the wifi is working.
Thoughts??