Overlong error message when failing to add server #344

Closed
opened 2022-08-15 22:37:08 +00:00 by xeruf · 2 comments
❯ abra -v
abra version dev-a4ebf7b
❯ abra server add DOMAIN -p
INFO[0000] successfully created /home/janek/.abra/servers/DOMAIN 
WARN[0000] cleaning up context for DOMAIN       
WARN[0000] cleaning up server directory for DOMAIN 
FATA[0000] 
Failed to add server DOMAIN.

This could be caused by two things.

Abra isn't picking up your SSH configuration or you need to specify it on the
command-line (e.g you use a non-standard port or username to connect). Run
"server add" with "-d/--debug" to learn more about what Abra is doing under the
hood.

Docker is not installed on your server. You can pass "-p/--provision" to
install Docker and initialise Docker Swarm mode. See help output for "server
add"

See "abra server add -h" for more.

I already passed -p, so the second cause can be omitted.
It should also be omitted because clearly the SSH part failed.

```sh ❯ abra -v abra version dev-a4ebf7b ❯ abra server add DOMAIN -p INFO[0000] successfully created /home/janek/.abra/servers/DOMAIN WARN[0000] cleaning up context for DOMAIN WARN[0000] cleaning up server directory for DOMAIN FATA[0000] Failed to add server DOMAIN. This could be caused by two things. Abra isn't picking up your SSH configuration or you need to specify it on the command-line (e.g you use a non-standard port or username to connect). Run "server add" with "-d/--debug" to learn more about what Abra is doing under the hood. Docker is not installed on your server. You can pass "-p/--provision" to install Docker and initialise Docker Swarm mode. See help output for "server add" See "abra server add -h" for more. ``` I already passed `-p`, so the second cause can be omitted. It should also be omitted because clearly the SSH part failed.
xeruf added the
bug
abra
labels 2022-08-15 22:37:08 +00:00
Owner

I already passed -p, so the second cause can be omitted.

Nice, yes, good idea.

It should also be omitted because clearly the SSH part failed.

If docker isn't installed on the remote and SSH does work, it is still useful to remind.

> I already passed -p, so the second cause can be omitted. Nice, yes, good idea. > It should also be omitted because clearly the SSH part failed. If docker isn't installed on the remote and SSH does work, it is still useful to remind.
decentral1se added this to the (deleted) project 2022-10-22 12:29:23 +00:00
Owner

"Solved" in coop-cloud/abra#255.

"Solved" in https://git.coopcloud.tech/coop-cloud/abra/pulls/255.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#344
No description provided.