wiktorn / Overpass-API

Overpass API docker image
MIT License
133 stars 47 forks source link

replicate_id is not available at given path expected by clone script #93

Closed jenishshah671993 closed 9 months ago

jenishshah671993 commented 2 years ago

Hi Team, I have been trying cloning mechanism and it tries to copy replicate_id file from path EXEC_DIR/db/replicate_id but it actually reside on EXEC_DIR/replicate_id. So it's not getting copied, So when I execute download clone script it does not work as it does get replicate_id to start with. Could you please help me with him?

below is the structure where replicate_id resides

Screenshot 2022-04-25 at 10 27 13 AM
jenishshah671993 commented 2 years ago

I have also raised issue to overpass team and they mentioned that docker has script call init_done which they don't have https://github.com/drolbr/Overpass-API/issues/663

wiktorn commented 2 years ago

I don't know what you are trying to run and what kind of error you're running into.

docker-entrypoint.sh calls /app/bin/download_clone.sh --db-dir=/db/db

Which, in this line fetches replicate_id into /db/db/replicate_id.

When we move back to docker-entrypoint.sh its coping replicate_id one folder up:

cp /db/db/replicate_id /db/replicate_id

In the screenshot you've provided, you have both files present:

So sorry, don't understand what the issue is about.