Error initializing server
See original GitHub issue- EdgeDB Version: 1-alpha5
- OS Version: Docker container (edgedb/edgedb)
Steps to Reproduce:
- I tried setting up an EdgeDB instance in a docker container using this Dockerfile:
FROM edgedb/edgedb
EXPOSE 5656
USER daemon
RUN edgedb server upgrade
RUN edgedb server init
- I am getting the following error:
#6 0.815 [2021-01-26T08:10:21Z ERROR edgedb::server::init] Bootstrap error, cleaning up...
#6 0.815 Error: failed to clean up /usr/sbin/.local/share/edgedb/data/default: No such file or directory (os error 2)
- I am not sure if I am doing this correctly because I am also quite new to Docker. I switched the user to daemon because it had trouble when run as root and daemon was apparently a user that was already created. What I want to do is I want to create a Docker container which sets up and runs my database.
Am I doing something wrong?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Server initialization failed Error: 0XE001003E
If a Windows Resource Protection (WRP) file is missing or is corrupted, Windows may not behave as expected. For example, some Windows functions ......
Read more >ERROR INITIALIZING SERVER - Forums - 7 Days to Die
Game quit unexpectedly. Upon attempting to re-start, after selecting Continue Game, got the following message: "Starting the server failed.
Read more >Error "Setup cannot initialize the server." occurs while ...
Open the command prompt as an Administrator. Right-click cmd.exe > Run as Administrator. Reboot the server. After the reboot, check the HTTP driver....
Read more >Error initializing server: Createsocketorthreadefailure - Reddit
Says open task manager and close any instance of 7daystodie.exe and try again. If it doesn't work, let me know I'll keep looking...
Read more >7 days to die error initializing server create socket or thread ...
So i delete the game and installed it again and every thing was normal again... Didn't use the server though... But then i...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The
edgedb server install
is meant to be used on the host to setup and run EdgeDB instances without having to use thedocker
CLI directly. You shouldn’t normally need to run it in anedgedb/edgedb
container, because the image already has the server installed and ready to use.If you need to run the Docker image directly, you can do it as such:
(I used the nightly image above, because
:latest
and:1-alpha7
are unfortunately broken due to https://github.com/edgedb/edgedb-docker/issues/9)Point taken. We’ve made lots of changes to the setup flow recently with the introduction of
edgedb server
CLI and the docs currently focus on that. We are working on putting together Docker/Docker Compose guides as well for the upcoming Beta.As of edgedb/edgedb-cli#238 we emit an error message when running
edgdb server install
in container. I think there is nothing actionable left in this issue.