Our host is having a datacenter major incident. I will update twitter when I know more. If you are being redirected here from diasp.org please flush your cache so you do not get stuck when pod back up 4/9/21 update. I have found a new...
diasporg
2021 diasp.org server setup
Every year this seems to get a bit more simple and cleaner! Lots more CPU power for 2021! diasp.org server move is scheduled for 11/17/2020 15:00:00 PST, 22:00:00 UTCwindow is 3 hours planned Here are the network updates: IPv4: 216.18.218.21 IPv6: 2607:f2d8:4010:35::21 I2p: diasporg.i2p Note,...
Disable email on a diaspora user with bad email
I get some folks that are very active with bad email addresses and it causes a lot of extra work on postfix. To solve: RAILS_ENV=production bin/rails c user = User.find_by(email: ‘bad@email.net’) user.disable_mail = true user.save
2020 diasp.org server setup
Things will remain about the same as last year for the servers The diaspora code base has lightened up slightly as has the user base activity of the year This seems to keep things about right, the server is not blowing smoke but keeping up...
2020 Donation bar how to for diaspora podmins
Pod donations trickle in over the year, but doing a fundraiser with a progress bar seems to really help out to raise donations. How to: 1. /app/assets/stylesheets/stream.scss app/assets/stylesheets/stream.scss You need some css syles so add: #progressBar { width: 710px; height: 15px; border: 1px solid #111;...
Find user by photo random guid
diasp:~/diaspora$ RAILS_ENV=production bin/rails c Loading production environment (Rails 5.1.6) 2.4.4 :001 > Photo.find_by(random_string: ‘369c458d9b5b659a8333’) => #<Photo id: 2135366, author_id: 377, public: true, guid: “fba50340b6990136292d047d7b62795e”, pending: false, text: nil, remote_photo_path: “https://diasp.org/uploads/images/”, remote_photo_name: “369c458d9b5b659a8333.jpg”, random_string: “369c458d9b5b659a8333”, processed_image: “369c458d9b5b659a8333.jpg”, created_at: “2018-10-20 13:28:41”, updated_at: “2018-10-20 13:28:52”, unprocessed_image: “369c458d9b5b659a8333.jpg”, status_message_guid:...
add camo to eye for monitoring
https://git.feneas.org/diasporg/diaspora/blob/master/config/eye.rb See lines 54-67
update your diaspora pod
I made this simple script to make my life easier and do updates with no downtime. https://git.feneas.org/diasporg/diaspora/blob/master/script/update
Removing spammers on your pod
Assuming the issue is in your production diaspora db Grab the spam script. Mine is here https://git.feneas.org/diasporg/diaspora/blob/master/script/spam.rb Edit and add your users to remove on line 4. If more than one separate by space. Use full handle. Run it from command line ‘RAILS_ENV=production script/spam.rb’ Spammer...
2018 progress bar for diaspora podmin donations
Pod donations trickle in over the year, but doing a fundraiser with a progress bar seems to really help out to raise donations. How to: 1. https://github.com/diasporg/diaspora/blob/master/app/assets/stylesheets/stream.scss app/assets/stylesheets/stream.scss You need some css syles so add: #progressBar { width: 710px; height: 15px; border: 1px solid #111;...