Ensure ~/.abra/... core directories are created #181

Closed
opened 2021-10-05 12:51:20 +00:00 by decentral1se · 2 comments
Owner

Describe the current behavior

It looks like ~/.abra/servers/ is not being created currently.

There might be other stuff.

Steps to reproduce

Do abra stuff on a fresh server.

Describe the expected behavior

It works.

Additional information

  • version: latest dev
## Describe the current behavior It looks like `~/.abra/servers/` is not being created currently. There might be other stuff. ## Steps to reproduce Do `abra` stuff on a fresh server. ## Describe the expected behavior It works. ## Additional information <!-- run "abra version" on the command-line --> - version: latest dev
decentral1se added this to the Command-line tool sustainability milestone 2021-10-05 12:51:20 +00:00
decentral1se added the
bug
abra
labels 2021-10-05 12:51:20 +00:00
decentral1se added this to the Beta release (software) project 2021-10-05 12:51:20 +00:00
Author
Owner
~ ❯ abra -d s rm git2.minetest.land     
DEBU[0000] validated 'git2.minetest.land' as domain argument 
INFO[0000] server at 'git2.minetest.land' has been forgotten 
~ ❯ rm -rf ~/.abra                     
~ ❯ mkdir -p ~/.abra/servers       
~ ❯ abra -d s a git2.minetest.land root
DEBU[0000] validated 'git2.minetest.land' as domain argument 
DEBU[0000] creating context with domain 'git2.minetest.land', username 'root' and port '22' 
DEBU[0000] created the 'git2.minetest.land' context     
DEBU[0000] created client for 'git2.minetest.land'      
DEBU[0000] commandconn: starting ssh with [-l root -p 22 -- git2.minetest.land docker system dial-stdio] 
DEBU[0001] remote connection to 'git2.minetest.land' is definitely up 
INFO[0001] server at 'git2.minetest.land' has been added 
~ ❯ abra -d s i git2.minetest.land     
DEBU[0000] validated 'git2.minetest.land' as domain argument 
DEBU[0000] created client for 'git2.minetest.land'      
DEBU[0000] created DNS resolver via 95.216.24.230       
DEBU[0000] commandconn: starting ssh with [-l root -p 22 -- git2.minetest.land docker system dial-stdio] 
DEBU[0001] initialised swarm on 'git2.minetest.land'    
DEBU[0001] swarm overlay network 'proxy' created        
~ ❯ abra -d a n traefik  
DEBU[0000] '/Users/user/.abra/apps/traefik' does not exist, attempting to git clone from 'https://git.coopcloud.tech/coop-cloud/traefik.git' 
DEBU[0000] '/Users/user/.abra/apps/traefik' has been git cloned successfully 
DEBU[0000] read 'map[COMPOSE_FILE:compose.yml DOMAIN:traefik.example.com LETS_ENCRYPT_EMAIL:certs@example.com LETS_ENCRYPT_ENV:production LOG_LEVEL:WARN TYPE:traefik]' from '/Users/user/.abra/apps/traefik/.env.sample' 
DEBU[0000] validated 'traefik' as recipe argument       
FATA[0000] directory is empty: '/Users/user/.abra/servers' 
``` ~ ❯ abra -d s rm git2.minetest.land DEBU[0000] validated 'git2.minetest.land' as domain argument INFO[0000] server at 'git2.minetest.land' has been forgotten ~ ❯ rm -rf ~/.abra ~ ❯ mkdir -p ~/.abra/servers ~ ❯ abra -d s a git2.minetest.land root DEBU[0000] validated 'git2.minetest.land' as domain argument DEBU[0000] creating context with domain 'git2.minetest.land', username 'root' and port '22' DEBU[0000] created the 'git2.minetest.land' context DEBU[0000] created client for 'git2.minetest.land' DEBU[0000] commandconn: starting ssh with [-l root -p 22 -- git2.minetest.land docker system dial-stdio] DEBU[0001] remote connection to 'git2.minetest.land' is definitely up INFO[0001] server at 'git2.minetest.land' has been added ~ ❯ abra -d s i git2.minetest.land DEBU[0000] validated 'git2.minetest.land' as domain argument DEBU[0000] created client for 'git2.minetest.land' DEBU[0000] created DNS resolver via 95.216.24.230 DEBU[0000] commandconn: starting ssh with [-l root -p 22 -- git2.minetest.land docker system dial-stdio] DEBU[0001] initialised swarm on 'git2.minetest.land' DEBU[0001] swarm overlay network 'proxy' created ~ ❯ abra -d a n traefik DEBU[0000] '/Users/user/.abra/apps/traefik' does not exist, attempting to git clone from 'https://git.coopcloud.tech/coop-cloud/traefik.git' DEBU[0000] '/Users/user/.abra/apps/traefik' has been git cloned successfully DEBU[0000] read 'map[COMPOSE_FILE:compose.yml DOMAIN:traefik.example.com LETS_ENCRYPT_EMAIL:certs@example.com LETS_ENCRYPT_ENV:production LOG_LEVEL:WARN TYPE:traefik]' from '/Users/user/.abra/apps/traefik/.env.sample' DEBU[0000] validated 'traefik' as recipe argument FATA[0000] directory is empty: '/Users/user/.abra/servers' ```
Author
Owner

f75e264811ab5b2f4bcd5c0fa35a082e2be474f3

f75e264811ab5b2f4bcd5c0fa35a082e2be474f3
Sign in to join this conversation.
No Assignees
1 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#181
No description provided.