X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9628df30315279d5fdfc2141d4bc4e497b88f6ee..f3c557bf684a0079e4bc54b622cc5d766f3a6b56:/docs/admin/Advanced-Installations.md diff --git a/docs/admin/Advanced-Installations.md b/docs/admin/Advanced-Installations.md index ff267cee..aeb2fa5b 100644 --- a/docs/admin/Advanced-Installations.md +++ b/docs/admin/Advanced-Installations.md @@ -198,11 +198,10 @@ target machine. of a full database. Next install Nominatim on the target machine by following the standard installation -instructions. Again make sure to use the same version as the source machine. +instructions. Again, make sure to use the same version as the source machine. -You can now copy the project directory from the source machine to the new machine. -If necessary, edit the `.env` file to point it to the restored database. -Finally run +Create a project directory on your destination machine and set up the `.env` +file to match the configuration on the source machine. Finally run nominatim refresh --website @@ -210,6 +209,8 @@ to make sure that the local installation of Nominatim will be used. If you are using the legacy tokenizer you might also have to switch to the PostgreSQL module that was compiled on your target machine. If you get errors -that PostgreSQL cannot find or access `nominatim.so` then copy the installed -version into the `module` directory of your project directory. The installed -copy can usually be found under `/usr/local/lib/nominatim/module/nominatim.so`. +that PostgreSQL cannot find or access `nominatim.so` then rerun + + nominatim refresh --functions + +on the target machine to update the the location of the module.