Error when updating from 2.4.0 to 2.4.1
In the UI, it shows error:
The update failed: Command '['sudo', '/opt/tinypilot-privileged/update']' returned non-zero exit status 128.
In SSH, when I run this command, I get this error:
pilot@tinypilot:~/ngrok $ sudo /opt/tinypilot-privileged/update
+ set -u
+ set -e
++ mktemp -d
+ cd /tmp/tmp.3UxCDOTjT5
+ git clone [redacted] .
Cloning into '.'...
remote: Azure Repos
remote: Found 6642 objects to send. (1259 ms)
fatal: write error: No space left on deviceB | 5.41 MiB/s
fatal: index-pack failed
Says no space left...but that can't be? It's a voyager 2, barely 3 weeks old. Help appreciated. Thanks.
- Diego @diego
Hello @trackoid! Welcome to the Forum and thank you for posting your question here.
I'm sorry you are having this issue. Would it be possible for you to upload logs for me to review? This is how you would upload them: TinyPilot web interface > System > Logs > Get Shareable URL (copy the URL it will give you and paste it in your response).
Additionally, if you could please run the following command, it will report the top 20 directories, by size (again, copy the URL it will give you and paste it in your response):
sudo du -h / | sort -rh | head -20 | \ curl -F '_=<-' https://logs.tinypilotkvm.com
- TIn reply totrackoid⬆:Track @trackoid
Here are the links:
Log URL from the TinyPilot Web Interface: https://logs.tinypilotkvm.com/Ge9Vmr8z
URL from the command: http://logs.tinypilotkvm.com/VnYuDOhR
- Diego @diego
Hi @trackoid - Unfortunately the logs are not helpful at all. I am unable to determine what's going on. I'm sorry I didn't ask for this at first: please run the following, and reply back with the URL it will give you.
(df -h; echo; df -ih) | \ curl -F '_=<-' https://logs.tinypilotkvm.com
Something is using the space and/or the inodes. Have you installed any additional software that may be causing issues? If so, try rebooting the TinyPilot; that might help as
/tmp
will be cleared.As a last resource, you might want to consider performing a factory reset, which will bring you to 2.4.1. The downside of doing this is you will lose any configurations you have made so far, but if that doesn't bother you, then it is an option to consider.
- TTrack @trackoid
Thanks. Just did a factory reset and it's all good. This can be closed off now.
- FIn reply totrackoid⬆:Don Eitner @FreihEitner
For the record, I also had an error upgrading 2.4.0 to 2.4.1, but I resolved it already by flashing 2.4.1 (using Rufus I believe) onto my microSD card on a Windows PC.
- Diego @diego
Hi @FreihEitner - Was your error similar to the one @trackoid saw? i.e.
fatal: write error: No space left on device
- FDon Eitner @FreihEitner
I did not try the sudo command -- I had SSH access disabled on my device at the time under the security tab.