Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graphs_data_access not recognized when using ors.war #1878

Open
1 task done
knowname opened this issue Oct 31, 2024 · 1 comment
Open
1 task done

graphs_data_access not recognized when using ors.war #1878

knowname opened this issue Oct 31, 2024 · 1 comment

Comments

@knowname
Copy link

knowname commented Oct 31, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

I am running the ors.war binary, v8.2.0 from releases with tomcat10. (edit: same with v8.1.3, v8.0.1)

My config file is ors-config.yml:

ors:
  engine:
    source_file: /srv/openrouteservice/data/osm.osm.pbf
    graphs_root_path: /srv/openrouteservice/data/graphs
    graphs_data_access: RAM_STORE
    profiles:
      car:
        enabled: true

When restarting tomcat, the import fails with Unhandled exception at RoutingProfileManager initialization: Output files can not be written. Make sure ors.engine.graphs_data_access is set to a writable type!.

Error log with more context /var/log/tomcat10/ors.log, (full log):

2024-10-31 09:48:23 INFO [o.h.o.r.g.e.ORSGraphHopper              ] - start creating graph from /srv/openrouteservice/data/osm.osm.pbf
2024-10-31 09:48:23 INFO [o.h.o.r.g.e.ORSGraphHopper              ] - using CH|car_ors|RAM_STORE|3D|turn_cost|,,,,, memory:totalMB:12288, usedMB:469
2024-10-31 09:48:24 ERROR [o.h.o.r.RoutingProfileManager           ] - 
2024-10-31 09:48:24 ERROR [o.h.o.r.RoutingProfileManager           ] - Unhandled exception at RoutingProfileManager initialization: Output files can not be written. Make sure ors.engine.graphs_data_access is set to a writable type! 
2024-10-31 09:48:24 ERROR [o.h.o.r.RoutingProfileManager           ] - 
2024-10-31 09:48:24 INFO [o.h.o.a.s.l.ORSInitContextListener      ] - Shutting down openrouteservice {"build_date":"2024-10-09T09:29:55Z","version":"8.2.0"} and releasing resources.

What I tried so far:

Proposed solution

Option should have been picked up.

Additional context

OS: Ubuntu:24.04 using vagrant with VirtualBox. (edit: same without virtualbox / vagrant)

Forum Topic Link

No response

@MichaelsJP
Copy link
Member

@knowname Thanks for opening the issue and for the abundance of information. This is the perfect issue ❤️ .

We will get back to you in time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants