summaryrefslogtreecommitdiff
path: root/docs/installation_guide/advanced.md
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2023-06-04 18:55:57 +0200
committerLibravatar GitHub <noreply@github.com>2023-06-04 18:55:57 +0200
commit45773a0bf441b6e8a9aa4f5abdef16a7085677e6 (patch)
treeb484cc6ab35b19eef560a37f5485c6fed09a3cbc /docs/installation_guide/advanced.md
parent[chore] tidy + test timelines a bit better (#1865) (diff)
downloadgotosocial-45773a0bf441b6e8a9aa4f5abdef16a7085677e6.tar.xz
[bugfix/docs] AppArmor profile for SQLite (#1864)
Our default configuration places the SQLite DB in /gotosocial/, but the AppArmor profile doesn't allow us to write there. Instead of making the whole directory writable, add a writable area in /gotosocial/db/ instead and advise in the docs to move the DB there.
Diffstat (limited to 'docs/installation_guide/advanced.md')
-rw-r--r--docs/installation_guide/advanced.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/installation_guide/advanced.md b/docs/installation_guide/advanced.md
index 677ea47bc..ecd73fdbe 100644
--- a/docs/installation_guide/advanced.md
+++ b/docs/installation_guide/advanced.md
@@ -256,6 +256,9 @@ line under `[Service]`:
AppArmorProfile=gotosocial
```
+If you're using SQLite, the AppArmor profile expects the database in
+`/gotosocial/db/` so you'll need to adjust your configuration paths accordingly.
+
For other deployment methods (e.g. a managed Kubernetes cluster), you should
review your platform's documentation for how to deploy an application with an
AppArmor profile.