I have freshly installed Nominatim on a brand new server and went through all the instructions to import the full planet osm data. All worked well and I have a Nominatim installation working now, capable of doing search and reverse search. I downloaded the full planet file on the 5th of March 2017, and it took a bit less than a couple of weeks to index, and now it is running fine. The home page displays: Data last updated: 2017/02/28 23:58GMT. I suppose this is the date the OSM file was generated. I have now tried to set up the updater and after installing osmosis I updated the settings in local.php as follows:
I changed to use day replication because I wanted to recover 3 weeks of updates or so, and updating every day is enough for me. Then I did:
And finally ran this:
It seemed to be doing a lot of stuff and took quite a number of hours to stop outputing logs. It seems to be running periodically too. However, Nominatim's web page is still showing that the Data last updated: 2017/02/28 23:58GMT. How to I check if osmosis is really updating correctly? My configuration.txt has the following:
I have this in my state.txt:
I've tried to change the maxInterval to 0, in case that was affecting it. Did it 4 hours ago, but still the data last updated time is the same. The output of update.php is showing lines like:
What could be the reason the data is not updating properly? asked 29 Mar '17, 22:30 jbx1 |
Did the update script finish? It starts with rank 2 and goes to rank 30. Rank 30 (buildings) usually takes twice as long as rank 28. When I see ETA 17000 seconds that's 5 further just for rank 28 to finish, then a new ETA for rank 30 will be shown.
Well I restarted yesterday with that change in setting of MaxInterval to 0 in configuration.txt and local.php. It is still in Rank 26 it seems! Is it normal to take so long to update? I have this now: Done 185023 in 77387 @ 2.390880 per second - Rank 26 ETA (seconds): 2078.314697 Done 185023 in 77388 @ 2.390849 per second - Rank 26 ETA (seconds): 2078.341553
It is still running (after the restart of the 30th of March) and still the Data last updated date is the same. At some point it was doing Rank 27, now it is again doing Rank 19.
Done 19201 in 1745 @ 11.003438 per second - Interpolation lines ETA (seconds): 3569.702393 Done 13022 in 5464 @ 2.383236 per second - Rank 19 ETA (seconds): 19723.605469
Should I restart it? Will it resume if I stop it? Can I do something about it?