Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot update nominatim data #34

Closed
kechap opened this issue Jan 29, 2018 · 3 comments
Closed

Cannot update nominatim data #34

kechap opened this issue Jan 29, 2018 · 3 comments

Comments

@kechap
Copy link

kechap commented Jan 29, 2018

I am trying to update my nominatim data. The first import was done for europe. I tried running the following command.
sudo docker exec -it openstreetmaps_nominatim_1 sudo -u nominatim src/utils/update.php --import-osmosis-all

The output is the following

2018-01-29 09:21:09 Replication Delay is 21603559
/usr/bin/osmosis --read-replication-interval workingDirectory=/app/src/settings --simplify-change --write-xml-change /app/src/data/osmosischange.osc
Jan 29, 2018 9:21:09 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.40.1
Jan 29, 2018 9:21:09 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Jan 29, 2018 9:21:09 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Jan 29, 2018 9:21:09 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Jan 29, 2018 9:21:09 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 1-read-replication-interval failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to read the state from the server.
at org.openstreetmap.osmosis.replication.common.ServerStateReader.getServerState(ServerStateReader.java:105)
at org.openstreetmap.osmosis.replication.common.ServerStateReader.getServerState(ServerStateReader.java:60)
at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.download(BaseReplicationDownloader.java:237)
at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.runImpl(BaseReplicationDownloader.java:279)
at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.run(BaseReplicationDownloader.java:349)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: http://download.geofabrik.de/europe-updates/000/001/528.state.txt
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1674)
at org.openstreetmap.osmosis.replication.common.ServerStateReader.getServerState(ServerStateReader.java:91)
... 5 more

I think that it tries to find the file http://download.geofabrik.de/europe-updates/000/001/528.state.txt

which doesn't exist. Why am I getting this? Is there a way to fix it?

Version: 2.5

@winsento
Copy link
Member

@kechap I think you need to report it here https://github.com/openstreetmap/Nominatim

@kechap
Copy link
Author

kechap commented Jan 29, 2018

OK, Thanks. Will you close the issue?

@winsento
Copy link
Member

Yep. But you can write here if the problem is on our side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants