mediasuitenz / docker-overpass-api

Docker Overpass API
MIT License
47 stars 25 forks source link

Non-Zero Error-Code 134 #6

Open 2Max4 opened 4 years ago

2Max4 commented 4 years ago

Hey, during docker build an error occured in step 11. It says:

Error' /srv/osm3s/bin/init_osm3s.sh: line 44: 8 Broken pipe bunzip2 < $PLANET_FILE 9 Aborted | $EXEC_DIR/bin/update_database --db-dir=$DB_DIR/ $META $COMPRESSION

The command '/bin/sh -c /srv/osm3s/bin/init_osm3s.sh "$PLANET_FILE" "$DB_DIR" "$EXEC_DIR" && rm -f "$PLANET_FILE"' returned a non-zero code: 134

Does anyone know about this kind of error?

I am working on an ec2 t2.large with 50GB of EBS and Amazon Linux. As planet.osm.bz2 I have downloaded Germany,Austria,Switzerland form : Geofabrik

2Max4 commented 4 years ago

I have retried it today with a new instance - this time running Ubuntu Server 18.04.4 LTS Sadly got the same error....

Any ideas?

mmc1718 commented 2 years ago

Hi there, this issue was posted a while ago but in case it's still of interest, I am currently running the docker build step and haven't had the error you are seeing

it's this line, right? Step 11/16 : RUN /srv/osm3s/bin/init_osm3s.sh "$PLANET_FILE" "$DB_DIR" "$EXEC_DIR" && rm -f "$PLANET_FILE"

Although when I look at the command that caused the error for you it is slightly different.. Which step exactly was it?

Also, you say you have downloaded three files - did you merge them into one? I am using the north america extract from Geofabrik too