Linux

Where Does Diaspora Store Config and Uploads?

Diaspora keeps settings in config/diaspora.yml with uploads in public/uploads and state in its database.

Last updated

Diaspora configures from YAML files in the install config folder. The diaspora.yml file holds domain, mail, and feature settings, while database.yml carries the MySQL or Postgres credentials. Uploaded photos land in public/uploads under the install.

Pod location varies by install method, so relative paths stay constant while roots move. Federation keys generate on first setup and live with the database. Back up both YAML files with a database dump and the uploads folder.

Where Diaspora stores this, by platform

Linux
[PodDir]/config/diaspora.yml

Main settings plus database.yml beside it for credentials. Uploads sit in public/uploads under the same install. Pod root varies by deploy method.

Frequently asked questions

How do I back up a Diaspora pod?

Dump the database and copy both config files with the public/uploads folder. The set restores onto a fresh checkout. Keep secrets in the YAML files out of git.

Where are Diaspora photos stored?

In public/uploads under the install, processed into sized variants. The database maps files to posts. Object storage backends relocate them per config.

Notice an outdated path? Let us know.