WebODM icon indicating copy to clipboard operation
WebODM copied to clipboard

[Improvement] UX warn users when disk space is low, stop processing

Open pierotofy opened this issue 6 years ago • 5 comments

An upload will fail with a less useful "186 files cannot be uploaded. As a reminder, only images (.jpg, .png) and GCP files (.txt) can be uploaded. Try again." message, whereas the problem is lack of disk space.

pierotofy avatar Feb 03 '19 16:02 pierotofy

Following on from this warning, would it be possible to have WebODM gracefully abort processing when disk space on the volume it is installed on drops to 10% free?

Something like that would have prevented the user here from filling their disk:
https://community.opendronemap.org/t/se-llena-disco-al-100-bloquea-linux/7722?u=saijin_naib

Saijin-Naib avatar Jun 09 '21 19:06 Saijin-Naib

It might be possible to add this in NodeODM. I don't think it's as straightforward though (and is imperfect, since disk space might be fine during processing, but might fill past 100% when WebODM downloads a copy of the assets).

pierotofy avatar Jun 09 '21 19:06 pierotofy

It might be possible to add this in NodeODM. I don't think it's as straightforward though (and is imperfect, since disk space might be fine during processing, but might fill past 100% when WebODM downloads a copy of the assets).

Yeah, that sounds like a tough thing to manage. Should I open an issue in NodeODM to track this?

Saijin-Naib avatar Jun 09 '21 20:06 Saijin-Naib

I think we can include this in the scope of this existing issue (#615), so no need. Thanks!

pierotofy avatar Jun 09 '21 23:06 pierotofy

Worst case scenario is when files can be uploaded, but when processing the files the disk is filled up (which crashes WebODM and prevents a user to delete any files without trying to access the VM manually).

Also, maybe you could add a hint to the installation guide on how to increase the VM Size. Because i spent 3 days trying to increase it until i found you can add --virtualbox-disk-size "300000" in C:\Program Files\Docker Toolbox\start.sh line 69

20GB default size is good for a test run, but allows no more then ~300 images

Big thanks to all of you for this nice peace of software!!!

CrazyFluffyPony avatar Nov 04 '22 22:11 CrazyFluffyPony