Couldn't Process File data/osm_file.pbf during Docker Install Process

Off a fresh clone of OpenRouteService, like right out of the gate, my command line returns an error after the first four commands! What am I missing?

The Commands I Write

git clone https://github.com/GIScience/openrouteservice.git
cd docker
docker-machine start default
docker-compose up -d

The Error I Get In Command Line

ors-app    | 23 Mar 07:21:21 ERROR [routing.RoutingProfileManager] - 
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file 
data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 
72000000 bytes with offset 100, new fileLength:72351844

The Full ors.log File If that Helps

2020-03-23 03:08:46,984 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
2020-03-23 03:08:47,090 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_242]
	at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:162) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:57) ~[classes/:6.0.0]
	at org.heigit.ors.servlet.listeners.ORSInitContextListener.lambda$contextInitialized$0(ORSInitContextListener.java:40) ~[classes/:6.0.0]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:324) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more
Caused by: java.lang.RuntimeException: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at com.graphhopper.storage.MMapDataAccess.mapIt(MMapDataAccess.java:239) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.ensureCapacity(MMapDataAccess.java:196) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:180) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:60) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.AbstractTiffElevationProvider.getEle(AbstractTiffElevationProvider.java:131) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.MultiSourceElevationProvider.getEle(MultiSourceElevationProvider.java:52) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.getElevation(OSMReader.java:679) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.addNode(OSMReader.java:640) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.processNode(OSMReader.java:605) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:291) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more
Caused by: java.io.IOException: Invalid argument
	at sun.nio.ch.FileChannelImpl.map0(Native Method) ~[?:1.8.0_242]
	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:924) ~[?:1.8.0_242]
	at com.graphhopper.storage.MMapDataAccess.newByteBuffer(MMapDataAccess.java:254) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.mapIt(MMapDataAccess.java:232) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.ensureCapacity(MMapDataAccess.java:196) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:180) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:60) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.AbstractTiffElevationProvider.getEle(AbstractTiffElevationProvider.java:131) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.MultiSourceElevationProvider.getEle(MultiSourceElevationProvider.java:52) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.getElevation(OSMReader.java:679) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.addNode(OSMReader.java:640) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.processNode(OSMReader.java:605) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:291) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more
2020-03-23 07:11:56,507 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
2020-03-23 07:11:56,519 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_242]
	at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:162) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:57) ~[classes/:6.0.0]
	at org.heigit.ors.servlet.listeners.ORSInitContextListener.lambda$contextInitialized$0(ORSInitContextListener.java:40) ~[classes/:6.0.0]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:324) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more
Caused by: java.lang.RuntimeException: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at com.graphhopper.storage.MMapDataAccess.mapIt(MMapDataAccess.java:239) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.ensureCapacity(MMapDataAccess.java:196) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:180) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:60) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.AbstractTiffElevationProvider.getEle(AbstractTiffElevationProvider.java:131) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.MultiSourceElevationProvider.getEle(MultiSourceElevationProvider.java:52) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.getElevation(OSMReader.java:679) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.addNode(OSMReader.java:640) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.processNode(OSMReader.java:605) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:291) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more
Caused by: java.io.IOException: Invalid argument
	at sun.nio.ch.FileChannelImpl.map0(Native Method) ~[?:1.8.0_242]
	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:924) ~[?:1.8.0_242]
	at com.graphhopper.storage.MMapDataAccess.newByteBuffer(MMapDataAccess.java:254) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.mapIt(MMapDataAccess.java:232) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.ensureCapacity(MMapDataAccess.java:196) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:180) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:60) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.AbstractTiffElevationProvider.getEle(AbstractTiffElevationProvider.java:131) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.MultiSourceElevationProvider.getEle(MultiSourceElevationProvider.java:52) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.getElevation(OSMReader.java:679) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.addNode(OSMReader.java:640) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.processNode(OSMReader.java:605) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:291) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more
2020-03-23 07:21:21,718 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
2020-03-23 07:21:21,728 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_242]
	at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:162) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:57) ~[classes/:6.0.0]
	at org.heigit.ors.servlet.listeners.ORSInitContextListener.lambda$contextInitialized$0(ORSInitContextListener.java:40) ~[classes/:6.0.0]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:324) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more
Caused by: java.lang.RuntimeException: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at com.graphhopper.storage.MMapDataAccess.mapIt(MMapDataAccess.java:239) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.ensureCapacity(MMapDataAccess.java:196) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:180) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:60) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.AbstractTiffElevationProvider.getEle(AbstractTiffElevationProvider.java:131) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.MultiSourceElevationProvider.getEle(MultiSourceElevationProvider.java:52) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.getElevation(OSMReader.java:679) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.addNode(OSMReader.java:640) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.processNode(OSMReader.java:605) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:291) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more
Caused by: java.io.IOException: Invalid argument
	at sun.nio.ch.FileChannelImpl.map0(Native Method) ~[?:1.8.0_242]
	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:924) ~[?:1.8.0_242]
	at com.graphhopper.storage.MMapDataAccess.newByteBuffer(MMapDataAccess.java:254) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.mapIt(MMapDataAccess.java:232) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.ensureCapacity(MMapDataAccess.java:196) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:180) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:60) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.AbstractTiffElevationProvider.getEle(AbstractTiffElevationProvider.java:131) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.MultiSourceElevationProvider.getEle(MultiSourceElevationProvider.java:52) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.getElevation(OSMReader.java:679) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.addNode(OSMReader.java:640) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.processNode(OSMReader.java:605) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:291) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more

Hope everyone is safe and healthy through the Coronavirus Outbreak. Stay well.

  • Dylan
1 Like

Hi @Dylansc22,

it could be a problem with the elevation data that gets downloaded - the libraries can be a bit temperamental for that. The first thing to try would be to wipe the elevation data folder and then try to run it again.

If that doesn’t work, then issues with MMapDataAccess can also be caused by the Linux not being able to allocate memory for some reason, so make sure that you have in general enough memory on your machine.

it could be a problem with the elevation data that gets downloaded - the libraries can be a bit temperamental for that. The first thing to try would be to wipe the elevation data folder and then try to run it again.

  • I did that and got the same error (listed below again)
 23 Mar 18:20:17 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: 
java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 
69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844

If that doesn’t work, then issues with MMapDataAccess can also be caused by the Linux not being able to allocate memory for some reason, so make sure that you have in general enough memory on your machine.

  • I have 8GB of RAM

Anyone?

Hmm, not sure what else to suggest as just ran it here “out of the box” and it worked without problems…

@adam C’mon. Please help me! Don’t just move on… I am unemployeed bartender in Tucson Arizona, and just lost my job this week because of coronavirus. I’ve spent the past 3 years teaching myself web-dev and building this www.tucsonpathways.org/map to hopefully and get a job in my field of study, and finally make a living wage… I am so unbelievably desperate to get this a custom weighted router integrated into my website. I will literally venmo you $100 if you help me through a Google Hangout Screen Share!!!

Why the hell is none of this working!?

ors.log

2020-03-24 08:02:59,503 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
2020-03-24 08:02:59,512 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_242]
	at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:162) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:57) ~[classes/:6.0.0]
	at org.heigit.ors.servlet.listeners.ORSInitContextListener.lambda$contextInitialized$0(ORSInitContextListener.java:40) ~[classes/:6.0.0]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:324) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more
Caused by: java.lang.RuntimeException: Couldn't map buffer 0 of 69 for srtm_38_03.gh at position 100 for 72000000 bytes with offset 100, new fileLength:72351844
	at com.graphhopper.storage.MMapDataAccess.mapIt(MMapDataAccess.java:239) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.ensureCapacity(MMapDataAccess.java:196) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:180) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:60) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.AbstractTiffElevationProvider.getEle(AbstractTiffElevationProvider.java:131) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.MultiSourceElevationProvider.getEle(MultiSourceElevationProvider.java:52) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.getElevation(OSMReader.java:679) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.addNode(OSMReader.java:640) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.processNode(OSMReader.java:605) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:291) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more
Caused by: java.io.IOException: Invalid argument
	at sun.nio.ch.FileChannelImpl.map0(Native Method) ~[?:1.8.0_242]
	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:924) ~[?:1.8.0_242]
	at com.graphhopper.storage.MMapDataAccess.newByteBuffer(MMapDataAccess.java:254) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.mapIt(MMapDataAccess.java:232) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.ensureCapacity(MMapDataAccess.java:196) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:180) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.storage.MMapDataAccess.create(MMapDataAccess.java:60) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.AbstractTiffElevationProvider.getEle(AbstractTiffElevationProvider.java:131) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.dem.MultiSourceElevationProvider.getEle(MultiSourceElevationProvider.java:52) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.getElevation(OSMReader.java:679) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.addNode(OSMReader.java:640) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.processNode(OSMReader.java:605) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:291) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:176) ~[graphhopper-reader-osm-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importData(GraphHopper.java:717) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.process(GraphHopper.java:688) ~[graphhopper-core-v0.12.2.jar:?]
	at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:666) ~[graphhopper-core-v0.12.2.jar:?]
	at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:130) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:173) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfile.<init>(RoutingProfile.java:119) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.0.0]
	at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.0.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
	... 1 more

docker-compose.yml

version: '3'
services:
  ors-app:
    container_name: ors-app
    ports:
    - 8080:8080
    build:
      context: ../
      args:
        APP_CONFIG: ./customORS/app.config
        OSM_FILE: ./customORS/arizona-latest.osm.pbf
    volumes:
      - ./graphs:/ors-core/data/graphs
      - ./elevation_cache:/ors-core/data/elevation_cache
      - ./logs/ors/:/var/log/ors/
      - ./logs/tomcat/:/usr/local/tomcat/logs
      - ./conf/app.config.sample:/ors-core/openrouteservice/target/classes/app.config
      - ./data/heidelberg.osm.gz:/ors-core/data/osm_file.pbf
    environment:
      - BUILD_GRAPHS=False  # Forces the container to rebuild the graphs, e.g. when PBF is changed in app.config
      - JAVA_OPTS="-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=4 -Xms1g -Xmx2g"
      - CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.rmi.port=9001 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost"

app.config

{
   "ors":{
     "info": {
       "base_url": "https://openrouteservice.org/",
       "support_mail": "support@openrouteservice.org",
       "author_tag": "openrouteservice",
       "content_licence": "LGPL 3.0"
      },
      "services":{
         "matrix":{
            "enabled":true,
            "maximum_locations":200,
            "maximum_visited_nodes":100000,
            "allow_resolve_locations":true,
            "attribution":"openrouteservice.org, OpenStreetMap contributors"
         },
         "isochrones":{
            "enabled":true,
            "maximum_range_distance":[
               {
                  "profiles":"any",
                  "value":50000
               },
               {
                  "profiles":"driving-car, driving-hgv, cycling-regular, foot-walking",
                  "value":100000
               }
            ],
            "maximum_range_time":[
               {
                  "profiles":"any",
                  "value":18000
               },
               {
                  "profiles":"driving-car, driving-hgv, cycling-regular, foot-walking",
                  "value":3600
               }
            ],
            "maximum_intervals":10,
            "maximum_locations":2,
            "allow_compute_area":true,
            "attribution":"openrouteservice.org, OpenStreetMap contributors"
         },
         "routing":{
            "enabled":true,
            "mode":"normal",
            "sources":[
               "C:/Users/user/ORS_testing/3_test/openrouteservice/customORS/arizona-latest.osm.pbf"
            ],
            "init_threads":1,
            "attribution":"openrouteservice.org, OpenStreetMap contributors",
            "distance_approximation":true,
            "profiles":{
               "active":[
                   "bike"
               ],
               "default_params": {
                   "encoder_flags_size": 8,
                   "graphs_root_path": "C:/Users/user/ORS_testing/3_test/openrouteservice/customORS/graphs",
                   "elevation_provider": "multi",
                       "elevation_cache_path": "C:/Users/user/ORS_testing/3_test/openrouteservice/customORS/elevation_cache",
                   "elevation_clear_cache": true,
                   "instructions": true,
                   "maximum_distance": 100000,
                   "maximum_segment_distance_with_dynamic_weights": 100000,
                   "maximum_waypoints": 50
               },
               "profile-bike":{
                  "profiles":"cycling-regular",
                  "parameters":{
                     "encoder_options":"consider_elevation=false|turn_costs=true|block_fords=false",
                     "elevation":false,
                     "preparation":{
                        "min_network_size":200,
                        "min_one_way_network_size":200,
                        "methods":{
                           "ch":{
                              "enabled":false,
                              "threads":8,
                              "weightings":"fastest"
                           },
                           "lm":{
                              "enabled":false,
                              "threads":8,
                              "weightings":"fastest,shortest",
                              "landmarks":24
                           }
                        }
                     },
                     "execution":{
                        "methods":{
                           "astar":{
                              "approximation":"BeelineSimplification",
                              "epsilon":1
                           },
                           "ch":{
                              "disabling_allowed":true
                           },
                           "lm":{
                              "disabling_allowed":true,
                              "active_landmarks":6
                           }
                        }
                     },
                     "ext_storages":{
                        "WayCategory":{

                        },
                        "WaySurfaceType":{

                        },
                        "TrailDifficulty":{

                        },
                        "GreenIndex": { "filepath": "C:/Users/user/ORS_testing/3_test/openrouteservice/customORS/TNR_v9.csv" }
                     }
                  }
               }
            }
         }
      },
      "logging": {
          "enabled": true,
          "level_file": "PRODUCTION_LOGGING.json",
          "location": "C:/Users/user/ORS_testing/3_test/openrouteservice/customORS/logs",
          "stdout": true
      }
   }
}

tree
openrouteservice
|— customORS
------ app.config
------ arizona-latest.osm.pbf
------ TNR_v9.csv
|----docker
|----openrouteservice

Sorry to hear that @Dylansc22. Your web app looks cool though, so it seems you’re heading the right direction! Best of luck with the web dev effort!

It’s really hard to remotely debug this… First, it’s Windows… Second, you change everything in the app.config, which certainly complicates things. Just don’t change anything in there if you don’t really have to. Especially not the paths! This is Docker, so the paths in the app.config relate to the paths in the container, not on your host!

Delete everything, fresh clone and ONLY change the docker-compose.yml. Don’t change locations of files, folders, don’t change paths in the app.config most importantly. Then rebuild the image! You most certainly forgot to do that, because the elevation tile it’s trying to access is for Heidelberg, which is the default dataset. Also, please read up a little more how Docker works and what docker-compose up really does.

And PLEASE follow the documentation, otherwise it’s unfair to expect support:

Edits will be to improve readability

First off thank you for the tips @nils, sorry I didn’t get back to you til now. And sorry for my persnickety attitude online. I’ve been at this for months, and didn’t solve it til this past week. I appreciate your reply earlier, and I imagine you’re quite busy beyond trying to bring a novice programmer up to speed =].

Anyway after several months, I’ve gotten OpenRouteService up and running on my local machine. Below are some instructions that worked for me in successfully running ORS in Virtualbox on a Windows Machine. (I should add I am a lay person when it comes to web-development - I know github, GIS softwares, some python some web design, but I’m not a developer I’m not a programmer by trade.) So take my instructions with a grain of salt.

First off some background on Docker in lay-terms (skip to numbered section if you have a good understanding of docker already)
To my understanding, Windows 10 Home edition computers don’t have Hyper-V software baked into the OS. Enterprise edition does, but not Home Edition. Hyper-v enables “virtualization of your computer”… i.e. it enables windows computers to run linux software structures inside a virtualized-mini-computer on your OS. Linux structures are common for server management, and a lot of the software on github (including ORS), and github documentation often seems to assume users are on Macs or Linux systems which are more common in web-development. Thus troubleshooting or instructions (ORS included) may omit steps required for windows users.

So there are plenty of youtube videos explaining why docker is so great for programmers and developers to overcome “environment hell” (Here is one video, I felt went fairly deep in that understanding).

With that said, docker essentially creates a docker image of an application - listing everything you need to run it and all the dependency softwares, and the software scripts that depend on other software scripts to run properly. And it takes all of that, and downloads it and packages it up together and builds that docker image into a docker container. (In a vast oversimplification to baking a cake, the docker-image = recipe, docker = baker, and the container = cake…And windows is a house without a kitchen!! So you download Virtualbox and create a ‘kitchen’ inside there). In slightly more technical terms Docker is a linux based program(?), and can’t natively run on windows - so you download and run Docker-toolbox which deploys docker inside Virtualbox software, and docker runs inside ther.

So to run ORS via Docker-Toolbox (i.e. on a Windows Machine), do these following steps in combo with the github docker install documentation :

  1. Setup Port Forwarding In VirtualBox
    (After installing Docker-toolbox, open VirtualBox.)
    1a. In VirtualBox Navigate to Settings > Network > Advance > Port Forwarding
    1b. Add a new Port Forwarding Rule
    1c. Setup Rule with HostPort 8080, and Guest Port 8080 (I don’t totally get this, servers and ports are kinda confusing to me, but as I understand there are 100s of ports to choose to send data/receive data on over a network. Some are reserved for certain info, others you can pick whatever port you wan to use. By setting the hostport/guestport in virtualbox this is basically making sure the virtual machine port that is sends/receives data on is linked to what shows up on your internet browser when your localhost server is up and running. So when you are making direction requests on a webmap in Google Chrome on localhost/8080, it knows to point down inside the virtual machine which is listening and ready to send and receive data back out on the 8080 port which localhost is operating on.

  2. Allocate Extra Memory through VirtualBox
    2a. Navigate to Settings > System > Motherboard
    2b. Adjust the amount of memory you use here. Mine started at 1GB and I upped it to 4GB (of 8GB total on my computer. During an earlier install, I kept erroring out because I didn’t have enough memory, and I kept following the github doc instructions (which doesn’t apply to Docker-toolbox/windows 10 Home Ed. setups). Remember, your computer isn’t running docker! Virtualbox is running docker! So if you need to adjust the memory used in the install, adjust the amount of memory dedicated in Virtualbox first! The github docs says the following regarding the memory allocation:

  • It should be mentioned that if your dataset is very large, please adjust the -Xmx parameter of JAVA_OPTS environment variable. A good rule of thumb is to give Java 2 x file size of the PBF per profile .
  1. Open the docker-entrypoint.sh file in your code-text editor (I use Sublime-text).
    3a. (You might have to run a ‘docker-machine default start’ to generate this file I think (?) I cant remember if it shows up after just downloading the openrouteservice files from a git clone…
    3b. Anyway, once you open the docker-entrypoint.sh file Select All text
    3c. (in Sublime text at least) go to View > Line Endings > Unix (You need to format the line endings from “windows line endings” to “linux/unix” line endings. Otherwise it will error out…

  2. You are ready to run a docker-compose up
    4a. For the state of Arizona, it takes me like 10 minutes
    4b. Click Ctrl + Alt + Delete > Task Manager > Wifi to watch the Wifi graph to see it download/processing the data

  3. If you have any other errors in the process
    5a. Delete the graphs folder, logs folder, and elevation_cache folder
    5b. Delete the ORS docker-image that might be corruptly built, and try it again. You can see the docker images on your VirtualBox by running docker images. Delete the ORS image by running docker rmi <imageID>. You might need to delete the associated docker-container as well. List all your docker containers by running docker ps -a. Delete the ORS docker-container by running docker rm <containerID>
    5c. Rebuild the docker image docker-compose --build
    5d. Run the rebuild ORS docker image docker-compose up
    5e. Again, wait like 10 minutes, monitor the Wifi, and processor in Task Manager
    5f. After it has all calmed down, query the service status is queryable via http://localhost:8080/ors/health and http://localhost:8080/ors/status for further information on the running services.

Hopefully this, in combo with the github documentation, helps someone else eventually… Don’t ask me if you have questions… It took me 3 months what it probably takes others in one afternoon to figure out…

Hope everyone is safe any healthy
Dylan

1 Like

Oh wow, thanks so much @Dylansc22, I’m sure other Windows users will appreciate the detailed guide!

I had to do Windows installs myself a few times and it’s really painful every single time. This might be able to make a difference:

Maybe they include Hyper-V to Home Edition soon as well. That’s surely a pain, what good is Docker if you can’t use Linux containers… In latest Windows server editions you actually get Docker with Hyper-V enabled, so you can run Linux containers. Didn’t try much though.

In any case, happy it worked out for you Dylan! If you didn’t already, I strongly encourage you to install Linux on the side if you have some time on your hands right now and learn how to develop on there. If you wanna get into more serious development the effort will pay off a million times. I did that only 2.5 years back and never looked back.

Thank you @nils! And yes, I feel like I’m finally in deep enough with this development process to warrant the support and simplicity of a Linux based workflow. It seems Mint would be an easier jump based on the UI. Thank you for the thoughts on this. =]

I have one more question I plan on posting likely later today or tomorrow in the forum. (I promise it will be much more straight forward) but I’d appreciate your feedback as usual!

Sure go ahead.

I never tried Mint myself, but stumble upon extra instructions for Mint users here and there. Suggesting that it’s slightly different from Ubuntu, which is still the main desktop distribution. And thus the one having most support, tutorials and forum entries. Also usually all relevant FOSS code repositories are mainly developed on Ubuntu and instructions are Ubuntu-specific. That’d be my recommendation for anyone switching to Linux for development.