]> git.openstreetmap.org Git - nominatim.git/commitdiff
docs: copying project dir no longer necessary
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 20 Mar 2022 15:01:27 +0000 (16:01 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 20 Mar 2022 15:01:27 +0000 (16:01 +0100)
docs/admin/Advanced-Installations.md

index ff267cee28bd45f9d15fdbef4eb4ddc83a1ddaed..aeb2fa5b0e79ffbf526f709b69bb8d0a4cc2d9ac 100644 (file)
@@ -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.