src.nth.io/

summaryrefslogtreecommitdiff
path: root/pleroma/otp/tasks
AgeCommit message (Collapse)AuthorFilesLines
4 dayspleroma/otp: always migrate before starting; quiet the default loggerLuke Hoersten1-5/+16
migrate db now always runs (gated only on the binary existing, not on whether this run freshly installed the shared release) and runs before the service starts, not after. installed_version only reflects whether THIS run upgraded the shared /opt/pleroma binary, not whether THIS instance's own database is migrated against it; gating migrate on that let every instance but whichever one's play ran first after an upgrade skip its own migration and crash-loop on "Unapplied Migrations detected" (hit this for real on nth_io and haskell_social after a 2.11.0 upgrade). pleroma_ctl migrate is a no-op when nothing's pending, so changed_when false keeps normal runs from reporting changed every time. Cap the default console logger handler (journald) at :warning: it had no level set, so info-level noise like telemetry attach notices and every SQL debug query were flooding the journal. ex_syslogger's own level was already set separately; this only affects the handler nothing else was touching.
4 dayspleroma/otp: invite-only by default; fix tzdata write-permission crash loopLuke Hoersten1-0/+1
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.
2026-04-25Only run pleroma migrate on version change or first installLuke Hoersten1-1/+6
2026-04-25Build all roles from source with versioned artifactsLuke Hoersten4-55/+29
- Add pleroma/build role to compile from source (OTP binaries no longer published) - Install Elixir 1.18.3 manually on Ubuntu Noble (ships 1.14, needs 1.15+) - Standardize all build roles to produce versioned .tar.gz artifacts - Add version defaults to all server roles (bin, dendrite, nostr/relayer) - Switch server roles from get_url to unarchive for .tar.gz installs - Add build_srv_dir variable to all build roles - Deploy pleroma styles.json so custom FE themes appear in picker - Fix pleroma OTP install: version check, root ownership, auto-cleanup old releases - Fix pleroma config: log level :warn -> :warning, remove availableStyles - Add wait_for grafana readiness before dashboard install - Set minecraft ops changed_when: false
2026-04-05Harden role security: file permissions, service binding, no_log, strict defaultsLuke Hoersten1-0/+1
- Add no_log: true to tasks that handle passwords/secrets - Tighten config file permissions (0644 -> 0600/0640 where appropriate) - Bind pleroma to 127.0.0.1 instead of 0.0.0.0 - Tighten ergo unix socket mode 0777 -> 0770 - Remove weak defaults; roles now fail explicitly if required vars not set
2026-03-28Added soju role.Luke Hoersten1-0/+9
2024-10-07Lots of updates and fixes for Ubuntu 24.04 Noble.Luke Hoersten1-5/+2
2024-07-29Cleaned up always-changed status tasks.Luke Hoersten1-0/+1
2024-02-04Tons of updates to fix migration to new server.Luke Hoersten1-0/+4
2022-09-05Changed pleroma logging to "warn" status.Luke Hoersten1-1/+0
2021-07-24Fixed typoLuke Hoersten1-1/+1
2021-07-24More fixes.Luke Hoersten1-0/+7
2020-11-16Updated pleroma to 2.2.0 and added new dep.Luke Hoersten2-3/+6
2020-09-19Added proper reinstall logic for pleroma.Luke Hoersten3-75/+90
2020-07-09Fixed resolv.conf in adguard role.Luke Hoersten1-2/+1
2020-07-08Added conditional soapbox config.Luke Hoersten2-17/+30
2020-07-07Add Soapbox frontend support for Pleroma.Luke Hoersten1-8/+19
2020-07-01Split out aws s3 and otp roles.Luke Hoersten1-0/+108

☐