No internet connection
  1. Home
  2. Technical Support

No video capture working, unable to update TinyPilot

By @The_J
    2021-12-01 16:12:59.087Z

    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 Error

    Internal 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

    Solved in post #2, click to view
    • 3 replies
    1. T
      @The_J
        2021-12-01 16:25:27.172Z

        It seems to be working with /opt/tinypilot/scripts/upgrade from shell. Will post the results on the web ui update if applicable after this update.

        ReplySolution
        1. In reply toThe_J:

          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.

          1. T@The_J
              2021-12-02 02:07:38.409Z

              Awesome, thanks!