Webodm.sh rebuild fails

I have been using webodm for several years. My installation is a docker image on an ubuntu server. Recently I tried to process a large dataset, causing the server to run out of disk space and crash. I can now ssh into the server because I manually deleted some task directories inside the docker containers, which freed up enough space to get the server working again.

However, I cannot get webodm to start. Running webodm.sh rebuild stops with the following error:
opendronemap : Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/g/grass/grass-doc_7.8.5-1_all.deb Connection failed [IP: 91.189.88.142 80]

I am able to manually download the file on the host, leading me to believe that there’s a network issue with docker.
Can anyone provide some tips on how to resolve this?

Thanks

I assume you’ve done a git pull in the webodm directory to ensure the script and all other associated support files are fully up to date?

Yes, I did that.
I solved the issue by reinstalling some of the dependencies (python, maybe?)

But now think ODM is not liking that I went in and deleted some data directories. It keeps looping with the following error:

django.db.utils.OperationalError: FATAL: “base/16384” is not a valid data directory
worker | DETAIL: File “base/16384/PG_VERSION” is missing.

Is it possible and reasonable to rescue the installation or should I just scrap it?

1 Like

At this point, I think you might just end up chasing your tail around and around.

Are you able to start fully clean?

I am not clear with what you mean by this.

Can I afford to lose the data? I do have the important stuff backed up but I have had impressive results with re-running old footage with new ODM features, so that would be out …

Can I start WebODM without having it try to access existing tasks? I really don’t know how to do this without deleting all docker volumes.

1 Like

I do not think you can start WebODM without having it access pgsql backend…

For some reason, it looks like the Postgres database got severely corrupted.

Make a copy of your data volume. GitHub - OpenDroneMap/WebODM: User-friendly, commercial-grade software for processing aerial imagery. 🛩 so that you can save your processed results.

1 Like

docker run --rm --volume webodm_appmedia:/temp --volume pwd/backup:/backup ubuntu tar cvf /backup/appmedia.tar /temp

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.