@foolghool bloat's back! I don't know what happened, but the service was just down for 9 hours, I know I had some trouble with the update yesterday.
I tried the list thing too and got this error, same on the backend 2026-02-06T07:34:49 mitra_api::http [INFO] POST /api/v1/lists : Content type error
looked into it for a bit and bloat is sending generic form encoded data but Mitra expects JSON on that endpoint, not sure which side should get patched in the end though (@silverpill -- want an issue made for this?)
if the @tag-fediverse is a "relay actor" it might just inject posts into the https://wizard.casa/federated timeline? But it also says it would follow you back and that didn't happen when I tested it
@visionaire I see, have you tried it on another server? I just tried on a Pleroma alt and I'm not sure if it's working over there either. Maybe @silverpill knows more about how these actors work with Mitra?
@silverpill@dsdarkkogo showing my ignorance here, but I thought 'media proxy' was just when we don't reject media and instead download it locally so clients don't hit other server's media
Can you point me to what you mean? Sounds like the opposite of what I thought where we don't host the media and instead have clients "hotlink" media from other instances
I was thinking it could be useful to have a setting for media retention instead of post retention: keep the posts, but delete the media until they're loaded or something like that
@dsdarkkogo The biggest use of disk space here is proxying media on posts and that size depends on how many accounts your instance is following (or posts with media attachments federating to you really)
Since there are some accounts here that are really aggressive with follows, the media directory can become an issue, but I countered by being really aggressive with this setting:
# Data retention parameters.
# Objects will be deleted after the specified number of days.
retention:
# Remote posts with which local accounts didn't interact
extraneous_posts: 2
# Remote accounts without posts
empty_profiles: 1
Which can be annoying to users that like to browse hashtags since if nobody interacts with a post it'll be removed. Database size is also dependent on number of users, relationships etc, but since you asked here's the stats:
media dir: 43G postgres db dump: 891M
but for a single user instance it should be MUCH much smaller!
@bmcd hi welcome :waving: from an admin perspective it's been much easier to run mitra over pleroma, for end users there probably isn't much difference. Most difference is in the front end, we have bloat https://bloat.wizard.casa/ here too
@silverpill Thanks, I looked up what the cc field was yesterday and that makes sense now. I was thinking of making a some kind of auto-filter script that monitors queue length, hits a threshold, looks at logs and filters problem instances. Maybe even have it poll the instance 5-10min if it's a 502 and remove the filter when it comes back up. Could also be possible to do something even better in mitra, if we hit a 502 move all activities that will hit that server in the queue to a secondary queue that does the slow poll until it's working and then moves everything back to the main queue? Just some thoughts, might be too much to maintain in the Mitra itself
Jul 02 01:40:36 wizard.casa mitra[1433501]: 2025-07-02T01:40:36 mitra_activitypub::queues [WARN] failed to process activity (HTTP status server error (502 Bad Gateway) for url (https://pubeurope.com/users/fr/statuses/114780187162115427)) (attempt #1): {"@context":"https://www.w3.org/ns/activitystreams","actor":"https://newsmast.community/users/politics","cc":["https://pubeurope.com/users/fr","https://www.w3.org/ns/activitystreams#Public"],"id":"https://newsmast.community/users/politics/statuses/114780189123638405/activity","object":"https://pubeurope.com/users/fr/statuses/114780187162115427","published":"2025-07-01T21:51:34Z","to":["https://newsmast.community/users/politics/followers"],"type":"Announce"}
I'm not sure how newsmast works and I should've just maybe filtered pubeurope.com? I see newsmast cc's other instances that throw up failures like threads.net, I'll remove the filter and see what happens
Admin* with a sledgehammer and schizophrenia (not really, not all the time)*Experimenting with Mitra https://codeberg.org/silverpill/mitra ; Instance subject to total nuclear termination with notice