Skip to content

Initialization hangs at: "OSM file has no replication headers. Looking for newest OSM object." #148

@pcace

Description

@pcace

Hi there, i am trying to initialize the overpass api with these environment vars:

      "Env": [
                "OVERPASS_RULES_LOAD=10",
                "OVERPASS_META=yes",
                "OVERPASS_MODE=init",
                "OVERPASS_PLANET_URL=https://download.geofabrik.de/europe-latest.osm.bz2",
                "OVERPASS_DIFF_URL=https://download.openstreetmap.fr/replication/europe/minute/",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "NGINX_VERSION=1.27.1",
                "NJS_VERSION=0.8.5",
                "NJS_RELEASE=1~bookworm",
                "PKG_RELEASE=1~bookworm",
                "DYNPKG_RELEASE=2~bookworm",
                "OTEL_VERSION=0.1.0",
                "OVERPASS_USE_AREAS=true",
                "OVERPASS_ALLOW_DUPLICATE_QUERIES=no"
            ],

the machine i am running it on is a 32GB Ram / 16Core machine hostet at hetzner.de.
i am currently wondering if it somehow crashed or not, since i have the same log message for more than a day:

2025-07-06 01:52:34 DEBUG: OSM file has no replication headers. Looking for newest OSM object.

which generally makes sense since i have pulled it from geofabrik. if i look at htop i can see that there are processes working on the update:

Image

but there is currently nothing in the diffs folder:

(base) root@machine:/big/docker/overpass_europe# ls 
changes.log     cookie.jar      db/             diffs/          planet.osm.bz2  
(base) root@machine:/big/docker/overpass_europe# ls diffs/
(base) root@machine:/big/docker/overpass_europe# ls db/
node_frequent_tags.bin	    nodes.bin.idx	node_tags_global.bin	  relation_frequent_tags.bin	  relation_roles.bin.idx  relations_meta.bin		relation_tags_local.bin.idx  user_indices.bin.idx	ways.bin       ways_meta.bin.idx
node_frequent_tags.bin.idx  nodes.map		node_tags_global.bin.idx  relation_frequent_tags.bin.idx  relations.bin		  relations_meta.bin.idx	rules			     way_frequent_tags.bin	ways.bin.idx   way_tags_global.bin
node_keys.bin		    nodes.map.idx	node_tags_local.bin	  relation_keys.bin		  relations.bin.idx	  relation_tags_global.bin	user_data.bin		     way_frequent_tags.bin.idx	ways.map       way_tags_global.bin.idx
node_keys.bin.idx	    nodes_meta.bin	node_tags_local.bin.idx   relation_keys.bin.idx		  relations.map		  relation_tags_global.bin.idx	user_data.bin.idx	     way_keys.bin		ways.map.idx   way_tags_local.bin
nodes.bin		    nodes_meta.bin.idx	osm_base_version	  relation_roles.bin		  relations.map.idx	  relation_tags_local.bin	user_indices.bin	     way_keys.bin.idx		ways_meta.bin  way_tags_local.bin.idx
(base) root@machine:/big/docker/overpass_europe# 


these are the file sizes:

du -sch *
4.0K	changes.log
4.0K	cookie.jar
80G	db
4.0K	diffs
49G	planet.osm.bz2
129G	total


is there some missconfiguration going on, or do i just need to wait another day or two?
currently the docker container reports it is running since 4 days (this is what it took to process europe) and unhealthy:

4e6c2f89d791   wiktorn/overpass-api                 "/docker-entrypoint.…"   4 days ago     Up 4 days (unhealthy)   0.0.0.0:12345->80/tcp, [::]:12345->80/tcp                                                                                                                                                                                                     overpass_europe


to me it seems it is taking way too long, but i am not sure if it might be ok. should i restart the container? or just leave it?

Thanks a lot for help!

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