How about, because I get the following error, followed the instructions but I can not continue /srv/nominatim/Nominatim/build$ ./utils/update.php --import-osmosis-all Currently at sequence 2617 (18/05/2020 18:04:47) - 1 indexed '/home/ubuntu3/.local/bin/pyosmium-get-changes' --server 'https://download.geofabrik.de/north-america/mexico-updates' --outfile '/srv/nominatim/Nominatim/build/osmosischange.osc' --size 30 '--start-id' 2617 Traceback (most recent call last): File "/home/ubuntu3/.local/bin/pyosmium-get-changes", line 257, in <module> exit(main(sys.argv[1:])) File "/home/ubuntu3/.local/bin/pyosmium-get-changes", line 237, in main outhandler = WriteHandler(options.outfile) RuntimeError: Open failed for '/srv/nominatim/Nominatim/build/osmosischange.osc': Permission denied asked 21 May '20, 17:41 marianightcr... |
The script should be run as user 'nominatim'. The error says The documentation http://nominatim.org/release-docs/latest/admin/Import-and-Update/#updates should be improved. "same user who will later run the updates" isn't clear enough in that context. answered 21 May '20, 19:06 mtmail |