Linux

Where Does Wiki.js Store Config and Uploads?

Wiki.js application config file and page upload folder paths for Node installs and Docker on Linux hosts.

Last updated

Wiki.js keeps settings in config.yml at the install root. That file holds database, port, and storage targets. Data itself lives in Postgres or MySQL with uploads beside it.

Local uploads default under a data folder in the install tree. Git storage mode syncs pages to a repo instead. Docker installs map the same pair through volumes. Back up config.yml, the database dump, and uploads together. Editors switch between markdown and visual modes. Permissions gate pages per group setup. Search indexes rebuild after moves.

Where Wiki.js stores this, by platform

Linux
/var/wiki/config.yml

Database, storage, and port settings for the Node app. Restrict read access since secrets live here. Keep with database dumps for moves.

Linux
/var/wiki/data/uploads

Local upload root when storage targets local disk. Git mode keeps pages in the synced repo instead. Mount a volume here in Docker.

Frequently asked questions

what do i back up for a Wiki.js move

Copy config.yml with a database dump and the data folder. The config holds database and storage targets. Repo targets in git mode live outside the database. All three restore the wiki.

where are Wiki.js uploads stored

Open config.yml in the install root to read database and storage blocks. Uploads default to local disk or S3 by setting. The file decides where content lands.

Notice an outdated path? Let us know.