Dear Community!
I am running into an issue when I am trying to run a self hosted openrouteservice with another OSM dataset than the Heidelberg area
My system: Windows 10, Openrouteservice v8.1.3
I did following steps:
-
Create a fresh folder openrouteservice using git clone
-
Create empty folders for ors-docker using
mkdir ors-docker\config ors-docker\elevation_cache ors-docker\graphs ors-docker\files ors-docker\logs -
Get the 8.1.3 version of docker-compose.yml and move it to the base directory openrouteservice
-
Move my custom osm file (norway-latest.osm.pbf) to ors-docker/files/norway-latest.osm.pbf
-
Update the ors-config.yml file:
remove line 9: source_file: ors-api/src/test/files/heidelberg.test.pbf
add line 9: source_file: ors-docker/files/norway-latest.osm.pbf
In the beginning, I tried to run after step 5. This led to an error after running for like 5 seconds.
Attaching to ors-app
': No such file or directorye 'bash
ors-app exited with code 127
So, I starting looking what the error might be. I found that this error might relate to windows line endings. So, I tried the following:
- Change to unix line endings using
dos2unix docker-compose.yml
dos2unix ors-config.yml
Then I continue as normal
- docker compose up --build
This runs for a while until it eventually crashes with the same error:
Attaching to ors-app
': No such file or directorye 'bash
ors-app exited with code 127
I really don’t know what I am doing wrong. Is there a stupid mistake which I don’t see? I appreciate any help on the issue. Thanks.