No internet connection
  1. Home
  2. General

virtual media upload failing

By @bsavage
    2021-11-18 16:06:12.342Z

    Is there a way to sftp the virtual images to the tinypilot? they keep failing to upload when i try to upload from my laptop via the web interface

    • 1 replies
    1. Thanks for reporting this!

      Can you share the logs from System > Logs after you get the failure? Is it possible that you're running out of disk space?

      As a workaround, you can copy the file manually like this:

      IMAGE_FILE="debian-11.1.0-amd64-netinst.iso" # replace with your image file
      scp "${IMAGE_FILE}" pilot@tinypilot:/tmp/
      

      And then SSH in and move them to the virtual storage file location:

      IMAGE_FILE="debian-11.1.0-amd64-netinst.iso" # replace with your image file
      sudo mv "/tmp/${IMAGE_FILE}" /home/tinypilot/mass-storage/backing-files/ && \
        sudo chown -R tinypilot:tinypilot /home/tinypilot/mass-storage/backing-files/ && \
        sudo chgrp 600 /home/tinypilot/mass-storage/backing-files/*