No internet connection
  1. Home
  2. Technical Support

Error when updating from 2.4.0 to 2.4.1

By Track @trackoid
    2022-05-27 16:07:44.568Z2022-05-30 19:12:28.936Z

    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.

    • 7 replies
    1. Diego @diego
        2022-05-27 21:19:59.807Z

        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
        
        1. T
          In reply totrackoid:
          Track @trackoid
            2022-05-28 03:36:30.606Z

            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

            1. Diego @diego
                2022-05-30 20:44:50.556Z

                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.

                1. TTrack @trackoid
                    2022-05-30 21:16:39.064Z

                    Thanks. Just did a factory reset and it's all good. This can be closed off now.

                2. F
                  In reply totrackoid:
                  Don Eitner @FreihEitner
                    2022-06-01 02:10:17.052Z

                    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.

                    1. Diego @diego
                        2022-06-01 14:40:19.183Z

                        Hi @FreihEitner - Was your error similar to the one @trackoid saw? i.e. fatal: write error: No space left on device

                        1. FDon Eitner @FreihEitner
                            2022-06-01 15:37:11.386Z

                            I did not try the sudo command -- I had SSH access disabled on my device at the time under the security tab.