Question

Dropbox custom images don't work on DigitalOcean

Posted March 17, 2021 614 views
Custom ImagesDigitalOcean Droplets

so I try to install a custom operating system on my droplet but I notice that I cant upload .iso files and then I see the “custom images” section with the support of .vmdk and I tried Mega but it didn’t work and I saw that it says dropbox works! and so I try to upload it using dropbox https://www.dropbox.com/s/4u50g4p4mrkip8b/Bliss-OS.vmdk and it tried to upload it cause it said “pending..” and then a popup appeared saying this…

“We don’t support the format of your image. please try again with a supported image format (raw, qcow2, vdi, vhdx, "OR” vmdk).“

WOW they said dropbox would work but IT DIDNT WTFFFFFF

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi,

To upload a custom image you must provide a direct link to its file. Your link does not meet this requirement. To check it, run following command (I am assuming that you are running some Linux OS):

curl -O https://www.dropbox.com/s/4u50g4p4mrkip8b/Bliss-OS.vmdk

Downloading process will be finished quickly. Then, check file’s size:

ls -l Bliss-OS.vmdk

You will get output like that:

Output
-rw-rw-r--. 1 user user 138 Mar 18 22:03 Bliss-OS.vmdk

Your image file’s size is 138 bytes. Look what it contains:

cat Bliss-OS.vmdk

Here is the result:

Output
301 Moved Permanently The resource has been moved to /s/raw/4u50g4p4mrkip8b/Bliss-OS.vmdk; you should be redirected automatically.

As you can see, it is not a direct link to an OS custom image file.
For comparison (and for a test) you can try to download VirtualBox OS image using following direct link:

curl -O https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.vmdk

Again, the file will be downloaded to your current directory. If you check its size, you will see it is 514MB, what seems to be OK for Linux distro image file. You can use this link to upload an image to your DO account. It will work.