this post was submitted on 23 Aug 2023
4 points (100.0% liked)

Lemmy Support

4628 readers
4 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

I am trying to install lemmy via Docker on Debian. I've configured Postgres and my config files but I'm getting an error when I try to docker compose up -d.

$ docker compose up -d 
[+] Running 0/0
 ⠋ postfix Pulling                                                                                                                                                                                                                 0.0s 
 ⠋ pictrs Pulling                                                                                                                                                                                                                  0.0s 
 ⠋ lemmy-ui Pulling                                                                                                                                                                                                                0.0s 
 ⠋ postgres Pulling                                                                                                                                                                                                                0.0s 
 ⠋ proxy Pulling                                                                                                                                                                                                                   0.0s 
 ⠋ lemmy Pulling                                                                                                                                                                                                                   0.0s 
error getting credentials - err: exit status 1, out: `Could not connect: Permission denied`

Googling this error leads me to believe its a docker issue, but I'm not quite sure how to go about fixing it. Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

Oh, do you run the Docker commands as root?

[–] MrRazamataz 1 points 1 year ago (1 children)

No, I'm running them on a user called lemmy which is added to the docker usergroup.

[–] [email protected] 1 points 1 year ago (1 children)
[–] MrRazamataz 1 points 1 year ago (1 children)

I have not, however, thanks to the folk at the Lemmy matrix group, I was able to get past this issue.

[–] [email protected] 1 points 1 year ago (1 children)
[–] MrRazamataz 1 points 1 year ago