virtual media upload failing
By @bsavage
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
- Michael Lynch @michael2021-11-18 19:30:29.361Z
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/*