geldata / geldata/gel-cli

instance_info.json not created on command "edgedb instance link"

Open
#1,063 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
175
Forks
32
PR merge metrics
No merged PRs in 30d

Description

- EdgeDB Version: on Mac: 2.16; Docker: v2 (latest on 2nd June 2023)
- EdgeDB CLI Version: 3.1.1
- OS Version: MacOS 13.0 (ARM64)

Steps to Reproduce:

1. docker-compose.yml with suggested minimal config in the documentation:

https://www.edgedb.com/docs/guides/deployment/docker

`version: "3"
services:
edgedb:
image: edgedb/edgedb
environment:
EDGEDB_SERVER_SECURITY: insecure_dev_mode
volumes:
- "./dbschema:/dbschema"
ports:
- "5656:5656"
`
2. docker-compose up -d
3. in Mac Terminal: edgedb instance link my_instance -H localhost -P 5656 -u edgedb -d edgedb --tls-security insecure
4. in Mac Terminal: edgedb instance stop -I my_instance -> yields following error: "edgedb error: error reading instance info: "/Users/user/Library/Application Support/edgedb/data/my_instance/instance_info.json": No such file or directory (os error 2)"
5. Check for existence of "/Users/user/Library/Application Support/edgedb/data/my_instance/instance_info.json" and it's parent directory.

Hello there and thank you for this great project!
When I deploy an edgedb Docker container (checked it - it works and takes connections) and try to establish a connection to it, the CLI seemingly creates an instance without error. The command "edgedb instance list" shows it in it's content and the command "edgedb -I my_instance" does indeed lead to the edgedb prompt. However, tasks concerning starting and stopping the instance do not work, because the needed config .json-file is not created (path: "/Users/user/Library/Application Support/edgedb/data/my_instance/instance_info.json").

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.