Good afternoon fellow friends! Long time no see! I wanted to make a post letting you all know about a problem that’s so far not very well documented
Some of us users out there (such as myself and a few other confirmed podmins) have found that installing Diaspora and Mastodon on the same server can be extremely troublesome. For the most part, simple configurations can get past most issues, but there is one issue that there is no simple solution for that doesn’t involve moving both platforms on different servers:
They both use the same redis database. This causes problems with your SIDEKIQ system. Essentially Mastodon and Diaspora are fighting over which platform gets to handle the next database request and if the wrong platform gets the wrong request, it doesn’t understand it and fails the request and vice versa.
This results in your redis federation posts not going through.
There are a couple of solutions I want to put forth for folks:
- If you can, please make sure your diaspora and your mastodon sites are on two DIFFERENT servers. That’s the best and easiest solution.
- If you can’t do that but can put mastodon in a VM, that will work too.
- Place Mastodon in a docker image.
PLEASE NOTE: Docker has known security flaws which are not recommended for systems administrators. Please do your read up and study: I do not recommend doing this unless you actually know what you’re doing!!!
Notice that option number three is NOT supported officially by any Diaspora representative and is to be taken at your own risk.
If you choose to ignore this issue, you may experience severe degredation of federation among both of your platforms.