root@ubuntu-s-1vcpu-2gb-amd-fra1-01:~# dokku edgedb connect training
usage: dokku edgedb:connect <service>
connect to the service via the edgedb connection tool
arguments:
service service to run command against
examples:
connect to the service via the edgedb connection tool
> NOTE: disconnecting from ssh while running this command may leave zombie processes due to moby/moby#9098
dokku edgedb:connect lollipop
EdgeDB CLI
Use the edgedb command-line tool to spin up local instances, manage EdgeDB projects,
create and apply migrations, and more.
Running edgedb without a subcommand opens an interactive shell.
USAGE:
edgedb [OPTIONS] [SUBCOMMAND]
OPTIONS:
--help-connect Print all available connection options for the
interactive shell and subcommands
-V, --version Show command-line tool version
--no-cli-update-check Disable checking if a new version of CLI is available
-h, --help Print help information
CONNECTION OPTIONS (edgedb --help-connect to see the full list):
-I, --instance <instance>
Local instance name created with edgedb instance create to connect to
(overrides host and port)
--dsn <dsn>
DSN for EdgeDB to connect to (overrides all other options except password)
--credentials-file <credentials_file>
Path to JSON file to read credentials from
SUBCOMMANDS:
dump Create a database backup
restore Restore a database backup from file
configure Modify database configuration
migration apply Bring current database to the latest or a specified
revision
migration create Create a migration script
migration status Show current migration state
migration log Show all migration versions
migration edit Edit migration file
migrate An alias for edgedb migration apply
database create Create a new DB
describe object Describe a database object
describe schema Describe schema of the current database
list List matching database objects by name and type
query Execute EdgeQL queries
ui Launch the web UI for the EdgeDB instance
info Show information about the EdgeDB installation
project init Initialize a new or existing project
project unlink Clean-up the project configuration
project info Get various metadata about the project
project upgrade Upgrade EdgeDB instance used for the current project
instance create Initialize a new EdgeDB instance
instance list Show all instances
instance status Show status of a matching instance
instance start Start an instance
instance stop Stop an instance
instance restart Restart an instance
instance destroy Destroy an instance and remove the data
instance link Link a remote instance
instance unlink Unlink a remote instance
instance logs Show logs of an instance
instance upgrade Upgrade installations and instances
instance revert Revert a major instance upgrade
instance reset-password Reset password for a user in the instance
instance credentials Echo credentials to connect to the instance
server Manage local EdgeDB installations
cli upgrade Upgrade the 'edgedb' command-line tool```
This seems to 'work':
but
dokku edgedb:connect training
gives this output instead: