phelix001 to Lemmy Support · 4 years agoAfter update, the avatars aren't loading.message-squaremessage-square15fedilinkarrow-up12arrow-down10file-text
arrow-up12arrow-down1message-squareAfter update, the avatars aren't loading.phelix001 to Lemmy Support · 4 years agomessage-square15fedilinkfile-text
minus-squarephelix001OPlinkfedilinkarrow-up1·4 years agoIt worked last week, and I’ve only just updated it today…Do you think the migration script is the right answer?
minus-squareksynwalinkfedilinkarrow-up1·4 years agoi can’t say for sure. how are you deploying your instance? is it via docker or something else?
minus-squareksynwalinkfedilinkarrow-up1·4 years agomaybe check if your nginx.conf has this in it: # Redirect pictshare images to pictrs location ~ /pictshare/(.*)$ { return 301 /pictrs/image/$1; }
minus-squarephelix001OPlinkfedilinkarrow-up1·4 years agoIt doesn’t have that, and when I added it within the last } it stopped working.
minus-squareksynwalinkfedilinkarrow-up1·4 years agoYou should probably look at https://github.com/LemmyNet/lemmy/blob/master/ansible/templates/nginx.conf to see where it goes
minus-squarephelix001OPlinkfedilinkarrow-up1·4 years agoIt apparently had all that in sites-enabled. My ngingx error log is showing 2020/06/29 15:28:31 [error] 1104#1104: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 98.111.105.126, server: .org, request: “GET /pictrs/image/pl5e3c.png/pictrs/image/thumbnail96undefined HTTP/2.0”, upstream: “http://0.0.0.0:8537/image/pl5e3c.png/pictrs/image/thumbnail96undefined”, host: “.org”, referrer: “https://.org/”
minus-squareksynwalinkfedilinkarrow-up1·4 years agosorry i am not sure about this. hopefully someone else can help you out.
It worked last week, and I’ve only just updated it today…Do you think the migration script is the right answer?
i can’t say for sure. how are you deploying your instance? is it via docker or something else?
Ansible
maybe check if your
nginx.conf
has this in it:# Redirect pictshare images to pictrs location ~ /pictshare/(.*)$ { return 301 /pictrs/image/$1; }
It doesn’t have that, and when I added it within the last } it stopped working.
You should probably look at https://github.com/LemmyNet/lemmy/blob/master/ansible/templates/nginx.conf to see where it goes
It apparently had all that in sites-enabled.
My ngingx error log is showing 2020/06/29 15:28:31 [error] 1104#1104: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 98.111.105.126, server: .org, request: “GET /pictrs/image/pl5e3c.png/pictrs/image/thumbnail96undefined HTTP/2.0”, upstream: “http://0.0.0.0:8537/image/pl5e3c.png/pictrs/image/thumbnail96undefined”, host: “.org”, referrer: “https://.org/”
sorry i am not sure about this. hopefully someone else can help you out.