Re: [OSM-talk] Issues with diffs

2018-05-09 Thread Andrzej Kępys

Hi

Thank you all for answers. Firstly I was sure that something broke my 
state.txt file, but I checked it and it was OK. Than I've tried some 
different one so I've copied from diffs folder - still no luck. I was 
sure something broke there - things like this happens sometimes, but as 
far as I remember they last no longer than 1 hour...


You were right - it was https... one small letter for the config but 
such big difference for all server ;)


Thanks again

Andy


Pozdrawiam
Andrzej Kępys
gg: 7918247
skype: jedrus305
tel: 605 997 440

W dniu 2018-05-09 o 20:50, Andy Townsend pisze:

On 09/05/2018 19:21, Andrzej Kępys wrote:


OsmosisRuntimeException: The replication state doesn't contain a 
timestamp property.


Any idea where can I post/report this?


Here (or the dev list) is as good a place as any :)

What this normally means is that osmosis has somehow "become confused" 
- somehow some invalid replication data appeared, or you tried to 
reset the replication data and something failed, or you tried to reset 
the replication date for the first time since the http -> https move 
happened.


Here's what's in /var/lib/mod_tile/.osmosis/state.txt on a server of 
mine right now:


#Wed May 09 20:40:05 CEST 2018
sequenceNumber=2963281
timestamp=2018-05-09T18\:39\:01Z

You should have something similar.  If you have something other than a 
valid sequenceNumber / timestamp combination, try resetting the 
replication date to a known-good value.  Typically I'd do that with 
"openstreetmap-tiles-update-expire".  Note that when the OSM servers 
moved from http to https a change to that was needed to ensure that 
the files are obtained from https URLs (since osmosis didn't follow 
redirects).  In the version that I use (and the version referred to by 
the switch2osm guide) that is:


https://github.com/SomeoneElseOSM/mod_tile/blob/switch2osm/openstreetmap-tiles-update-expire#L114 



Best Regards,

Andy





___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk



---
Ta wiadomość została sprawdzona na obecność wirusów przez oprogramowanie 
antywirusowe Avast.
https://www.avast.com/antivirus


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Issues with diffs

2018-05-09 Thread Andy Townsend

On 09/05/2018 19:21, Andrzej Kępys wrote:


OsmosisRuntimeException: The replication state doesn't contain a 
timestamp property.


Any idea where can I post/report this?


Here (or the dev list) is as good a place as any :)

What this normally means is that osmosis has somehow "become confused" - 
somehow some invalid replication data appeared, or you tried to reset 
the replication data and something failed, or you tried to reset the 
replication date for the first time since the http -> https move happened.


Here's what's in /var/lib/mod_tile/.osmosis/state.txt on a server of 
mine right now:


#Wed May 09 20:40:05 CEST 2018
sequenceNumber=2963281
timestamp=2018-05-09T18\:39\:01Z

You should have something similar.  If you have something other than a 
valid sequenceNumber / timestamp combination, try resetting the 
replication date to a known-good value.  Typically I'd do that with 
"openstreetmap-tiles-update-expire".  Note that when the OSM servers 
moved from http to https a change to that was needed to ensure that the 
files are obtained from https URLs (since osmosis didn't follow 
redirects).  In the version that I use (and the version referred to by 
the switch2osm guide) that is:


https://github.com/SomeoneElseOSM/mod_tile/blob/switch2osm/openstreetmap-tiles-update-expire#L114

Best Regards,

Andy





___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Issues with diffs

2018-05-09 Thread Frederik Ramm
Hi,

On 05/09/2018 08:21 PM, Andrzej Kępys wrote:
> Since about 12 hours I'm having issues with replication.
> 
> Osmosis is reporting:
> 
> OsmosisRuntimeException: The replication state doesn't contain a
> timestamp property.
> 
> Any idea where can I post/report this?

I think your issue is likely that OSMF has switched to "https only" for
planet.openstreetmap.org this morning. Requests to http URLs are
answered with a redirect to the https URL. Osmosis doesn't honour these
redirects.

You need to change http to https in your configuration.txt.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Issues with diffs

2018-05-09 Thread mmd

> Since about 12 hours I'm having issues with replication.
> 
> Osmosis is reporting:
> 
> OsmosisRuntimeException: The replication state doesn't contain a
> timestamp property.
> 
> Any idea where can I post/report this?
> 

Redirect to https was activated on planet.openstreetmap.org about 12
hours ago. Seems like your osmosis still points to the http location,
and since it doesn't follow the redirect to https, it fails.

See https://github.com/openstreetmap/operations/issues/200 for details.

-- 




___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Issues with diffs

2018-05-09 Thread Sebastiaan Couwenberg
On 05/09/2018 08:21 PM, Andrzej Kępys wrote:
> OsmosisRuntimeException: The replication state doesn't contain a
> timestamp property.
> Any idea where can I post/report this?

You need to get a different planet with all data, see:

 https://lists.openstreetmap.org/pipermail/dev/2018-May/030233.html

Kind Regards,

Bas


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Issues with diffs

2018-05-09 Thread Andrzej Kępys

Hi.

Since about 12 hours I'm having issues with replication.

Osmosis is reporting:

OsmosisRuntimeException: The replication state doesn't contain a timestamp 
property.

Any idea where can I post/report this?

--
Pozdrawiam
Andrzej Kępys
gg: 7918247
skype: jedrus305
tel: 605 997 440


---
Ta wiadomość została sprawdzona na obecność wirusów przez oprogramowanie 
antywirusowe Avast.
https://www.avast.com/antivirus


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk