Hi everyone
I’m asking this on behalf of Technovision, as I was the one installing and configuring the Nominatim. For configuring updates I’ve followed this guide:
https://github.com/openstreetmap/Nominatim/blob/master/docs/Import-and-Update.md
We are using full globe data, and at first I’ve configured updates from daily extracts and my settings looked like this:
// Base URL of replication service
@define('CONST_Replication_Url', 'http://planet.openstreetmap.org/replication/day');
// Maximum size in MB of data to download per batch
@define('CONST_Replication_Max_Diff_size', '120');
// How long until the service publishes the next diff
// (relative to the age of data in the diff).
@define('CONST_Replication_Update_Interval', '86400');
// How long to sleep when no update could be found
@define('CONST_Replication_Recheck_Interval', '900');
And I’ve configured cron to run “./update.php --import-osmosis” once a week. But after looking at the logs recently, I’ve noticed in the logs this:
2017-10-29 10:03:08 Completed index step for 2017-07-18 23:58:52 in 286.2 minutes
2017-10-29 10:03:08 Completed all for 2017-07-18 23:58:52 in 483.12 minutes
Does that mean the updates weren’t running successfully? Right now I’ve changed the settings to minute diffs:
// Base URL of replication service
@define('CONST_Replication_Url', 'http://planet.openstreetmap.org/replication/minute');
// Maximum size in MB of data to download per batch
@define('CONST_Replication_Max_Diff_size', '30');
// How long until the service publishes the next diff
// (relative to the age of data in the diff).
@define('CONST_Replication_Update_Interval', '75');
// How long to sleep when no update could be found
@define('CONST_Replication_Recheck_Interval', '60');
And executed “update.php --import-osmosis-all”
Now it’s running and still giving me this:
“2017-10-30 13:37:26 Completed all for 2017-07-19 03:08:01 in 22.22 minutes”
Can you please tell if there’s something wrong with those settings, and how can I fully synchronize our copy of database to the latest version and keep it up to date correctly?
EDIT:
Actually, I’ve already asked this question before:
https://forum.openstreetmap.org/viewtopic.php?id=59120
But didn’t get reply. I don’t thin that documentation cover all this for people like me, who don’t know very much about inner workings for the nominatim database.