Dear all,
I tried to install a WebODM instance on a Ubuntu 22.04 server, 1TB and 32GB RAM in a Docker. This is my second server (with exact the same specs) I would like to install WebODM. First time was half a year ago and worked like a charm.
However this time I get an error while starting the WebODM script.
I follow the tutorial at Installation and Getting Started — OpenDroneMap 3.5.6 documentation and everything seems to work.
However, when I start WebODM (./webodm.sh start) I get the recurring message:
worker | psql: error: could not connect to server: No route to host
worker | Is the server running on host “db” (172.19.0.4) and accepting
worker | TCP/IP connections on port 5432?
worker | Postgres is unavailable - sleeping
webapp | psql: error: could not connect to server: No route to host
webapp | Is the server running on host “db” (172.19.0.4) and accepting
webapp | TCP/IP connections on port 5432?
webapp | Postgres is unavailable - sleeping
Anybody has a suggestion? Thanks!
See the log
Using the following environment:
Host: localhost
Port: 8000
Media directory: appmedia
Postgres DB directory: dbdata
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 no de-odm=1
Creating network “webodm_default” with the default driver
Creating broker … done
Creating webodm_node-odm_1 … done
Creating db … done
Creating worker … done
Creating webapp … done
Attaching to broker, webodm_node-odm_1, db, worker, webapp
broker | 1:C 13 Apr 2023 12:36:18.413 # oO0OoO0OoO0Oo Redis is starting oO0 OoO0OoO0Oo
broker | 1:C 13 Apr 2023 12:36:18.413 # Redis version=7.0.10, bits=64, comm it=00000000, modified=0, pid=1, just started
broker | 1:C 13 Apr 2023 12:36:18.413 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /pa th/to/redis.conf
broker | 1:M 13 Apr 2023 12:36:18.413 * monotonic clock: POSIX clock_gettim e
broker | 1:M 13 Apr 2023 12:36:18.414 * Running mode=standalone, port=6379.
broker | 1:M 13 Apr 2023 12:36:18.414 # Server initialized
broker | 1:M 13 Apr 2023 12:36:18.414 # WARNING Memory overcommit must be e nabled! Without it, a background save or replication may fail under low memory c ondition. Being disabled, it can can also cause failures without low memory cond ition, see vm.max_map_count growing steadily when vm.overcommit_memory is 2 · Issue #1328 · jemalloc/jemalloc · GitHub. To fix this issue a dd ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the com mand ‘sysctl vm.overcommit_memory=1’ for this to take effect.
broker | 1:M 13 Apr 2023 12:36:18.414 * Ready to accept connections
node-odm_1 | (node:1) NOTE: We are formalizing our plans to enter AWS SDK for J avaScript (v2) into maintenance mode in 2023.
node-odm_1 |
node-odm_1 | Please migrate your code to use AWS SDK for JavaScript (v3).
node-odm_1 | For more information, check the migration guide at https://a.co/7P zMCcy
node-odm_1 | (Use node --trace-warnings ... to show where the warning was cre ated)
db |
db | PostgreSQL Database directory appears to contain a database; Skipp ing initialization
db |
node-odm_1 | info: Authentication using NoTokenRequired
db | LOG: database system was shut down at 2023-04-13 12:30:38 UTC
db | LOG: MultiXact member wraparound protections are now enabled
db | LOG: database system is ready to accept connections
node-odm_1 | info: Listening on 0.0.0.0:6367 UDP for progress updates
db | LOG: autovacuum launcher started
node-odm_1 | info: No tasks dump found
node-odm_1 | info: Checking for orphaned directories to be removed…
node-odm_1 | info: Server has started on port 3000
worker | psql: error: could not connect to server: No route to host
worker | Is the server running on host “db” (172.19.0.4) and accepting
worker | TCP/IP connections on port 5432?
worker | Postgres is unavailable - sleeping
webapp | psql: error: could not connect to server: No route to host
webapp | Is the server running on host “db” (172.19.0.4) and accepting
webapp | TCP/IP connections on port 5432?
webapp | Postgres is unavailable - sleeping
worker | psql: error: could not connect to server: No route to host
worker | Is the server running on host “db” (172.19.0.4) and accepting
worker | TCP/IP connections on port 5432?
worker | Postgres is unavailable - sleeping
webapp | psql: error: could not connect to server: No route to host
webapp | Is the server running on host “db” (172.19.0.4) and accepting
webapp | TCP/IP connections on port 5432?
webapp | Postgres is unavailable - sleeping


