Translation(s): none


/!\ This is very early version of the diaspora package and not recommended for production yet.

diaspora package is available in debian experimental.

# apt-get -t experimental install diaspora

This will create necessary database initialization and configuration using postgresql.

Diaspora Installer Package

This will install gems via This is a short term solution until we complete the diaspora package.


Enable diaspora jessie repo

Import archive signing key

The archive is signed with Praveen's OpenPGP key:

2A79 74AE 2FC1 52D7 7867  DA4A CE1F 9C67 4512 C22A

Import the corresponding key to your system:

# gpg --recv-keys --keyserver CE1F9C674512C22A
# gpg --export --armor CE1F9C674512C22A | apt-key add -

If you have difficulty getting the key via keyserver, you can get it via wget

# wget
# apt-key add praveen.key.asc

Update your repository list

Once you import the gpg key, add the corresponding repository to sources.list and update the packages list:

# apt-get install apt-transport-https ca-certificates
# echo deb jessie main contrib >>/etc/apt/sources.list
# apt-get update


then install diaspora-installer

# apt-get install diaspora-installer

We hope to be able to provide diaspora-installer via jessie-backports when the new version clears NEW and migrates to testing.


If you have contrib section in your sources list, you can just run

# apt-get install diaspora-installer

The source code of diaspora-installer package could be found here.

Re installing the package

If you want to reinstall the package, you have to purge, drop the database and remove the dbconfig-common configuration for diaspora:

# apt-get purge diaspora-common
# rm /etc/dbconfig-common/diaspora*
# rm -rf /etc/diaspora*
# rm /etc/nginx/sites-available/ 
# rm /etc/nginx/sites-enabled/
# sudo -u postgres dropdb diaspora_production
# rm /var/cache/apt/archives/diaspora*

There is more work to do.


  1. diaspora-common fails in piuparts

    • There was an issue installing "diaspora-common". It was due to postgresql.

      It can be solved by first purging the postgresql using --> {apt-get purge postgresql} and then try installing the "diaspora-common".

  2. User "diaspora" does not get created when using home account. Works with root.
  3. Encountered issues with diaspora user and database ( )

    • This issue arises because the script is not finding a ROLE for diaspora in postgresql database. To resolve this you just need to create the role by typing

in the postgresql prompt.

  1. Installation successfully done, but http://localhost:3000 not starting. The service /etc/init.d/diaspora does not start (i.e., status never shows UP).


  1. Handle post install configurations (enable statistics, enable email, setup services like twitter, tumblr and facebook).
  2. Run tests during build
  3. Add autopkgtest (just run bundle install --local and bundle exec rake assets:precompile)
  4. Team's task tracker

Policy for dependency updates

Help keep the gem versions in sync. If deb version of a library is older than required by diaspora (run 'bundle install --local' on a develop branch checkout of diaspora upstream), update the deb version. If debian already has a new version of a library, update the corresponding gem version in diaspora.

  1. tiny version change, patch gemfile
  2. minor version change, test compatibility
  3. major version change, test compatibility and embed gem if needed

Coordinate with upstream for major version updates.

You can find the packaging work at

See below for the team effort to package the dependencies of Diaspora and Diaspora itself for Debian.

Diaspora packaging

Enabling Chat