twovests
twovests OP wrote
Reply to comment by oolong in Introducing: The Conversationero by twovests
yeah :D
twovests OP wrote
Reply to comment by twovests in silly question, does anyone know what we did to fix thumbnails? (fixed!) by twovests
SOLVED! Nginx needs exec permissions even on directories.
I solved this by chmod +x submission_images_2x/
, submission_images_1x
.
twovests OP wrote
Reply to comment by emma in silly question, does anyone know what we did to fix thumbnails? (fixed!) by twovests
That makes sense! Further debugging and posting logs here for my future reference:
This might
postmill-docker-example-web-1 | 2025/03/10 18:16:44 [crit] 30#30: *10 stat() "/app/public/media/cache/submission_thumbnail_2x/83c04d36f7e707aad8323d5e8536fa6921f0e0e78254da4c1e0cfcb6065ddf24.png" failed (13: Permission denied), client: 172.18.0.1, server: , request: "GET /media/cache/submission_thumbnail_2x/83c04d36f7e707aad8323d5e8536fa6921f0e0e78254da4c1e0cfcb6065ddf24.png HTTP/1.1", host: "", referrer: "https:///"
postmill-docker-example-web-1 | 2025/03/10 18:16:44 [crit] 30#30: *11 stat() "/app/public/media/cache/submission_thumbnail_2x/8949be8ddb088c68d93b1904633d2a0e7d94c99c5a47b72d5a98614b8a15a62d.jpg" failed (13: Permission denied), client: 172.18.0.1, server: , request: "GET /media/cache/submission_thumbnail_2x/8949be8ddb088c68d93b1904633d2a0e7d94c99c5a47b72d5a98614b8a15a62d.jpg HTTP/1.1", host: "", referrer: "https:///"
postmill-docker-example-web-1 | 2025/03/10 18:16:44 [crit] 30#30: *13 stat() "/app/public/media/cache/submission_thumbnail_2x/1e7e72e1f466066e11c9ec8cfd764c1b13bd26f15059ffcecb12798da45eac13.png" failed (13: Permission denied), client: 172.18.0.1, server: , request: "GET /media/cache/submission_thumbnail_2x/1e7e72e1f466066e11c9ec8cfd764c1b13bd26f15059ffcecb12798da45eac13.png HTTP/1.1", host: "", referrer: "https:///"
postmill-docker-example-web-1 | 172.18.0.1 - - [10/Mar/2025:18:16:44 +0000] "GET /media/cache/submission_thumbnail_2x/83c04d36f7e707aad8323d5e8536fa6921f0e0e78254da4c1e0cfcb6065ddf24.png HTTP/1.1" 404 366 ""
to future me:
- This might be a Caddy error?
- Or might be the Nginx inside the container: https://stackoverflow.com/questions/25774999/nginx-stat-failed-13-permission-denied
twovests OP wrote (edited )
Reply to comment by twovests in silly question, does anyone know what we did to fix thumbnails? (fixed!) by twovests
huh, the media_cache
, submission_images
, and var
folders exist in the same subdirectory as the docker-compose.yml
. Investigating...
(edit) Still the same permissions as on jstpst. hmmm
twovests OP wrote
Reply to comment by emma in silly question, does anyone know what we did to fix thumbnails? (fixed!) by twovests
Yeah; they're populated in "/app/public/media/cache/submission_thumbnail_2x/{hash}.jpg
", and even have the right permissions. (I also chmod 777'd one of them just to test, but the web
logs still say "Permission denied".)
E.g. Just like JstPst, I have:
/app/public/media/cache/submission_thumbnail_2x # ls -lha
total 40K
drwxrwx--- 2 www-data www-data 4.0K Mar 10 04:19 .
drwxrwxr-x 4 root root 4.0K Mar 8 10:30 ..
-rw-rwxr-- 1 www-data www-data 15.3K Mar 8 03:02 1e7e72e1f466066e11c9ec8cfd764c1b13bd26f15059ffcecb12798da45eac13.png
-rw-rwxr-- 1 www-data www-data 1.3K Mar 10 04:19 83c04d36f7e707aad8323d5e8536fa6921f0e0e78254da4c1e0cfcb6065ddf24.png
-rwxrwxrwx 1 www-data www-data 3.7K Mar 8 02:55 8949be8ddb088c68d93b1904633d2a0e7d94c99c5a47b72d5a98614b8a15a62d.jpg
/app/public/media/cache/submission_thumbnail_2x #
(Where 8949...a62d.jpg
I messed with the permissions to see if that would work.)
I deleted /app/var/cache
and... Broke the site! So I'm going to go fix that now. (Wait, I was able to fix it, yay.)
tldr: TRUSTED_PROXIES
set, the cached image files are indeed present with identical permissions to jstpst. Will continue debugging later;
twovests OP wrote (edited )
Reply to comment by emma in silly question, does anyone know what we did to fix thumbnails? (fixed!) by twovests
Just like with Jstpst, the thumbnail URL (e.g. https://jstpst.net/media/cache/submission_thumbnail_2x/8715833c4e1d896ba5cc0a3857f7db8b59f36886409251b2871b505c5b1bf25b.jpg
) instead throws a 404.
TRUSTED_PROXIES is set, as are the same permissions for the directories in the relevant Docker.
(The 404 page for JstPst still throws the Vary: Accept
and Vary: Accept-Encoding
. So, I was wrong in OP.) (I'm hesitant to post the site here, since this is an instance for my Irls and I've made some very personal posts here over the years hehe)
EDIT: The postmill-docker-example-web-1
says its for 'permission denied' so I'm still looking into that
twovests wrote
Sorry, I missed this at the time, never fixed it, and am wondering now what exactly happened to fix it lol
twovests wrote
Reply to Today is Sysadmin Appreciation Day! by nitori
:D THANKS :D
I am currently looking through your posts to try and figure out how we fixed the thumbnail problem, because I broke it again on another Postmill install lol
twovests wrote
Reply to so they have a blackberry dr pepper now by hollyhoppet
blackberry dr pepper is the flavor that i savor.......
twovests wrote
Reply to comment by SWORDSCROSSED in Last night I dreamt I got banned here but now there’s bookmarks instead by SWORDSCROSSED
Please please praise /user/emma instead! She wrote Postmill, including the bookmarks updates, and set it up on a Dockerfile and Compose setup. She made it very easy to just_host.
I can accept some sysadmin credit but Emma seriously deserves the credit for all the hard work and dedication.
twovests OP wrote
Reply to comment by emma in Downtime over, upgrade complete! Sorry for logging you out. by twovests
I think I must have borked something which broke the sync-themes command, and commenting that out in the install script fixed it. I instantiated a fresh install of Postmill about 40 hours ago where no such problem was present!
Will need to figure that out when I am at a keyboard again
twovests OP wrote
Reply to comment by hollyhoppet in Downtime over, upgrade complete! Sorry for logging you out. by twovests
Yay! Must have just been me clearing my cookies or something
twovests wrote
Reply to Cinnamon Toast! by rain
Me too!! :D
twovests OP wrote
Reply to comment by rain in two paths for america by twovests
(You probably already know this, but I'm referencing Zuckerberg saying "They 'trust me'. Dumb fucks" regarding Facebook's users.)
I’m not trivially easy to track back to real world identity from any of my socials
I'm concerned about the data that Facebook holds, but otherwise did not regularly give away without a warrant. I'm worried about the Trump admin newly being able to ask, e.g. "Give us the user ID, profile name, and bio history of every single IG user, so we can filter(bio.contains('🏳️⚧️'), insta_bios)
on it. Capiche?"
And from there, take the email, IP, etc of that. I imagine, even with great opsec, there's nothing that trumps the richness of data Meta has on people.
Maybe Facebook already had regular data dumps for the FBI, or maybe warrants actually mattered. I really don't know.
That said, I also totally feel you there. I wish I started with DIY HRT both to stay off lists, but also because I'd have been on it a decade earlier. At least, Planned Parenthood won't be cozying up to Trump.
twovests OP wrote
Reply to comment by rain in Made a `mobile` theme to make upvoting easier!! Go to user settings > Preferred theme > select "mobile" under "twovests" if u use jstpst on mobile a lot by twovests
When Heroku killed Jstpst mid 2024, we had a backup which I was able to restore to a VPS, but the themes were stored elsewhere and lost. Further, Postmill's ~ 8 years of updates mean this css doesn't work anymore hehe
twovests wrote
Reply to I am so thankful for this site by nomorepie
❤️
(that is not a heart; that is something roughly the shape of a bloody pussyprint)
twovests wrote
Reply to friends, gamers, in this new decade of 2020, i'm pleased to make an announcement by hollyhoppet
You posted this within the year Outer Wilds came out- topical!!
twovests OP wrote
Reply to comment by anethum in the chat gpt haircut by twovests
i still want to see your posts. i still want to be your friend
twovests OP wrote
Reply to comment by twovests in Made a `mobile` theme to make upvoting easier!! Go to user settings > Preferred theme > select "mobile" under "twovests" if u use jstpst on mobile a lot by twovests
thank u for posting this, because css themes were broken
twovests OP wrote
Reply to two paths for america by twovests
fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck
twovests wrote
Reply to happy transgender thursday by hollyhoppet
YAYYYYYY
twovests OP wrote
Reply to comment by rain in i can put my tongue in my nose from behind by twovests
Oh absolutely. I am an abhorrent prude and kissing is nasty enough even when people DO floss
twovests OP wrote
Reply to comment by twovests in i love my job but i do not love learning AWS by twovests
If my company didn't just sell their office space (yayyyyy they can't make me go into the office), I'd have tried to get them to invest in an Oxide rack.
twovests OP wrote
Reply to i love my job but i do not love learning AWS by twovests
Going "your personal blog" mode: I don't like the bespoke names like "Route 53", but at least a lot of AWS makes sense? There are very few things I've come across (as someone toes-deep into AWS) that seem like a horrible engineering mistake made at Amazon.
If I were to build an intranet for the internet and divide everything into tiny little separately-billable services, I'd do it a lot like this.
twovests wrote
Reply to happy international women's day by hollyhoppet
i'll keep posting it because i like these posts