Update error

Hi
i am having an update issue, someone may be able to assist.

Running WebODM on Ubuntu with Docker.

When i try and update to use the latest version, which i am quite excited about due to the RTK update.

I am getting this error on the console.

adam@adam-Z68M-D2H:~/WebODM$ sudo ./webodm.sh update
*[sudo] password for adam: *
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml -f docker-compose.nodemicmac.yml down --remove-orphans
Stopping webapp … error
Stopping worker … error
Stopping broker … error
Stopping webodm_node-odm_1 … error
Stopping db … error

ERROR: for webapp cannot stop container: 2c5bae4b4e00959158e061ce53fe76544696b595d8fd6a9d696e5889793a6790: Cannot kill container 2c5bae4b4e00959158e061ce53fe76544696b595d8fd6a9d696e5889793a6790: unknown error after kill: runc did not terminate sucessfully: container_linux.go:388: signaling init process caused “permission denied”
: unknown
Removing network webodm_default
ERROR: error while removing network: network webodm_default id 5aa7847d667f955f2b315edd9e193dbed6b453af4ce2e8b4ece099236756de9c has active endpoints
adam@adam-Z68M-D2H:~/WebODM$

I am sure it is a simple fix but i am stumped.

thanks in advance for your assistance.

1 Like

Try this: ./webodm.sh down && ./webodm.sh update && ./webodm.sh restart

2 Likes

Thanks smathermather, i tried that and received the same error. see below.

adam@adam-Z68M-D2H:~/WebODM$ sudo ./webodm.sh down && ./webodm.sh update && ./webodm.sh restart
[sudo] password for adam:
Checking for docker… OK
Checking for git… OK
Checking for docker-compose… OK
Tearing down WebODM…
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml -f docker-compose.nodemicmac.yml down --remove-orphans
Stopping webapp … error
Stopping worker … error
Stopping broker … error
Stopping webodm_node-odm_1 … error
Stopping db … error

ERROR: for webapp cannot stop container: 2c5bae4b4e00959158e061ce53fe76544696b595d8fd6a9d696e5889793a6790: Cannot kill container 2c5bae4b4e00959158e061ce53fe76544696b595d8fd6a9d696e5889793a6790: unknown error after kill: runc did not terminate sucessfully: container_linux.go:388: signaling init process caused “permission denied”
: unknown
Removing network webodm_default
ERROR: error while removing network: network webodm_default id 5aa7847d667f955f2b315edd9e193dbed6b453af4ce2e8b4ece099236756de9c has active endpoints
adam@adam-Z68M-D2H:~/WebODM$

Solved by running sudo service docker restart prior to the sudo ./webodm.sh down && ./webodm.sh update && ./webodm.sh restart

thanks for your help guys, this is a great community.
Cheers
Adam

1 Like

What is the easiest way to check the update worked?