Closed tezztuzer closed 2 years ago
Rebooting is instructed in the changelog to complete the upgrade. You do not need to reset the password, just reboot.
As for your second upgrade that was not successful, did you review the upgrade log?
Hi,
The upgrade.log file from the failed upgrade ends with " [2022-03-29 11:55:11] #### Executing post-alembic script" . It just looks normal but ends abruptly there. The upgrade.log file from the successful upgrade continues with "[2022-03-29 11:31:26] Found revision IDs to execute code: ['b354722c9b8b']" etc.
I've attached the mycodoupgrade.log file in case needed.
Thanks.
How long did you give it to complete the upgrade before rebooting? You may have interrupted the upgrade.
Approximately 5 minutes I would say...Ok then I will re'install mycodo to get it back in working state. Thanks and have a great day!
You most likely interrupted the upgrade. 5 minutes is not a lot of time. You don't need to reinstall. See if this command fixes whatever issue it has:
sudo ~/Mycodo/mycodo/scripts/upgrade_post.sh
That solved the issue.
Thank you
Hi,
Thank you for mycodo! Great software! I have two raspberry pi's running at different locations and wanted to upgrade them to the latest version 8.13.1. The previously installed mycodo version was v8.12.9 The upgrade completed successfully but after the upgrade, for both pi's the previously setup username/password combination didn't worked any more. I managed to reset the password via the file. After loging in, both rasbperry pi's returned the following error:
One raspberry pi was rebooted and that solved the issue. Unfortunately for the second raspberry pi reboot (multiple times) didn't helped.
journalctl output:
I don't have physical, only remote access to the affected raspberry, Could this be fixed easily or better re-install mycodo?
Thank you.