Show newer

Dry run shows 932 accounts being culled, so... I guess it's worth it? Not entirely sure if it'll get rid of the cached avatars, but I'd been meaning to run this cleanup job anyway.

Show thread

Doing a dry run of tootctl accounts cull and it's just passed 1,000 of 74,818. Probably a good time to step away.

Show thread

Okay I think I'll run a cleanup of inactive/deleted remote accounts first, that's quite a few media files there and I don't want to transmit unnecessary files.

Show thread

On the theory that the upload 500 error is because the media directories aren't synced with the bucket, I'm doing a dry run of the sync and wow... the sheer number of cached avatars & headers from remote servers is... concerning? It was nothing but avatar caches for a few minutes now, and it's moved on to headers just now. The lack of any user-level mechanism for cleaning these files up has been pointed out as a problem, I believe.

Show thread

Okay I got the b2 cli working on the server and the account is properly authenticated, so I know the id and secret key are correct... so I can't figure out why I'm getting the 500 error, hmm.

Show thread

Actually, let's see what happens if I upload a new piece of media... Oh okay, a 500 error, that's not good probably.

Show thread

Haha ok all media is broken haha. Let's now try to move over media. (Nothing's been deleted, the configuration is just referring to a different location :this_is_fine: )

Show thread

Okay going to restart Mastodon processes... let's see just how much hell breaks loose.

Nevar forget the Quadro Tracker, the device sold to police agencies allegedly able to track anything, which instead of a circuitboard was revealed to just have ants glued to paper with epoxy

Here's everything that is coming in #hometown v1.0.8 (which I will release once I have tested it here on Friend Camp for a few days):

Loud noises 🤝 Touching very hot objects
being able to hurt

object storage saga: more documentation 

There's official Mastodon documentation on setting up an nginx object storage proxy, too! No doubt the other config I found is based a lot on it. I'll compare the two and try to get to the best settings 🤞

Show thread

object storage saga: plot twist! 

I installed MinIO and got it running, but turns out MinIO no longer has a gateway function and B2 is now S3 compatible anyway?? Okayyy.... going to try it directly over the coming days then, with the main headache now being that I have to set up the host myself on nginx. Fortunately there's a pretty helpful-looking guide.

Show thread

I am finding I'm benefiting more and more from @darius's work on the Hometown fork of mastodon: exclusive lists and local-only posts are such great features.

MinIO installation (advice welcome) 

Looks like these were the instructions I needed on Debian:

Installation seems to be successful, the systemd service file was created, and I created the group & user. I'm not foolhardy enough to self-host object storage and only plan to use MinIO as a router to B2, per the gist seen here, so I'm guessing I just need an environment, an empty mount, and get the service up so I can hook it up to the B2 bucket and then hook up Mastodon to MinIO.

Show thread

technobabble, no advice needed 

Very timely too, because I have somehow Failed At Crontab and have had to delete media caches manually.* Today I logged into terminal JUST before we had another overflowing disk & attending crash situation, at 34 GB used out of 38 GB.

Also once the disk situation is better I'm looking forward to trying out more apps, like maybe a blog? Who knows!

* I'm more used to systemd timers but this server isn't set up to use systemd with the --user switch which would have been the cleanest solution, and some digging convinced me setting up user-level systemd jobs would be more trouble than it's worth especially since we're moving to objective storage anyway. Since periodic media purges will still be needed after the move I'll figure out crontab at more leisure afterward.

Show thread

Went through the minIO site and realized I don't need Docker or Kubernetes to set it up! Looks like operation: Object storage is a go 🤔

Show older
Write Out

A small instance for writers.