Having recently set-up my own OSM server using the instructions at switch2osm.com I have been attempting to configure a nominatim server.

I'm running Ubuntu 20.04 and followed the instructions here: https://nominatim.org/release-docs/latest/appendix/Install-on-Ubuntu-20/

The directory pointed to within Apache2 nominatim.conf file exists (svr/nominatim/build/website) and permissions are set correctly - if I put a basic html or php file in the directory I can access either. However, the installer didn't put search.php, status.php etc in the same location. Copying the versions files that the installer did create hasn't worked.

The installation is otherwise sound - I've imported data and accessing nominatim via the test server (nominatim serve) works for forward and reverse look-ups.

Any suggestions?

DD.

asked 20 Dec '21, 16:00

DephiDinosaur's gravatar image

DephiDinosaur
11112
accept rate: 0%


As the installation page says "The webserver should serve the php scripts from the website directory of your project directory." (not the build directory). For example $USERHOME/nominatim-project/website

If the *.php files are not in the project directory's 'website' sub-directory yet, try running "nominatim refresh --website" from within the project directory. That copies the necessary files from the build directory to the project directory (it also changes the first lines of each file slightly).

permanent link

answered 20 Dec '21, 16:09

mtmail's gravatar image

mtmail
4.7k1573
accept rate: 28%

edited 20 Dec '21, 16:15

Your answer
toggle preview

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:

×674

question asked: 20 Dec '21, 16:00

question was seen: 1,083 times

last updated: 20 Dec '21, 16:15

powered by OSQA