Skip to content

runtime error: The dispatcher (i.e. the database management system) is turned off. #155

Description

@edwarddrapkin-or

I followed the instructions in the README and ran this docker command:

docker run     -e OVERPASS_PLANET_PREPROCESS='mv /db/planet.osm.bz2 /db/planet.osm.pbf && osmium cat -o /db/planet.osm.bz2 /db/planet.osm.pbf && rm /db/planet.osm.pbf'   -e OVERPASS_META=yes   -e OVERPASS_MODE=init   -e OVERPASS_PLANET_URL=http://download.geofabrik.de/north-america/us/florida-latest.osm.pbf   -e OVERPASS_DIFF_URL=http://download.openstreetmap.fr/replication/north-america/us-south/florida/minute/   -e OVERPASS_RULES_LOAD=10   -v ./overpass_db/:/db   -p 12345:80   -i -t   --name overpass_florida wiktorn/overpass-api

Then I ran docker start overpass_florida:

2025-12-15 23:02:42,218 INFO spawned: 'areas_rules' with pid 13
File_Error Invalid argument 22 /db/db//osm3s_areas Unix_Socket::5
2025-12-15 23:02:42,277 WARN exited: dispatcher_areas (exit status 0; not expected)
/app/bin /
File_Error Invalid argument 22 /db/db//osm3s_osm_base Unix_Socket::5
2025-12-15 23:02:42,344 WARN exited: overpass_dispatch (exit status 0; not expected)
runtime error: The dispatcher (i.e. the database management system) is turned off.
It took 0 to run the loop. Desired load is: 10%. Sleeping: 3
Traceback (most recent call last):
  File "/app/venv/bin/pyosmium-get-changes", line 252, in <module>
    exit(main(sys.argv[1:]))
         ^^^^^^^^^^^^^^^^^^
  File "/app/venv/bin/pyosmium-get-changes", line 191, in main
    with open(options.seq_file, 'r') as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/db/replicate_id'
rm: cannot remove '/db/diffs/changes.osc': No such file or directory
2025-12-15 23:02:43,666 INFO spawned: 'overpass_dispatch' with pid 51
2025-12-15 23:02:43,667 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-12-15 23:02:43,667 INFO success: fcgiwrap entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-12-15 23:02:43,667 INFO success: update_overpass entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-12-15 23:02:43,670 INFO spawned: 'dispatcher_areas' with pid 52
2025-12-15 23:02:43,671 INFO success: areas_rules entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
File_Error Invalid argument 22 /db/db//osm3s_areas Unix_Socket::5
2025-12-15 23:02:43,745 WARN exited: dispatcher_areas (exit status 0; not expected)
File_Error Invalid argument 22 /db/db//osm3s_osm_base Unix_Socket::5
2025-12-15 23:02:43,784 WARN exited: overpass_dispatch (exit status 0; not expected)
runtime error: The dispatcher (i.e. the database management system) is turned off.
It took 0 to run the loop. Desired load is: 10%. Sleeping: 3
127.0.0.1 - - [15/Dec/2025:23:02:46 +0000] "GET /api/interpreter?data=[out:json];node(7356559);out; HTTP/1.1" 504 635 "-" "curl/7.88.1"
2025-12-15 23:02:46,120 INFO spawned: 'overpass_dispatch' with pid 75
2025-12-15 23:02:46,122 INFO spawned: 'dispatcher_areas' with pid 76
File_Error Address already in use 98 /db/db//osm3s_areas Unix_Socket::4
2025-12-15 23:02:46,217 WARN exited: dispatcher_areas (exit status 0; not expected)
File_Error Invalid argument 22 /db/db//osm3s_osm_base Unix_Socket::5
2025-12-15 23:02:46,300 WARN exited: overpass_dispatch (exit status 0; not expected)
runtime error: The dispatcher (i.e. the database management system) is turned off.
It took 0 to run the loop. Desired load is: 10%. Sleeping: 3
2025-12-15 23:02:49,708 INFO spawned: 'overpass_dispatch' with pid 87
2025-12-15 23:02:49,711 INFO spawned: 'dispatcher_areas' with pid 88
File_Error Invalid argument 22 /db/db//osm3s_areas Unix_Socket::5
2025-12-15 23:02:49,803 WARN exited: dispatcher_areas (exit status 0; not expected)
File_Error Invalid argument 22 /db/db//osm3s_osm_base Unix_Socket::5```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions