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

Permission issues on conf directory #71

Closed
klpanagi opened this issue Mar 26, 2023 · 0 comments
Closed

Permission issues on conf directory #71

klpanagi opened this issue Mar 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@klpanagi
Copy link
Contributor

Describe the bug

The Dockerfile does not set permissions for the /usr/src/app/conf/ directory, as with other dirs (https://github.com/hummingbot/gateway/blob/development/Dockerfile#L36), thus it causes gateway to crash on startup due to access error on that path.

2023-03-26-155040_951x375_scrot

This does not happen when the gateway-create.sh script is used because the permissions are set by the script, thus it is not a generic solution. The Dockerfile should set these permissions, thus making it possible to use other deployment schemas, other than the gateway-create.sh script. Such cases include compose and the usage of docker volumes.

Discord discussion: https://discord.com/channels/530578568154054663/1004143639733215392/1079418334199685120

Steps To Reproduce

Start gateway via docker without the gateway-create.sh script.

Release version

1.13.0 / development branch

Discord username: klpanagi

@klpanagi klpanagi added the bug Something isn't working label Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants