When updating from the UI. Clicking settings>update does tell me an update is available, clicking the green Update button returns this error in a red box:
Failed to start update
Error:
500 Internal Server ErrorInternal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Debug logs: https://logs.tinypilotkvm.com/PnShbO3n
- In reply toThe_J⬆:Michael Lynch @michael2021-12-01 16:42:17.797Z
Thanks for reporting this!
The issue is here:
Dec 01 11:08:32 kvm1 python[665]: File "/opt/tinypilot/app/update.py", line 109, in _target_latest_version Dec 01 11:08:32 kvm1 python[665]: with open(update_settings.DEFAULT_SETTINGS_FILE_PATH) as settings_file: Dec 01 11:08:32 kvm1 python[665]: FileNotFoundError: [Errno 2] No such file or directory: '/home/tinypilot/settings.yml'
This is an old bug where the update would fail if the user hadn't configured any custom settings. We fixed this in the 2.2.0 release in May 2021, so the update should be significantly more robust now. We're continuing to work on it because I know any errors during upgrade are frustrating and degrade trust in the update process.