Where Does Friendica Store Config and Data?
Friendica node settings and addon module paths for federated social hosting on Linux. With backup tips.
Last updated
Friendica keeps site settings in config/local.config.php at the web root. That file holds database passwords, hostname, and addon options. User data itself lives in MySQL per that config.
Addons sit in addon folders beside the config with per addon settings. Photo caching mode decides whether images stay in files or database. Back up the config, the database dump, and addons together for moves. Conversations federate over ActivityPub relays. Cron workers deliver outbound messages. Themes change layout per user.
Where Friendica stores this, by platform
/var/www/friendica/config/local.config.php
Database, hostname, and addon settings for the node. Restrict read access since secrets live here. Keep with database dumps for moves.
/var/www/friendica/addon
Community plugins with per addon data beside them. Copy whole tree with the config. Update addons after core upgrades.
Frequently asked questions
what do i back up for a Friendica move
Copy config/local.config.php with a database dump and the addon folders. The config holds database and hostname. Photos cache in the database by setting. All three restore social.
where are Friendica photos stored
Open config/local.config.php in the web root to read database and system blocks. Uploads cache in the database or files by setting. The file decides the mode.
Notice an outdated path? Let us know.