Updating to latest release of WebODM


#1

Trying to update to the latest release (Today) of WebODM . I get an error, did it update or not?

WebODM$ sudo ./webodm.sh update
Updating WebODM…
git pull origin master
From https://github.com/OpenDroneMap/WebODM

  • branch master -> FETCH_HEAD
    Updating b5f98ae…e83a7f7
    error: Your local changes to the following files would be overwritten by merge:
    docker-compose.yml
    Please commit your changes or stash them before you merge.
    Aborting

Also is there an easy way to check the current version of webodm installed? something like ./webodm sh version?

How can I see if I’m on 0.4? It would be nice if the website interface said something at the bottom.

Thank you.


#2

I’ve added a feature request on https://github.com/OpenDroneMap/WebODM/issues/519 to address this issue.

You can look at the output of git log to find out if you have the latest changes.

In your case it looks like you’ve changed something in your docker-compose.yml file, so WebODM failed to automatically update. You might want to do a git commit -a -m "Changed docker-compose" before ./webodm.sh update.


#3

Hello,
I have just updated my installation on a Ubuntu 16.04 server with
./webodm.sh update
and everything seemed to work correctly.
How can I recognize my currently installed version of ODM and WebODM? Is there a command or a release note that I haven’t discovered yet?
Greeting Sven


#4

Piero, I get an error when running the git commit command: git log
fatal: not a git repository (or any of the parent directories): .git

Running this on Ubuntu 18.

I also get an error when trying to run git log.

Instead I run " docker run --rm --entrypoint cat opendronemap/node-opendronemap /code/VERSION
" from another one of your posts, and that worked.

My docker compose.yml has been change to account for a TCP Port change. I wanted the standard port 80, instead of the 8000. Is there another way to update without using GIT, as it looks like I dont have it/needed for my current installation?.

Thank you.