WebODM problem

Hello I am using Linux Ubuntu 20.04 and get this problem when I try to run WebODM:

[~/WebODM$ ./webodm.sh restart
Checking for docker… OK
Checking for docker-compose… OK
Restarting WebODM…
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml -f docker-compose.nodemicmac.yml down --remove-rphans cannot update snap namespace: cannot create symlink in “/etc/docker”: existing file in the way
snap-update-ns failed with code 1]

I really don’t know what is doing it and hope someone knows the problem and an easy fix :smiley:

Best regard

Gunnar

1 Like

Hmm…

Is your user part of the docker group?

Can you run ./webodm.sh restart as root with su/sudo/doas?

Hello I acutely forgot to use sudo. I see that there are no SSL, and I checked out youtube where lot of video show how to set up NGINX Docker container and one video is about 59 min [How to Run Nginx Docker Container? 🐳 (SSL | Ubuntu 20.04 | AWS | EC2 | ECR) - YouTube], so it a lot to set my mind into and I am not sure if that is what I need to do. If it is I will do :slight_smile:

[ [email protected]:~/WebODM$ sudo ./webodm.sh start
Checking for docker… OK
Checking for docker-compose… OK
Starting WebODM…

Using the following environment:

Host: localhost
Port: 8000
Media directory: appmedia
SSL: NO
SSL key:
SSL certificate:
SSL insecure port redirect: 80
Celery Broker: redis://broker
Default Nodes: 1

Make sure to issue a ./webodm.sh down if you decide to change the environment.

docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml up --scale node-odm=1
cannot update snap namespace: cannot create symlink in “/etc/docker”: existing file in the way
snap-update-ns failed with code 1 ]

The next come when I use sudo ./webodm.sh restart.

[[email protected]:~/WebODM$ sudo ./webodm.sh restart
[sudo] passord for gunnar:
Checking for docker… OK
Checking for docker-compose… OK
Restarting WebODM…
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml -f docker-compose.nodemicmac.yml down --remove-orphans
cannot update snap namespace: cannot create symlink in “/etc/docker”: existing file in the way
snap-update-ns failed with code 1
]

May be that I am not part of the docker group.

I got to images: ubuntu and hello world
System info shows:

[[email protected]:~$ sudo docker info
Client:
Context: default
Debug Mode: false
Plugins:
scan: Docker Scan (Docker Inc., v0.8.0)

Server:
Containers: 4
Running: 0
Paused: 0
Stopped: 4
Images: 2
Server Version: 20.10.7
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version:
init version:
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.11.0-44-generic
Operating System: Ubuntu 20.04.3 LTS
OSType: linux
Architecture: x86_64

Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
]

1 Like

I feel there are an missing link I just don’t know where it could bee :slight_smile:

Thanks by the way for fast answer :smiley:

Best regards

Gunnar

1 Like

What is the output of:
id gunnar ?

Also, this looks like it has worked for others to repair snap/docker:

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