src.nth.io/

summaryrefslogtreecommitdiff
path: root/pleroma/otp/tasks
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-10-26 19:25:23 -0500
committerLuke Hoersten <[email protected]>2026-10-26 19:25:23 -0500
commit2418d9d3eea87cd76b1ccccd5c24db585247fbcc (patch)
treebfb2f9e21a07452b10e5c8949069bb9490687e27 /pleroma/otp/tasks
parent1d023348dc169e18d7dafa33463817ccd412a743 (diff)
pleroma/otp: invite-only by default; fix tzdata write-permission crash loop
Default pleroma_signup_open to "false" and add pleroma_invites_enabled "true" as a default (there was none before, every instance had to set it explicitly). Two of three live instances were already overridden to invite-only; open registration by default is what let haskell.social get hit by spam/harassment in the first place. Point tzdata's :data_dir at a writable, per-instance directory instead of its own root-owned lib path. Without this, tzdata_release_updater crashes every few seconds trying to write its update-poll marker file under /opt/pleroma/lib, which the pleroma user can't write to.
Diffstat (limited to 'pleroma/otp/tasks')
-rw-r--r--pleroma/otp/tasks/instance.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pleroma/otp/tasks/instance.yaml b/pleroma/otp/tasks/instance.yaml
index b69477d..a7bfdd4 100644
--- a/pleroma/otp/tasks/instance.yaml
+++ b/pleroma/otp/tasks/instance.yaml
@@ -24,6 +24,7 @@
- "{{pleroma_data_dir}}/{{pleroma_instance}}/static"
- "{{pleroma_data_dir}}/{{pleroma_instance}}/static/static"
- "{{pleroma_data_dir}}/{{pleroma_instance}}/static/static/themes"
+ - "{{pleroma_data_dir}}/{{pleroma_instance}}/tzdata"
- name: install pleroma db schema file
become: yes

☐