Comments (3)
Interesting, when I'm testing, it fails with:
DEBUG: Starting download at ID 3526444 (max 100 MB)
Traceback (most recent call last):
File "/app/venv/bin/pyosmium-get-changes", line 243, in <module>
exit(main(sys.argv[1:]))
File "/app/venv/bin/pyosmium-get-changes", line 227, in main
simplify=options.simplify)
File "/app/venv/lib/python3.5/site-packages/osmium/replication/server.py", line 125, in apply_diffs
diffs = self.collect_diffs(start_id, max_size)
File "/app/venv/lib/python3.5/site-packages/osmium/replication/server.py", line 93, in collect_diffs
left_size -= rd.add_buffer(diffdata, self.diff_type)
RuntimeError: Unknown element in <way>: bbox
As you're using http://download.openstreetmap.fr/replication/europe/germany/minute/
which is incompatible with latest pyosmium changes. As the problem was fixed in libosmium, once it is released, and pyosmium gets released, this should be resolved.
Try using: http://download.geofabrik.de/europe/germany/baden-wuerttemberg/tuebingen-regbez-updates/ as your DIFF_URL
Coming back to the problem that you have: what kind of volume are you using in your mount?
from overpass-api.
I used the following mount before: -v /big/docker/overpass_db/:/db
but I used the default volume that will be created from docker.
But it looks like my docker installation is to blame for this problem. I use Docker for Windows.
Everything works on my Centos machine. There I also checked the URL customization. Work like a charm!
from overpass-api.
Hi!
I am also getting some similar erros while using this prompt. I need full planet. Any ideas on how to make it work?
docker run
-e OVERPASS_META=yes
-e OVERPASS_MODE=clone
-e OVERPASS_DIFF_URL=https://planet.openstreetmap.org/replication/minute/
-v /home/climbs/Documents/overpassturbo/overpass_fullplanet/:/db
-i -t
--name overpass_world
wiktorn/overpass-api
Message (shortened):
Starting supervisord process
2023-12-23 03:59:00,179 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2023-12-23 03:59:00,180 INFO supervisord started with pid 1
2023-12-23 03:59:01,183 INFO spawned: 'overpass_dispatch' with pid 8
2023-12-23 03:59:01,184 INFO spawned: 'nginx' with pid 9
2023-12-23 03:59:01,185 INFO spawned: 'fcgiwrap' with pid 10
2023-12-23 03:59:01,187 INFO spawned: 'update_overpass' with pid 11
2023-12-23 03:59:01,188 INFO spawned: 'dispatcher_areas' with pid 14
2023-12-23 03:59:01,189 INFO spawned: 'areas_rules' with pid 17
tee: /db/changes.log: Permission denied
/app/bin /
cp: cannot create regular file '/db/replicate_id.backup': Permission denied
2023-12-23 03:59:02,196 INFO success: overpass_dispatch entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-12-23 03:59:02,196 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-12-23 03:59:02,196 INFO success: fcgiwrap entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-12-23 03:59:02,196 INFO success: update_overpass entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-12-23 03:59:02,196 INFO success: dispatcher_areas entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-12-23 03:59:02,196 INFO success: areas_rules entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
After 0h0m15s: in "make-area", part 0, on line 29. Stack: 0 of 0 38 of 0
127.0.0.1 - - [23/Dec/2023:03:59:30 +0000] "GET /api/interpreter?data=[out:json];node(1);out; HTTP/1.1" 200 641 "-" "curl/7.74.0"
After 0h0m30s: in "make-area", part 0, on line 29. Stack: 0 of 0 2172 of 0
After 0h0m45s: in "recurse", part 0, on line 27. Stack: 0 of 0 11632 of 0 0 of 0
127.0.0.1 - - [23/Dec/2023:04:00:00 +0000] "GET /api/interpreter?data=[out:json];node(1);out; HTTP/1.1" 200 641 "-" "curl/7.74.0"
After 0h1m0s: in "recurse", part 0, on line 26. Stack: 0 of 0 25424 of 0 0 of 0
tee: /db/changes.log: Permission denied
cp: cannot create regular file '/db/replicate_id.backup': Permission denied
After 0h1m15s: in "make-area", part 0, on line 29. Stack: 0 of 0 32934 of 0
127.0.0.1 - - [23/Dec/2023:04:00:30 +0000] "GET /api/interpreter?data=[out:json];node(1);out; HTTP/1.1" 200 658 "-" "curl/7.74.0"
After 0h1m30s: in "recurse", part 0, on line 26. Stack: 0 of 0 46048 of 0 0 of 0
After 0h1m45s: in "recurse", part 0, on line 26. Stack: 0 of 0 56668 of 0 0 of 0
After 0h2m0s: in "make-area", part 0, on line 29. Stack: 0 of 0 65426 of 0
127.0.0.1 - - [23/Dec/2023:04:01:01 +0000] "GET /api/interpreter?data=[out:json];node(1);out; HTTP/1.1" 200 658 "-" "curl/7.74.0"
tee: /db/changes.log: Permission denied
from overpass-api.
Related Issues (20)
- Change default of OVERPASS_CLONE_SOURCE to https HOT 2
- File_Blocks_Index: Unsupported index file format version HOT 2
- Clone overpass docker container with data to another VM issue HOT 1
- Update docker image to contain Overpass API version v0.7.61 HOT 1
- Handle (or not) non-minute diffs HOT 1
- Failed to process planet file HOT 5
- Error when running the same query twice HOT 5
- Docker status showing "health: starting" continuously HOT 1
- Docker status showing "health: starting" continuously HOT 3
- Multiple countries + updates HOT 6
- localhost didn’t send any data. ERR_EMPTY_RESPONSE. HOT 1
- Overpass API default output format HOT 1
- "allow-duplicate-queries" seems to work partially HOT 8
- [Question] How to update env vars after the container is created? HOT 1
- Infinite download loop on image run, no connection to port HOT 1
- Error starting built image for arm64 bookworm - failed to process planet file HOT 3
- Starting container after init_done complete error with supervisor supervisor: couldn't exec /app/bin/update_overpass_loop.sh: EACCES HOT 19
- Preprocess command fails with error - no such file or directory HOT 5
- Permission denied on some files HOT 1
- Latest Europe continent database indexing taking too much time HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from overpass-api.