[OSM-dev] glitch in minutely replication stream

Paul Norman penorman at mac.com
Sat Apr 19 00:47:07 UTC 2014


> From: Lynn W. Deffenbaugh (Mr) [mailto:ldeffenb at homeside.to]
> Sent: Friday, April 18, 2014 3:13 PM
> To: dev at openstreetmap.org
> Subject: Re: [OSM-dev] glitch in minutely replication stream
> 
> Can you provide cookbook instructions for those of us running OSM tile
> servers based on the switch2osm.org instructions? Specifically, what
> does one do to "forced them back to process everything from '037+
> again"?

1. Edit crontab to stop updates.

2. Wait until all updates have stopped (i.e. osm2pgsql is no longer running)

3. Open /var/lib/mod_tile/.osmosis/state.txt in a text editor

4. Change the sequenceNumber line to read sequenceNumber=834037

5. Edit crontab to start updates

Note: Untested, but should work.




More information about the dev mailing list