When visiting the upgrade page or viewing the daemon log, you may see this error (end of the traceback):
File "/home/mycopitt/Mycodo/mycodo/mycodo_flask/routes_admin.py", line 534, in admin_upgrade
current_latest_major_version = current_latest_release.split('.')[0]
AttributeError: 'NoneType' object has no attribute 'split'
You can fix this issue with the following command:
sudo sed -i 's/v\.\*(\\d\\\.\\d\\\.\\d)/v(\\d+)\\\.(\\d+)\\\.\\d+/g' ~/Mycodo/mycodo/utils/github_release_info.py && sudo service mycodoflask restart
When visiting the upgrade page or viewing the daemon log, you may see this error (end of the traceback):
You can fix this issue with the following command:
sudo sed -i 's/v\.\*(\\d\\\.\\d\\\.\\d)/v(\\d+)\\\.(\\d+)\\\.\\d+/g' ~/Mycodo/mycodo/utils/github_release_info.py && sudo service mycodoflask restart