this post was submitted on 16 Jun 2024
17 points (94.7% liked)

Lemmy Support

4622 readers
19 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Anyone care to share their docker compose file for the upgrade? Or at least the pictrs portion? I've upgraded and migrated postgres to 16, but am having issues with the pictrs part.

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

This is the part of the new compose file that I don't understand:

PICTRS__OLD_REPO__PATH=/mnt/sled-repo PICTRS__REPO__TYPE=postgres PICTRS__REPO__URL=postgres://user:password@host:5432/db

When I try to add it, pictrs complains about not being able to connect to postgres, even though the credentials are correct and I've already run the postgres migration script. Did you not do this part when you upgraded?

[–] [email protected] 1 points 2 months ago

This is for making the pictrs backend on postgres and to migrate it to postgres. Though not documented with Lemmy it works and I am running it that way on my instance. It allows you to load balance and have high availability of pictrs service.

[–] [email protected] 1 points 2 months ago

No I just replaced the image tag. Pictrs will do the upgrade itself.