AcuGIS / Nominatim-Server

Script for Building a Basic Nominatim Server
https://www.acugis.com/opennamesearch/
17 stars 9 forks source link

reload script... #2

Closed AndyW999 closed 7 years ago

AndyW999 commented 7 years ago

Hi David

I tried to add another pbf but it broke everything - please see attached file.

Thanks

Andy. OpenNameSearch - Reload.txt

DavidGhedini commented 7 years ago

Hi Andy - Does these directories exist on your server? -su: line 1: cd: /home/ntim/nominatim-2.5.1: No such file or directory -su: line 3: ./utils/setup.php: No such file or directory David

lsimedia commented 7 years ago

Hi David and Andy,

I think that it is because of a typo in "reload-OpenNameSearch.sh" script.

After running OpenNameSearch.sh script, you will get a folder "Nominatim-2.5.1" (not nominatim-2.5.1).

So you can edit "reload-OpenNameSearch.sh" and change, at line 40: cd /home/${NM_USER}/nominatim-${NM_VER} by cd /home/${NM_USER}/Nominatim-${NM_VER}

Best regards

PS: David, thank you for your great OpenTileServer and OpenNameSearch scripts !!!

DavidGhedini commented 7 years ago

Hi lsimedia and Andy - Thank you for finding this and sorry for the grief over the typo. Ill get it updated now Thanks, David