geldata / geldata/gel-cli

Unable to start instances created with different CLI installs

Open
#930 0 comments 0 reactions 1 assignee Claimed by @tailhook View on GitHub
bug minor
Dominant language
Rust
Stars
175
Forks
32
PR merge metrics
No merged PRs in 30d

Description

- EdgeDB Version: 2.9+4fbadd2
- EdgeDB CLI Version: 2.3.0-dev.907+7c84a91 (and current stable version)
- OS Version: macOS 13.0.1 (22A400)

Steps to Reproduce:

1. Install the CLI via Homebrew
2. Create a project with `edgedb project init`
3. Stop the project instance with `edgedb instance stop -I `
4. Uninstall the CLI
5. Install the CLI via `curl --proto '=https' --tlsv1.2 -sSf https://sh.edgedb.com | sh`
6. Attempt to start the project instance with `edgedb instance start -I `

The instance will fail to start. The instance can be started by first running `edgedb instance stop -I ` (while it is already in the "inactive" state) which rewrites the launchctl file.

We should automate this for the user, maybe by proactively rewriting all of these when they install the CLI.

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.