X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/565356613afcc2f6556c8add64fe1304579bb3cd..75a5c7013fed767a7fda6658f6ffec34fdbbdede:/docs/admin/Update.md?ds=inline diff --git a/docs/admin/Update.md b/docs/admin/Update.md index 4b1a2be7..a2323cfe 100644 --- a/docs/admin/Update.md +++ b/docs/admin/Update.md @@ -19,15 +19,6 @@ Run (as the same user who will later run the updates): pip3 install --user osmium ``` -Nominatim needs a tool called `pyosmium-get-changes` which comes with -Pyosmium. You need to tell Nominatim where to find it. Add the -following line to your `.env`: - - NOMINATIM_PYOSMIUM_BINARY=/home/user/.local/bin/pyosmium-get-changes - -The path above is fine if you used the `--user` parameter with pip. -Replace `user` with your user name. - #### Setting up the update process Next the update needs to be initialised. By default Nominatim is configured @@ -39,14 +30,14 @@ diffs for Ireland from Geofabrik add the following: # base URL of the replication service NOMINATIM_REPLICATION_URL="https://download.geofabrik.de/europe/ireland-and-northern-ireland-updates" - # How often upstream publishes diffs + # How often upstream publishes diffs (in seconds) NOMINATIM_REPLICATION_UPDATE_INTERVAL=86400 - # How long to sleep if no update found yet + # How long to sleep if no update found yet (in seconds) NOMINATIM_REPLICATION_RECHECK_INTERVAL=900 To set up the update process now run the following command: - ./nominatim replication --init + nominatim replication --init It outputs the date where updates will start. Recheck that this date is what you expect. @@ -58,7 +49,7 @@ service is changed. The following command will keep your database constantly up to date: - ./nominatim replication + nominatim replication If you have imported multiple country extracts and want to keep them up-to-date, [Advanced installations section](Advanced-Installations.md) contains instructions