Issues after upgrade
- @cghague
Hello everyone,
On my TinyPilot Voyager 2a I've got essentially the same issues after upgrading from 2.6.3 to 2.6.4 that were reported in TinyPilot returns 404 after update - after running the update, nginx shows me the "tinypilot isn't running" screen with steps to fix. I logged in with SSH and tried the suggestions to no avail, so I purged the TinyPilot package from the system with "apt --purge remove tinypilot", and then reinstalled with "curl -L https://tinypilotkvm.com/pro/install.sh | sh". Now the TinyPilot page comes up as expected, except instead of seeing the remote screen I've got a little broken image in the top center of where I expect the video feed to be. Any ideas on how to fix this short of doing a factory reset? I have a complicated networking situation and no easy DHCP solution where I am, so doing a factory reset will be very complicated, and it feels like I'm close to having this working as is.
Image of the broken image image:
Thanks so much in advance if someone can point me in the right direction!
Brian
- CCharles Hague @cghague2024-07-02 21:42:10.487Z
Hi @zeroday, thanks for your message. I'm sorry you're having problems after upgrading.
There could be several reasons for this issue, so we must investigate. I appreciate it may sound obvious, but could you please try forcing a page refresh (you can usually do this by pressing Ctrl+F5 or, if you're on a Mac, Cmd+R)?
If the forced refresh doesn't help, can you please send me a link to your debug logs? You can do this by going to System, then Logs, then Get Shareable URL.
Yeah a reload didn't change anything, and going from a different browser didn't either. Here are the logs:
Possibly it is related to this guy:
Jul 03 15:05:56 boomerang-tinypilot python[2517]: /opt/tinypilot-privileged/scripts/collect-debug-logs: line 74: /opt/ustreamer/ustreamer: Permission denied
So I took a look at /opt/ustreamer/bin/ustreamer and for some reason it's a tiny gzip of web logs. That seems suboptimal.
- CCharles Hague @cghague2024-07-04 00:06:22.223Z
Thanks for getting back to me! I appreciate you trying the refresh and a different browser; we've occasionally seen situations where the video stream needs encouragement to reconnect after an update, so it's usually worth a try!
I've reviewed the logs you provided. The unusual errors and the details you shared suggest there may be filesystem corruption. We'd generally recommend a factory reset, but I understand you'd prefer to avoid that.
As you have access to the TinyPilot device over SSH, you may be able to fix the issue by forcing a complete reinstallation of TinyPilot. Can you please run the command below, enter your order details on our download page, and follow the instructions for a command-line install?
sudo apt --purge remove tinypilot ustreamer
It's important to note that if the filesystem is corrupted, other issues may be present. So, even if this solution works, you should still aim to complete a factory reset as soon as possible.