Overpass-API icon indicating copy to clipboard operation
Overpass-API copied to clipboard

dispatcher does not run `File_Error Invalid argument 22 /db/db//osm3s_osm_base Unix_Socket::5`

Open zyatmapbox opened this issue 2 months ago • 1 comments

Hi

I have trouble running project following the instructions.

I am seeing the following logs:

File_Error Invalid argument 22 /db/db//osm3s_osm_base Unix_Socket::5
2025-09-18 12:02:25,085 WARN exited: overpass_dispatch (exit status 0; not expected)
2025-09-18 12:02:27,100 INFO spawned: 'overpass_dispatch' with pid 41
File_Error Invalid argument 22 /db/db//osm3s_osm_base Unix_Socket::5
2025-09-18 12:02:27,208 WARN exited: overpass_dispatch (exit status 0; not expected)
127.0.0.1 - - [18/Sep/2025:12:02:27 +0000] "GET /api/interpreter?data=[out:json];node(2353426);out; HTTP/1.1" 504 635 "-" "curl/7.88.1"
2025-09-18 12:02:30,797 INFO spawned: 'overpass_dispatch' with pid 58
File_Error Invalid argument 22 /db/db//osm3s_osm_base Unix_Socket::5
2025-09-18 12:02:30,904 WARN exited: overpass_dispatch (exit status 0; not expected)
2025-09-18 12:02:31,911 INFO gave up: overpass_dispatch entered FATAL state, too many start retries too quickly
^C2025-09-18 12:02:32,912 WARN received SIGINT indicating exit request

I added but -e OVERPASS_PLANET_PREPROCESS='chmod 711 /db' \ but it did not work.

here is the output of my /db/db:

-rw-rw-rw- 1 root     root           425 Sep 18 12:10 database.log
-rw-r--r-- 1 overpass overpass         0 Sep 18 12:10 node_frequent_tags.bin
-rw-r--r-- 1 overpass overpass         0 Sep 18 12:10 node_frequent_tags.bin.idx
-rw-r--r-- 1 overpass overpass     65536 Sep 18 12:10 node_keys.bin
-rw-r--r-- 1 overpass overpass        24 Sep 18 12:10 node_keys.bin.idx
-rw-r--r-- 1 overpass overpass    196608 Sep 18 12:10 node_tags_global.bin
-rw-r--r-- 1 overpass overpass       259 Sep 18 12:10 node_tags_global.bin.idx
-rw-r--r-- 1 overpass overpass    180224 Sep 18 12:10 node_tags_local.bin
-rw-r--r-- 1 overpass overpass       141 Sep 18 12:10 node_tags_local.bin.idx
-rw-r--r-- 1 overpass overpass   3145728 Sep 18 12:10 nodes.bin
-rw-r--r-- 1 overpass overpass       968 Sep 18 12:10 nodes.bin.idx
-rw-r--r-- 1 overpass overpass 111443968 Sep 18 12:10 nodes.map
-rw-r--r-- 1 overpass overpass   1521120 Sep 18 12:10 nodes.map.idx
srwxr-xr-x 1 root     root             0 Sep 18 12:10 osm3s_osm_base  <- i suspect the root here is an issue

thank you for the help!

zyatmapbox avatar Sep 18 '25 12:09 zyatmapbox

What happens when you execute docker exec -it YOUROVERPASSINSTANCENAME chown overpass:overpass /db/db/osm3s_osm_base? This should solve the problem at least temporarily. This is btw my output for the file in question:

srw-rw-rw- 1 overpass overpass           0 Oct 28 10:21 osm3s_osm_base

arnesetzer avatar Oct 31 '25 09:10 arnesetzer