Stuck starting webODM while installing it in OpenSuSE Leap 42.3


#1

Hello,
I am new on WebODM and would like to try it. I am installing it on a 64bit ASUS box (16GB RAM / 4TB HDD) over OpenSuSE Leap 42.3.
I just added the Docker and Docker-compose packages with Yast. Git and Python were there already perhaps because I have QGIS running as well.

git clone https://github.com/OpenDroneMap/WebODM --config core.autocrlf=input went with no issues and I updated pip as the system recommended.

Docker-compose from the default repo produced a version error (v1.8.1). Checking the opensuse-built service, I found a more recent version (1.17.0-3.1) on a repo dedicated for Python and that error went away after updating. Check here

The process has not been difficult but now I am stuck while running /webodm.sh start with two errors that I have no clue how to solve them. Perhaps somebody can show me the path.

Below I copied the Terminal output
Many thanks!!!
Gian Paolo

OpenSuSE:/home/user/WebODM # ./webodm.sh start
Checking for docker… OK
Checking for git… OK
Checking for python… OK
Checking for pip… 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

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 start || docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml up
Starting db …
Starting node-odm-1 …
Starting broker …
Starting worker … error
Starting webapp … error

ERROR: for db (‘Connection aborted.’, error(2, ‘No such file or directory’))

ERROR: for node-odm-1 (‘Connection aborted.’, error(2, ‘No such file or directory’))

ERROR: for broker (‘Connection aborted.’, error(2, ‘No such file or directory’))
ERROR: Couldn’t connect to Docker daemon at http+docker://localunixsocket - is it running?

If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
ERROR: Couldn’t connect to Docker daemon at http+docker://localunixsocket - is it running?

If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.


#2

Hey @gpsanino :raised_hand: welcome to the forum!

This looks like a problem with docker. Are you able to run the hello world application?

docker run hello-world


#3

exactly, that is what it looks but I have no idea how to run the daemon.
This is what I get from Terminal as user or “su” when running that command line.

docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.

Many thanks!


#4

OK I found how to enable and start Docker’s daemon.

I followed this:

To start the docker daemon during boot start YaST2, select “System” and start the module “Services Manager”. Select the “docker” service and click “Enable/Disable” and “Start/Stop”. To apply your changes click “OK”.

without restarting, I was able to run ./webODM start
I did not know if I should do this as a user or as root (su). I did is as superuser and it passed the described errors and now it is downloading lot of stuff. I will get back with the follow up.


#5

OK it just finished installing and I just went to a browser and opened: http://127.0.0.1:8000
It just works!!! I logged in as admin // admin and there I am in!
Great. Now I can try it.

I saw that the installer as well as several forums I found, are mostly directed to Ubuntu in the linux world. I could not find anything regarding webODM running on OpenSuSE. Perhaps this post helps others on the same position.

Thanks so much!


#6

That’s awesome that you got it to work!

Perhaps you could edit our README and add a note about your experience with OpenSUSE? https://github.com/OpenDroneMap/WebODM/edit/master/README.md