{"action":"opened","issue":{"url":"https://api.github.com/repos/drolbr/Overpass-API/issues/468","repository_url":"https://api.github.com/repos/drolbr/Overpass-API","labels_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/468/labels{/name}","comments_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/468/comments","events_url":"https://api.github.com/repos/drolbr/Overpass-API/issues/468/events","html_url":"https://github.com/drolbr/Overpass-API/issues/468","id":308125943,"number":468,"title":"/app/bin/init_osm3s.sh: line 44:    11 Broken pipe","user":{"login":"Jern97","id":34694161,"avatar_url":"https://avatars1.githubusercontent.com/u/34694161?v=4","gravatar_id":"","url":"https://api.github.com/users/Jern97","html_url":"https://github.com/Jern97","followers_url":"https://api.github.com/users/Jern97/followers","following_url":"https://api.github.com/users/Jern97/following{/other_user}","gists_url":"https://api.github.com/users/Jern97/gists{/gist_id}","starred_url":"https://api.github.com/users/Jern97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jern97/subscriptions","organizations_url":"https://api.github.com/users/Jern97/orgs","repos_url":"https://api.github.com/users/Jern97/repos","events_url":"https://api.github.com/users/Jern97/events{/privacy}","received_events_url":"https://api.github.com/users/Jern97/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-23T17:54:47Z","updated_at":"2018-03-23T17:54:47Z","closed_at":null,"author_association":"NONE","body":"I'm constantly having this error when I'm trying to import Belgium:\r\n\r\n`Reading XML file ... elapsed node 2689644801. Flushing to database ...... done.\r\nReading XML file ... finished reading nodes. Flushing to database ..terminate called after throwing an instance of 'File_Error'\r\n/app/bin/init_osm3s.sh: line 44:    11 Broken pipe             bunzip2 < $PLANET_FILE\r\n        12 Aborted                 | $EXEC_DIR/bin/update_database --db-dir=$DB_DIR/ $META $COMPRESSION`\r\n\r\nI've tested with Monaco (much smaller size) and that worked fine. I've also tested on multiple machines but got the same error. This is what i typed into the docker container:\r\n\r\n` docker-machine create default --virtualbox-cpu-count \"4\" --virtualbox-memory \"12000\" --virtualbox-disk-size \"60000\"`\r\n\r\nRam and disk size should be plenty, since I'm only importing a small country (I suppose).\r\nNext step is giving the machine the rights:\r\n\r\n`docker-machine env default`\r\n`eval $(\"C:\\Program Files\\Docker Toolbox\\docker-machine.exe\" env default)`\r\n\r\nNow i run the image provided by wiktorn:\r\n\r\n`docker run \\\r\n  -e OVERPASS_META=no \\\r\n  -e OVERPASS_MODE=init \\\r\n  -e OVERPASS_PLANET_URL=http://download.geofabrik.de/europe/belgium-latest.osm.bz2 \\\r\n  -e OVERPASS_DIFF_URL=http://download.openstreetmap.fr/replication/europe/belgium/minute/ \\\r\n  -e OVERPASS_PLANET_SEQUENCE_ID=2884687 \\\r\n  -v /big/docker/overpass_db/:/db \\\r\n  -p 12345:80 \\\r\n  -i -t \\\r\n  --name overpass_belgium wiktorn/overpass-api`\r\n\r\nIt proceeds to pull the image from dockerhub and download the planet file.\r\nAfter that it starts reading the XML file and the error occurs. As I said, I tried with small countries and they worked great. The line `terminate called after throwing an instance of 'File_Error'` isn't always present but the rest is.\r\n\r\nAny help is much appreciated. "}}
{"actor":{"display_login":"Jern97"}}