No way to supply --runstate-dir on edgedb init
See original GitHub issueWhen trying to setup an EdgeDB instance on a limited environment; EdgeDB throws this warnings,
$ ~/.edgedb/bin/edgedb server init --nightly default
...
2020-12-20T11:44:34.0903426Z CRITICAL 6748 2020-12-20 11:44:34,089 edb.server: cannot create the runstate directory: '/run/user/1001' does not exist; please use --runstate-dir to specify the correct location
but I couldn’t find how to pass this as an option;
$ ~/.edgedb/bin/edgedb server init --runstate-dir x --nightly test
error: Found argument '--runstate-dir' which wasn't expected, or isn't valid in this context
If you tried to supply `--runstate-dir` as a PATTERN use `-- --runstate-dir`
USAGE:
edgedb server init [FLAGS] [OPTIONS] <name>
For more information try --help
or
$ ~/.edgedb/bin/edgedb --runstate-dir server init x --nightly test
error: Found argument '--runstate-dir' which wasn't expected, or isn't valid in this context
If you tried to supply `--runstate-dir` as a PATTERN use `-- --runstate-dir`
USAGE:
edgedb [FLAGS] [OPTIONS] [SUBCOMMAND]
For more information try --help
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (14 by maintainers)
Top Results From Across the Web
edgedb project init
This command sets up a new project, creating an instance and a schema directory for it. It can also be used to convert...
Read more >Error initializing server · Issue #2153 · edgedb ... - GitHub
I am building with docker build -t edgedb_test . . The error is: > [2/2] RUN edgedb server install --method=docker: #5 1.078 edgedb...
Read more >README.md - Create pdf from source files
means any form of electronic, verbal, or written communication ... Reworked auth setup via ``edgedb server init`` (`#91.
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 Free
Top 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
By the way, looking at original issue: https://github.com/reizio/reiz.io/pull/24 (/cc @isidentical )
edgedb/setup-edgedb
github action to install edgedbXDG_RUNTIME_DIR
means you don’t have systemd user daemon too, as far as I remember. You may try: (i.e. running server as a subprocess rather than service and backgrounding via shell)edgedb/run-edgedb
github action to run a server (and configure credentials)@haikyuu two posible workarounds:
env: {XDG_RUNTIME_DIR: "${{ runner.temp }}/edgedb"}
in the environment, covering all actions that touch edgedb and client apps (e.g. root of your workflow or a job)