Unable to update Tinypilot Voyager 2a to 2.6.5
- @david
Hello I am getting an error while attempting to update my Tinypilot
https://logs.tinypilotkvm.com/cYsdIGaH
First line has this: The update failed: Command '['sudo', '/opt/tinypilot-privileged/scripts/update']' returned non-zero exit status 60.
Any recommendations. I do not want to reflash can this be done by ssh?
- David @david2024-10-28 12:15:08.289Z
Hi @srdoniger, I'm sorry you're unable to update your TinyPilot's software.
Thanks for sharing those logs! The logs are showing symptoms of filesystem corruption (they're missing significant amounts of information, suggesting that some files are missing) which might explain why your software isn't updating.
I do not want to reflash can this be done by ssh?
The usual solution here is to perform a re-flash, but we might be able to re-install via SSH to get your device back up and running.
Please be aware that the following process may not work if the filesystem corruption is too severe. We don't know the extent of the corruption or exactly which files are missing, so it's possible that the system isn't recoverable. If the following process does work, I would only consider it a temporary solution while you make plans to properly resolve the underlying issue.
First, visit the TinyPilot Pro download page, verify your license details, and locate the instructions for a command line installation. Don't run the commands just yet - you'll need to uninstall the TinyPilot software first.
SSH into your TinyPilot and run the following command to uninstall the current TinyPilot software:
sudo apt remove --yes tinypilot && \ sudo apt remove --yes ustreamer
Now follow the command-line installation instructions from the download page to re-install TinyPilot Pro.
Once the installation completes, you should be able to start using your TinyPilot device as normal.
If re-installing TinyPilot Pro gets you back up and running, I'd recommend enabling TinyPilot's read-only filesystem to help prolong the life of your microSD card a bit more.
I would also recommend re-flashing your TinyPilot's microSD at some point in the future when you get the chance.
I hope that helps! Please let me know if you have any questions.