-
Notifications
You must be signed in to change notification settings - Fork 412
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
ORS_CONFIG_LOCATION doesn't work with *.yaml files #1816
Comments
Thanks for reporting. We'll have a look into it. Related to #1771 |
Just for clarification of the issue: (1) If Can you confirm that (2) does not work. If yes, could you please post the log output? |
It does work, logging:
However with:
there is no direct hint this problem is coming from ORS_CONFIG_LOCATION being set wrongly, only:
and then the error: |
Is there an existing issue for this?
Problem description
I set
ORS_CONFIG_LOCATION
environment value to the value/home/ors/config/config.yml
.Even with the DEBUG log level, it isn't used.
It is silently ignored.
After debugging, I've checked that it is due to not having the
json
oryml
extension..yaml
is a very widespread extension for YAML files. In fact, I never use.yml
.Proposed solution
Accept also *.yaml or document it isn't allowed.
Additional context
Version 8.1.0
Using Docker image.
By examining
docker-entrypoint.sh
I 've understood whtat happens.Forum Topic Link
No response
The text was updated successfully, but these errors were encountered: