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

Cannot deploy Edgedb docker to Render.com #65

Open
ElijahJohnson5 opened this issue Oct 10, 2022 · 1 comment
Open

Cannot deploy Edgedb docker to Render.com #65

ElijahJohnson5 opened this issue Oct 10, 2022 · 1 comment

Comments

@ElijahJohnson5
Copy link

When trying to get edgedb working on render I ran into issues with the kill command usage in this dockerfile. Render seems to not allow using the kill command when running the dockerfile as it gives an operation not permitted error when trying to kill the temporary server. Any workaround for this would be great

@coreyward
Copy link

According to this, EdgeDB is trying to run kill as root instead of the EdgeDB user.

We’ve done some investigation on our end, and suspect that lines 1156-1163 in EdgeDB’s docker-entrypoint-funcs.sh file are causing the permissions issue: https://github.com/edgedb/edgedb-docker/blob/21b05dd52311d95007b956737ed8759e139ceee8/docker-entrypoint-funcs.sh#L1156 3

By default, Render runs these Docker scripts with root user, but the EdgeDB server is being started with a non-root user. When the script later attempts to kill edgedb_pid , the root user doesn’t have permission.

I would recommend trying to change the user in your Dockerfile to see if you can set a user with the correct permissions, or perhaps forking EdgeDB’s docker repo or reporting this in as an issue to them.

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

No branches or pull requests

2 participants