You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After performing the POSM cloud deployment i was unable to see any changeset even after loading the AOI and it appearing in the admin. Clicking on the AOI PBF file in the admin gave a 403 error. Trying to run the posm_deploy_full.sh in the terminal I found the following error accessing the PDF.
==> /opt/admin/posm-admin/scripts//osm_api-db-populate.sh: Populating API DB and setting sequences.
aoi dir: /opt/data/aoi/valparaiso
Feb 22, 2021 3:36:50 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.46
Feb 22, 2021 3:36:50 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Feb 22, 2021 3:36:50 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Feb 22, 2021 3:36:50 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Feb 22, 2021 3:36:50 PM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 1-read-pbf-fast failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to read PBF file /opt/data/aoi/valparaiso/osm/overpass.osm.pbf.
at org.openstreetmap.osmosis.pbf2.v0_6.PbfReader$1.get(PbfReader.java:50)
at org.openstreetmap.osmosis.pbf2.v0_6.PbfReader$1.get(PbfReader.java:40)
at org.openstreetmap.osmosis.pbf2.v0_6.PbfReader.run(PbfReader.java:82)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.FileNotFoundException: /opt/data/aoi/valparaiso/osm/overpass.osm.pbf (Permission denied)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.openstreetmap.osmosis.pbf2.v0_6.PbfReader$1.get(PbfReader.java:48)
... 3 more
I was able to work around the issue by adding a chmod 777 $2/osm/overpass.osm/pdf to the hotexport-move.sh script. Then after running posm_deploy_full.sh again all the changesets were loaded, and the PBF was able to be downloaded from the admin. I'm happy to create a pull request for this work around or a better one that doesn't hardcode the overpass name.
The text was updated successfully, but these errors were encountered:
After performing the POSM cloud deployment i was unable to see any changeset even after loading the AOI and it appearing in the admin. Clicking on the AOI PBF file in the admin gave a 403 error. Trying to run the posm_deploy_full.sh in the terminal I found the following error accessing the PDF.
I was able to work around the issue by adding a
chmod 777 $2/osm/overpass.osm/pdf
to the hotexport-move.sh script. Then after running posm_deploy_full.sh again all the changesets were loaded, and the PBF was able to be downloaded from the admin. I'm happy to create a pull request for this work around or a better one that doesn't hardcode the overpass name.The text was updated successfully, but these errors were encountered: