- @cghague
I can still get into the device via SSH, but the web interface is only returning a 404 screen.
I have tried restarting the tinypilot service vis SSH, which didn't help. Reboot doesn't help either.
Checking the tinypilot service status via SSH several times in a row, it appears that the service is starting and stopping on its own.
What should I do?
Linked from:
- @fft2024-03-14 08:18:34.547Z
Hi,
I personally would do a factory resethttps://tinypilotkvm.com/faq/factory-reset
if the TinyPilot is accessable for you.
Thanks
Juergen - In reply toherbdierks⬆:David @david2024-03-14 12:05:00.317Z
Hi @herbdierks, I'm sorry you're running into this 404 issue.
Typically, this issue points towards filesystem corruption on your SD card (likely because of missing files). Like Juergen mentioned, a factory reset is the quickest way to get back up and running.
If you'd like, I can review a TinyPilot log to see if there's anything else that could be causing this issue. Could you connect to your TinyPilot via
ssh
and run the following command to generate a log and a sharable URL:sudo /opt/tinypilot-privileged/collect-debug-logs
Please let me know if you have any questions.
- H@herbdierks
Log files here:
http://logs.tinypilotkvm.com/QowSZUjeThe device is in a data center, so I'm trying to repair this remotely if possible.
On the TinyPilot image download page, I tried Option 2 (running "curl -L https://tinypilotkvm.com/pro/install.sh | sh") which didn't help. At the end of the script it said that it didn't find anything to update:
0 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.
Anything else I can try remotely? Or is my next move driving out to the data center to flash the microSD?
I appreciate the quick response - and really like the TinyPilot, other than this little hiccup!
- CCharles Hague @cghague2024-03-14 22:14:59.529Z
Hi @herbdierks, thanks for getting back to us!
I've reviewed the logs and see that part of the TinyPilot installation is missing from your device. You may be able to force a complete reinstallation by running the following command to thoroughly purge the old installation before trying to reinstall again:
sudo apt --purge remove tinypilot
Unfortunately, even if this works, there may still be corruption in other locations on the microSD card, so I recommend performing a factory reset as soon as possible. I appreciate this is a hassle, so you may want to consider enabling the read-only filesystem after the reset, as that drastically reduces the chances of corruption occurring.
- H@herbdierks
That worked! Thank you so much!
The next time I'm in the data center, I'll plan on flashing to SD card for good measure. Thanks for the quick and helpful response!
- BIn reply toherbdierks⬆:@binary01
I ran into the same issue after a power outage. Removing and reinstalling as instructed fixed it however the video screen would still not load. I had to also remove ustreamer via "sudo apt --purge remove ustreamer"
and reinstall TinyPilot once more and then everything worked again. I will be sure to put my SD card in read-only mode to prevent this from happening again.- CCharles Hague @cghague2024-06-28 23:38:00.090Z
Hi @binary01, thanks for sharing your findings with us! I recommend performing a full factory reset when convenient, as that should ensure your TinyPilot device is as stable as possible. In the meantime, I'm pleased to hear you're back up and running!