It is important to keep your Diapsora Pod updated to ensure latest security updates are applied and that all the best features that the Diaspora developers work so hard to implement are installed and available for all your members.

Updating is simple and straight forward and can be completed in a few minutes. Just copy and past the code below into your debian terminal; but keep in mind that you must always make sure to backup your pod before you make any changes that might potentially break it.

Lets begin; to update Diaspora, follow these steps.

1:Update the Operating System

sudo apt-get update

sudo apt-get dist-upgrade

2: Update the Diaspora source code with the git command

sudo su - diaspora

cd diaspora

git pull

3: Update the gems

gem install bundler

bin/bundle --full-index

4: Migrate the database and recompile the assets

RAILS_ENV=production bin/rake db:migrate

RAILS_ENV=production bin/rake assets:precompile

5: Finally, restart the Diaspora service

systemctl restart diaspora.target

Now your Diaspora pod should be updated to the latest version with all the lovely new features that come included. Have fun!

LEAVE A REPLY

Please enter your comment!
Please enter your name here