this post was submitted on 16 Jun 2024
1 points (100.0% liked)
Lemmy Support
4655 readers
2 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Set image tag in pictrs section to 0.5 and change to the new ENV format described in the docs of pictrs. At last start only the pictrs container
docker compose up -d pictrs
Here is my example in the new formaz. Be aware it is just an example โ๐ป
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?
Mind you that
PICTRS__API_KEY
is the wrong variable, and should bePICTRS__SERVER__API_KEY
. I've noticed it when Lemmy Thumbnail Cleaner complained about the api key being incorrect. Follow the repo page and check if your variables are correct.Thanks, I edited the compose file. I overlooked this one. The docker-compose example for Lemmy on Github still has the old ENV. Maybe this one should be edited too
This one isn't mentioned here https://git.asonix.dog/asonix/pict-rs#0-4-to-0-5-migration-guide
Good catch.