#Mastoadmins, anyone know what "bundle lock --normalize-platforms" actually does, and it is a problem?
I was advised to do this during the "bundle install" process (which I did), to fix a problem with "nokogiri-1.19.2-x86_64-linux-gnu", but I don't know why I need to do it.
[SOLVED] 👍
Hi #mastoAdmins
I'm trying to help a friend out with his Mastodon instance. An upgrade went badly wrong and mastodon would not restart.
We've rebuilt the server using backups and the server is up and running. It is federating. However no one can login.
If I enable debugging log i get the following for a log attempt in the system logs
Errno::ECONNREFUSED (Connection refused - connect(2) for 127.0.0.1:389):
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075]
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075] app/models/concerns/user/ldap_authenticable.rb:11:in 'User::LdapAuthenticable::ClassMethods#authenticate_with_ldap'
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075] app/controllers/auth/sessions_controller.rb:69:in 'Auth::SessionsController#find_user_from_params'
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075] app/controllers/auth/sessions_controller.rb:62:in 'Auth::SessionsController#find_user'
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075] app/controllers/concerns/auth/two_factor_authentication_concern.rb:12:in 'Auth::TwoFactorAuthenticationConcern#two_factor_enabled?'
Mar 14 18:47:50 debian-s2-2 bundle[13675]: [0e4f20e2-6069-47ee-8678-e4db5247e075] lib/mastodon/middleware/socket_cleanup.rb:11:in 'Mastodon::Middleware::SocketCleanup#call'#MastoAdmins: ali525-q.hf.space seems to be a source of "mutual aid" spam.
When you go to the domain, there's just a huggingface loading page.
I suggest you add it to your #blocklist if you haven't already
Merci de bien vouloir faire sauter ce compte.
I think we lost our fearless leaders here. I haven’t seen @Casey, @kevin and @pj on here in awhile. How do we feel about that?
Dear #mastoadmins, I'd like to improve the current setup using #caddy and #podman #compose. Is anyone using #podman #quadlet with #systemd? Also I understand that having the connection between caddy reverse proxy and mastodon via sockets is very cool and I'd like to give this a try as well.
Systemd is now offering keeping podman quadlet containers up to date by itself. Maybe this one can be leveraged as well.
#MastoAdmins - if you have problems with the "Fetch All Replies" function in v4.4 and 4.5 of Mastodon, check your "pull queue" in Sidekiq.
The function was working for me for a while, but then I started getting a circular "loading" icon at the bottoms of threads, and the remote replies would never appear.
This may have been because I added some more relays recently.
After chatting with some other admins in the Matrix support channel, I checked my Sidekiq queues, and there were 1.2m entries 😱
I found this article https://thomas-leister.de/en/scaling-up-mastodon/, which mentions splitting up the queue pollers into different services and I saw the same symptoms, htop was showing sidekiq's 25 threads, but only 1 of them was actually busy, and using 100% CPU, where other CPUs were mostly idle.
My machine is pretty beefy - A VM on SSDs, 4 vCPUs (Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz) and 48gb RAM, so the bottleneck is the lack of proper automatic multithreading in Sidekiq?
In the end I followed Thomas' instructions, and created 2 extra system services that just serviced the Mastodon "pull" queue (1 was not enough).
9 days later, the queue is now at 0, and reading posts in Mastodon now seems to pull in the new replies again 🥳
I have now disabled one of the 1 pull queue services, in the hope that one for the pull queue is enough.
😅