Can't perform instance upgrade from docker/WSL2
- Dominant language
- Rust
- Stars
- 175
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
- Gel Version: 6.3+10fd4cc
- Gel CLI Version: 7.1.1+45ade47
- OS Version: Linux version 5.15.133.1-microsoft-standard-WSL2
Steps to Reproduce:
1. Run `gel instance upgrade` with an instance defined. (`gel instance upgrade -I gel`)
Output:
```
❯ gel instance upgrade -I gel
gel error: error reading instance info: "/root/.local/share/edgedb/data/gel/instance_info.json"
Caused by: No such file or directory (os error 2)
```
Using `gel` within WSL2 has proved to be difficult in almost every regard since projects aren't supported, but I've found work-arounds for almost every other operation by making calls in the REPL, but I can't find a way to perform an upgrade on an already running instance.
**Additional Background:**
Projects aren't supported in this environment, but there are several commands which fail if a project file is not located, so I have a `gel.toml` file with the following contents in my project root.
`gel.toml`:
```
[instance]
server-version = "6.1"
[project]
schema-dir = "dbschema"
[[watch]]
files = ["queries/*.edgeql"]
script = "npm run gel:generate"
```
The necessary connection parameters are already populated in the environment so most calls to `gel` work fine using the connection parameters without an instance specified, but occasionally a command requires an instance (like this upgrade command), so I linked the remote instance running in the other peer container.
```
❯ gel instance list
┌────────┬──────┬──────────┬─────────────┬────────┐
│ Kind │ Name │ Location │ Version │ Status │
├────────┼──────┼──────────┼─────────────┼────────┤
│ remote │ gel │ gel:5656 │ 6.3+10fd4cc │ up │
└────────┴──────┴──────────┴─────────────┴────────┘
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.