PSA: If you're getting Error 500 messages from mastodon when trying to upload images from mobile: You're probably trying to upload a HEIC/HEIF image and the fastimage gem errors out.
Easy fix: search for fastimage in Gemfile.lock, change version to 2.3.0 and run bundle install. Then restart mastodon services.
645 days after setting up my own Mastodon instance, I finally tackled tuning my Postgres database config last wk & today setup multiple Sidekiq Processes after my queue got to 10K for the second time this wk
I read the guides multiple times over those 645 days but it never clicked in my head. I was afraid to mess with Sidekiq because I didn't want to brick my instance.
Then today, during the thunderstorm, the old grey cells clicked in and I understood.
2/ I'm sure others can add or even help me with anything I got wrong, or how I can improve this, but here is what I did today out of urgency to scale my Mastodon Sidekiq processes and jobs after getting backlogged twice this week.
This night is also a great stress test for my server :blob_smile_sweat: Last year it was wonderful to see how well my baby manages. By now it certainly has enough resources to take in tons of posts.
We just published our first Trunk & Tidbits post! This will hopefuly be a monthly update where we showcase what we worked on last month, and what's coming next.
I hope this will bring more visibility to all the efforts and love that put on Mastodon
We merged a migration yesterday and it is far too expensive to run on large servers, so we are rolling it back. If you already applied it, please check the link above to revert it before upgrading.
It is probably best to skip today's nightly build, if you did not deploy it yet.
So, creating a block to refuse media doesn't affect the blocked domain's ability to create Preview Cards?
I created several media blocks for instances, esp bot instances that I want to come across posts or follow a few accounts, hoping to control my media storage and stop unnecessary media downloads and SideKiq jobs on posts that will only be stored in my search database from the federated timeline, but the preview cards are still being created. #MastoAdmin#MastoDev
That feel when you tweak something on another service for a totally different product and it knocks Mastodon out but you don't notice for like a day so now you need to advise the world that, no, tails.ch is not dead, just did a oopsie. 👀 #mastoadmin
1 TB of storage (an outrageous amount of storage if you ask me) is what you need for 35 active users, and it'll cost you €14/mo at Scaleway (European cloud provider). On top of that comes €38/mo for the web server, counting in at €52/mo.
Can you imagine how expensive it gets for a popular instance?
*Use /search for search (/search?query=something)
*Move account secrets to a dedicated table (and encrypt it?)
*Add a way for the user to select which languages they understand
*Allow admins to configure instance favicon and logo
*Allow searching for hashtags in admin UI
*Convert Redux state to Typescript #MastoAdmin#devops#Programmers#dev.
I would like to add my Mastodon instance to my browsers search engines list. Interestingly, Miskey and Sharkey and some other federated platforms I've been to are already added.
I'm getting great results for content from my Mastodon search than Google and Bing, + no ads, and tracking.
Note to vanilla Mastodon/glitch-soc/Chuckya admins updating to the latest commit: you'll need to modify your .env.production file before updating. The ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY, ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT, and ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY variables must now be defined.
You can generate the values for these variables by running RAILS_ENV=production bundle exec rails db:encryption:init, then copying the output to your .env.production file.
Is anyone else getting traffic from 216.106.86.232 ?
I will open a report with the ISP
=======================
I'm putting this under #FediBlock because I've noticed that since 12 PM EDT yesterday (30-Apr-2024), API requests coming in from 216.106.86.232 have been returning 500 errors constantly from my server. No other 500 errors were being returned.
I blocked the IP at the Cloudflare firewall and now the 500 errors have stopped. There were more than 93K 500 return codes in total until now!
I have no idea what the requests are, and it's too late at night to do more research, but I'm passing this along to other Admins as a warning and to see if anyone else is seeing similar behavior.
@Gargron
Here's what I see in Cloudflare for the last one hour before blocking the IP address. Notice all the requests returning 500 are from this single IP. There are no page views. It's all API requests. And 500 errors stopped after I blocked it.