mediagis / nominatim-docker

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

SQL errors #319

Closed titanicboyke closed 2 years ago

titanicboyke commented 2 years ago

I've been trying the 3.5 for days but keep getting this error

image

Stefanic commented 2 years ago

What version of nominatim are you using and with which part of the world?

titanicboyke commented 2 years ago

3.5 and Belgium https://download.geofabrik.de/europe/belgium-latest.osm.pbf

Stefanic commented 2 years ago

I just tried Monaco on nominatim 3.5 and run into the same issue. Since 3.5 is deprecated I'm afraid this won;t be fixed..

mtmail commented 2 years ago

Can you check if the /app/src/data/country_osm_grid.sql.gz file exists and contains SQL? Maybe https://github.com/mediagis/nominatim-docker/blob/master/3.5/Dockerfile#L104 downloaded an error HTML page, created the .gz file but now with non-SQL data.

Stefanic commented 2 years ago

Can you check if the /app/src/data/country_osm_grid.sql.gz file exists and contains SQL? Maybe https://github.com/mediagis/nominatim-docker/blob/master/3.5/Dockerfile#L104 downloaded an error HTML page, created the .gz file but now with non-SQL data.

Good eye, URL is not working anymore. After fixing the URL it seems to be working. Are pull requests for older versions wanted?

titanicboyke commented 2 years ago

it works, thank you very much for the help

philipkozeny commented 2 years ago

Fixed with https://github.com/mediagis/nominatim-docker/pull/320, thanks @Stefanic

Just out of curiosity: why are you guys staying on 3.5?

Stefanic commented 2 years ago

I only tested 3.5 to reproduce the error titanicboyke encountered :)

titanicboyke commented 2 years ago

Opgelost met #320 , bedankt@Stefanic

Gewoon uit nieuwsgierigheid: waarom blijven jullie op 3.5?

Referenc

because this is recommended for our PokeMaps