jgyates / genmon

Generac (and other models) Generator Monitoring using a Raspberry Pi and WiFi
GNU General Public License v2.0
385 stars 79 forks source link

Web update was not successful #1070

Closed hokie21 closed 8 months ago

hokie21 commented 8 months ago

Steps to Reproduce

I ran a web update with current version V1.18.14 and expected new version v1.19.02. Everything appeared to be fine. No errors were shown during the update process.

Expected Result

Current version: V1.19.02

Actual Result

Following the unsuccessful update, the current version is shown as V1.18.14 on the about web page. I then tried to run bash .genmonmaint.sh update from the SSH command line. This script gives me just a prompt with nothing else shown. No error was shown, but no text from the script was shown either. startgenmon.sh works just fine to start or stop genmon. Should I just reload everything and start over?

Version Info

current version V1.18.14 and expected new version v1.19.02.

Logs

genmon_logs (2).tar.gz

jgyates commented 8 months ago

Have you ever updated genmon successfully before? If you did not install per the wiki instructions then the upgrade process will not work.

You mentioned a prompt when running genmonmaint.sh, can you provide more details or a screen shot? I don't have enough info to provide any suggestions.

jgyates commented 8 months ago

If you did not use the 'git' command to install, then the upgrade will not work

https://github.com/jgyates/genmon/wiki/3.3--Setup-genmon-software

hokie21 commented 8 months ago

I've updated it in the past. I was able to look at the "history" command and I confirmed that I did use the git command for the installation. Here is what I see when I run genmonmaint.sh.

image

jgyates commented 8 months ago

Try this:

 bash ./genmonmaint.sh -u
jgyates commented 8 months ago

Once you update then you must restart genmon like this.

bash ./strartgenmon.sh restart
hokie21 commented 8 months ago

That fixed it. Thank you!