mediagis / nominatim-docker

100% working container for Nominatim
Creative Commons Zero v1.0 Universal
1.08k stars 442 forks source link

Inconsistent results after container recovery. #411

Closed ZeroE04 closed 1 year ago

ZeroE04 commented 1 year ago

I save a dir(/var/lib/postgresql/14/main) from a container, and i run a next container mount this dir,but I got two different results. The new's results seems have not imported various external files? I need to import wiki, gbcode and postcode again after i mount /var/lib/postgresql/14/main?

  1. Use command '...' sudo docker run --net host -it --shm-size=300g \ -v /data0/wakui/projects/gis_server/nominatim-docker/4.2.2/main:/var/lib/postgresql/14/main \ -p 8080:8080 \ --name nominatim_mount \ mediagis/nominatim:4.2
ZeroE04 commented 1 year ago

I manually re import all external files, but the result is still wrong. Why?

sudo -E -u nominatim nominatim refresh --wiki-data sudo -E -u nominatim nominatim refresh --postcodes sudo -E -u nominatim nominatim add-data --tiger-data tiger-nominatim-preprocessed.csv.tar.gz

mtmail commented 1 year ago

the result is [...] wrong.

You need to be more specific and provide examples.