11
self hosted lemmy 502 pictrs
(reddthat.com)
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!
yeah I've already done that, I did
sudo chown -r 991:991 volumes/pictrs
. what details do you need about my setup? edit: I do know another program is already using port 8080 on my host machine, or does that not matter when it's running inside docker?Depends. If it runs in a separated docker network then not. Pict-rs only needs to be reachable by the lemmy backend and have out-going internet access. But I would try changing the port as I think the official docker-compose script removed the internal network for some reason, not sure (I am using my own Podman based setup).
it does appear to be in its own network (according to portainer) the error log in the lemmy container is
no errors appear when i look at the pictrs log. I don't know why it says
password: None
as i've set a passwordHmm not sure. The api-key ENV variable changed with pict-rs 0.4 to
PICTRS__SERVER__API_KEY
, maybe double-check that this is correctly updated and also the same as in your lemmy.hjson config file.the config in docker compose looks like
and in the config it is
the password on both is the same so i don't see what is going wrong :(
I haven't done this setup myself, but the hostname being 127.0.0.1 is suspect, especially since it mentions a pictrs URL config in lemmy.
yeah i changed that because i was testing. but i now realize that was dumb. ive change both the hostname and the url to pictrs. OMG that just worked..... i feel so dumb rn. it is strange tho because that wasnt working before. Thanks for all the help :)
Well, did you try changing the 8080 port to rule that out?
hmm after looking i dont even see an option to change the port (in pictrs). it seems stuck at 8080, but since its running on its own network, i doubt it would matter.
just change the port the container exposes, like -p 8081:8080