• 1 Post
  • 31 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle
  • MarsAgainstVenus@lemmy.worldOPtoSelfhosted@lemmy.worldHelp with Postgres
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 months ago

    I couldn’t get my container started with postgress running but I had an idea:

    I started the upgrade process with Lemmy-Easy-Deploy,

    canceled out of it before it removed the containers,

    ran sudo docker exec -i lemmy-easy-deploy-postgres-1 psql -U lemmy -c "alter user lemmy with password 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'"

    with the password set in my env file,

    then restarted the upgrade process. It’s running again.