NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

marianightcrawler's gravatar image

marianightcr...
11111
accept rate: 0%


The script should be run as user 'nominatim'. The error says /home/ubuntu3/.local/bin/pyosmium-get-changes so I think you installed and ran pyosmium as user ubuntu3.

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.

permanent link

answered 21 May '20, 19:06

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×35

question asked: 21 May '20, 17:41

question was seen: 1,511 times

last updated: 21 May '20, 19:06

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum