Adventures in #selfhosting! I'm a dummy.
I was wondering for a while why pixelfed.keyboardvagabond.com was only using large images and just being overall a terribly slow experience. I saw that image upload processing jobs would run, but would not do anything.
I verified that things were being uploaded to #backblaze #s3 and that the #cloudflare #cdn cache was showing HIT, but downloading 5MB images just takes a while, especially when there's a bunch of them and you're working out of hostels that limit everyone to 5Mbps 😭
After debugging for a while with #claude - it's actually quite good at doing investigations, especially when you need a bunch of #kubectl #kubernetes commands - and went through a ton of options.
I had at one point messaged in the #matrixchat that I thought that pixelfed wasn't using thumbnails and @dansup responded. (I'm really sorry for my dumb!)
Finally, it found what I had done. I got confused about where the media was being stored... I was mounting one level too high, so the job never found the files, but they still got uploaded to S3...ok.
Anyway, here's my fix, change the volume mounts from - notice the additional /pixelfed:
- name: app-storage
mountPath: /var/www/storage
- name: cache-storage
mountPath: /var/www/bootstrap/cache
to
- name: app-storage
mountPath: /var/www/pixelfed/storage
- name: cache-storage
mountPath: /var/www/pixelfed/bootstrap/cache
I'm now feeling a lot better about the coming soon (TM) announcement of keyboard vagabond joining the fediverse!
#keyboardvagabond #pixelfed #fediverse #kubernetes