Code Monkey home page Code Monkey logo

Comments (6)

wiktorn avatar wiktorn commented on July 18, 2024

Which version of the docker image / Overpass-API are you running? If it's not 0.7.58.3 then please update to this version and try again.

from overpass-api.

idanmid15 avatar idanmid15 commented on July 18, 2024

Just tried with version 0.7.58.3 which unfortunately results in the same output

from overpass-api.

idanmid15 avatar idanmid15 commented on July 18, 2024

The bz2 file returned to the server and it's now happening with that file:
docker run \ -e OVERPASS_META=yes \ -e OVERPASS_MODE=init \ -e OVERPASS_PLANET_URL=http://download.geofabrik.de/asia/israel-and-palestine-latest.osm.bz2 \ -e OVERPASS_DIFF_URL=http://download.openstreetmap.fr/replication/asia/israel/minute/ \ -e OVERPASS_RULES_LOAD=10 \ -v /big/docker/overpass_db/:/db \ -p 12345:80 \ -i -t \ --name overpass_api wiktorn/overpass-api:latest

Results in:
Reading XML file ... finished reading nodes. File error caught: /db/db/nodes.bin.idx File_Blocks_Index: Data file size does not match block size

from overpass-api.

wiktorn avatar wiktorn commented on July 18, 2024

Just tried, the process is not yet finished:

 docker run  -e OVERPASS_META=yes  -e OVERPASS_MODE=init  -e OVERPASS_PLANET_URL=http://download.geofabrik.de/asia/israel-and-palestine-latest.osm.bz2  -e OVERPASS_DIFF_URL=http://download.openstreetmap.fr/replication/asia/israel/minute/  -e OVERPASS_RULES_LOAD=10  -v /big/docker/overpass_db99/:/db  -p 12347:80  -i -t  --name overpass_99 wiktorn/overpass-api:0.7.58.3
No database directory. Initializing
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  147M  100  147M    0     0  18.5M      0  0:00:07  0:00:07 --:--:-- 17.7M
Reading XML file ... finished reading nodes. Compute current ... ready. Flushing to database ....... done.
Reading XML file ... finished reading ways. Compute current ... ready. Flushing to database ....... done.
Reading XML file ... finished reading relations.
[...]
Flushing to database ....... done.
Update complete.
Database created. Now updating it.

So it looks like it works for me. I don't know what might be the issue on your end. The only difference is that I used explicit tag.

from overpass-api.

idanmid15 avatar idanmid15 commented on July 18, 2024

Found the problem!
Thanks for confirming the command works correctly on your end.
The issue was solved as soon as I changed the volume path to a new one.
/big/docker/overpass_api must have had leftovers from the previous image, so starting out completely clean here solved it.
Thanks!

from overpass-api.

wiktorn avatar wiktorn commented on July 18, 2024

Thanks for reporting!

from overpass-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.