This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Install nominatim 3.6.0 successful and yet unsuccessful

1

Hi, just installed nominatim 3.6.0 on my machine (40 cores, 256GB RAM, 3TB Disk) with full planet. The end of the logging on the setup.php are below: ======== WARNING: Done 147447047/147447047 in 79915 @ 1845.030 per second - FINISHED rank 30

2020-12-20 18:31:09 == Index postcodes 2020-12-20 19:33:25 == Drop tables only required for updates 2020-12-20 19:33:34 == Create Search indices 2020-12-21 00:45:39 == Create search index for default country names getorcreate_country


        67840656

(1 row)

getorcreate_country

        67838726

(1 row)

count

251 (1 row)

count

250 (1 row)

count

43100 (1 row)

2020-12-21 00:45:55 == /home/nominatim/build/settings/settings-frontend.php has been set up successfully Summary of warnings:

2020-12-21 00:45:55 == Setup finished.

as indicated in the documentation, I run check_import_finished.php, which says:

Checking database got created ... OK Checking nominatim.so module installed ... OK Checking place table ... Failed * The import didn't finish. Hints: * Check the output of the utils/setup.php you ran. Usually the osm2pgsql step failed. Check for errors related to * the file you imported not containing any places * harddrive full * out of memory (RAM) * osm2pgsql killed by other scripts, for consuming to much memory ========

Indeed, at the beginning of setup we see

2020-12-18 10:24:18 == Import data 2020-12-18 11:24:18 osm2pgsql version 1.4.0 2020-12-18 11:24:18 Database version: 11.10 2020-12-18 11:24:18 Node-cache: cache=56000MB, maxblocks=896000*65536, allocation method=11 2020-12-18 11:24:18 Parsing gazetteer style file '/home/nominatim/Nominatim-3.6.0/settings/import-extratags.style'. NOTICE: table "place" does not exist, skipping

======== But that has not been an issue before. What might be the issue? How can I resolve the issue?

thanks in advance

asked 21 Dec '20, 14:39

Hupa's gravatar image

Hupa
26113
accept rate: 0%


One Answer:

0

Did you run the setup.php with --drop https://nominatim.org/release-docs/3.6.0/admin/Import/#dropping-data-required-for-dynamic-updates ? In that case the place table got deleted ("Drop tables only required for updates") and expected. The issue then is utils/check_import_finished.php script reporting a warning when it shouldn't. Can be ignored.

answered 21 Dec '20, 14:54

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

(21 Dec '20, 15:10) mtmail

Source code available on GitHub .