[Geocoding] Osmosis error while update osm data

Rajavelu.M Mookkaia.A rajavelu1989 at gmail.com
Mon May 28 08:20:07 UTC 2018


Hi,

We setup our own osm DB setup with nominatim. Also we are updating osm diff
data daily.
Its working fine till 2 weeks before. But now we facing osmosis error while
updating (particularly while downloading diff data).
Kindly help us to fix the same.
Thanks in Advance.
Rajavelu

*State.txt*
#Wed May 09 00:01:16 PDT 2018
sequenceNumber=49457
timestamp=2018-05-05T00\:00\:00Z

*local.php*
<?php
@define('CONST_Postgresql_Version', '9.4');
@define('CONST_Postgis_Version', '2.1');
@define('CONST_Path_Postgresql_Contrib',
'/home/sas/postgres/share/contrib/');
@define('CONST_Website_BaseURL', 'http://localhost:8080/maps/');
@define('CONST_Osmosis_Binary', '/home/sas/Nominatim/osmosis/bin/osmosis');
@define('CONST_Replication_Url', '
https://planet.openstreetmap.org/replication/day');
@define('CONST_Replication_MaxInterval', '3600');
@define('CONST_Replication_Update_Interval', '86400');

*configuration.txt*
baseUrl=http://planet.openstreetmap.org/replication/day
maxInterval = 86400

I have tried https://planet.openstreetmap.org/replication/hour instead of
https://planet.openstreetmap.org/replication/day  but still met same error.


*Error details:*

org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager
waitForCompletion
SEVERE: Thread for task 1-read-replication-interval failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: The replication
state doesn't contain a timestamp property.
        at
org.openstreetmap.osmosis.replication.common.ReplicationState.loadProperty(ReplicationState.java:65)
        at
org.openstreetmap.osmosis.replication.common.ReplicationState.load(ReplicationState.java:78)
        at
org.openstreetmap.osmosis.replication.common.ReplicationState.<init>(ReplicationState.java:59)
        at
org.openstreetmap.osmosis.replication.common.ServerStateReader.getServerState(ServerStateReader.java:108)
        at
org.openstreetmap.osmosis.replication.common.ServerStateReader.getServerState(ServerStateReader.java:50)
        at
org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.runImpl(BaseReplicationDownloader.java:290)
        at
org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.run(BaseReplicationDownloader.java:383)
        at java.lang.Thread.run(Thread.java:745)

org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more tasks
failed.
        at
org.openstreetmap.osmosis.core.pipeline.common.Pipeline.waitForCompletion(Pipeline.java:146)
        at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:92)
        at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/geocoding/attachments/20180528/c20cc74e/attachment.html>


More information about the Geocoding mailing list