twovests
twovests wrote
Reply to I found a vintage sewing machine in the trash by Caribou
WOAH that kicks ass. That's actually supremely cool. That reminds me of the "dog magic pie bush" tweet but it's actually much cooler than that
twovests wrote
Reply to I'm really struggling by flabberghaster
I wish I could help you. I am often in places consistent with what you're describing (and it was really really bad 2020-2022). I wish "just pull it together" worked
I want to echo the sentiments from I_got_killed_one_time and nomorepie. You and your brain health are important to us.
Something I think helped me a lot was to create a habit tracker with a checklist of easily accomplishable basics. It's just a Field Notes journal. Like, my brain health is still in shambles, but at least this way my brain health is in shambles and I floss every day. If you're someone who benefits from checklists and notebooks, that might help a bit?
twovests wrote
Reply to happy ides of march :) by hollyhoppet
Congratulations to Mr. Caeser for dying so wackystyle that the "ides", which technically occur every month, are now almost exclusively observed in March
twovests wrote
Reply to comment by oolong in you could poison yourself with tea tree oil again by oolong
well duly noted, i am not going to fuck around with my tea tree oil
that sounds scary, i knew these were strong chemicals but i didn't know they could numb half your body
twovests wrote
tell me what happened. how did this happen. hypothetically, as someone who just poisoned themselves recently and would like to avoid it but also owns tea tree oil
twovests wrote
Reply to asdsad fsadfg by legalassist
not sure if this needs a crouton or not.... i actually like this post quite a bit. difficult to say
twovests OP wrote
Reply to comment by cowloom in [FiftyFiftyAdvice] Recovering from a spot of terrible illness? Don't forget to have your favorite drugs. This post brought to you by "Probably Caffeine Withdrawals". by twovests
Perhaps I should have clarified drugs on which you can develop a dependency?
I haven't ever had nicotine or been dependent on alcohol, but I imagine someone who was would feel like shit if they went cold turkey.
Thank you beautiful caffeine for making me feel much better
twovests wrote
Reply to comment by emma in Ubuntu to replace classic coreutils and more with new Rust-based alternatives by nitori
I was worried this would replacements like eza
or ripgrep
which, while excellent and I love them, aren't 1-for-1 replacements for ls
or grep
.
When I last looked at uutils, it seemed very immature. It's been a few years but even then I'm surprised it's ready enough that it's going to hit the next Ubuntu.
twovests wrote
Reply to Shout-out to all the other cool trans people on this website this fine Transgender Thursday by Jenheadjen
Happy Transgender Thursday!! The "T" in Thursday stands for "Transgendery".
The next letters stand for "Hell yeah, U R So Dransgender Also? Yeahhh"
twovests wrote
Huh, this guy is still alive! He released all his songs into the public domain in 2020. Download them while you can, he says. The song posted in OP is also available here.
twovests wrote
Reply to Something nobody tells you about early adulthood is that a large portion of your social interactions will be stumbling across former coworkers and acquaintances who are now bald by SWORDSCROSSED
Yeah it's awesome. I'll probably be bald some day too. Reminds me of this I Think You Should Leave sketch: https://www.youtube.com/watch?v=xJGXOYk8et4
twovests wrote
Reply to happy international women's day by hollyhoppet
i'll keep posting it because i like these posts
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 comment by flabberghaster in Actually kind of good app idea by flabberghaster
i had the same idea already i just didn't write it down. i will accept payment in juicerocoin