src.nth.io/

summaryrefslogtreecommitdiff
path: root/pleroma/otp
AgeCommit message (Collapse)AuthorFilesLines
3 daysversion-check: cover minecraft's deps and the build/server duplicatesLuke Hoersten1-0/+1
minecraft/server was missed in the original sweep since its lookup comments didn't match the github releases/tags pattern; paper, dynmap, and geyser now get the same marker. Also add markers to the three build/server (or /otp) duplicate version vars (bin, dendrite, pleroma), which were intentionally skipped before since they mirror their build role's version rather than pinning an independent upstream check. Point them at the build role's file instead of a URL so one grep still finds every instance; documented in the README alongside the existing URL form.
3 dayspleroma/otp: always migrate before starting; quiet the default loggerLuke Hoersten2-5/+24
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.
3 dayspleroma/otp: invite-only by default; fix tzdata write-permission crash loopLuke Hoersten3-1/+9
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.
5 daysstandardize upstream version-check comments; bump pinned versionsLuke Hoersten1-1/+1
Reword the lookup comment above each upstream _version var to a single greppable "# version-check: <url>" marker, always placed directly above the version line, so a script can find every instance with one grep. Bump bin 2.0.1 -> 2.0.2, pleroma 2.10.0 -> 2.11.0, relayer 2.2.8 -> 2.3.1, ergo 2.18.0 -> 2.19.1, openhop_repeater 1.1.1 -> 1.1.4, keeping the bin/server and pleroma/otp duplicate version vars in sync. Add a TODO on openhop/repeater to review upstream's identity-validation changes (1.1.2-1.1.4) against the stale-UID bug before deploying to the live mesh node. Document the version-check convention in the README.
2026-07-31pleroma/otp: proxy to 127.0.0.1 instead of localhostLuke Hoersten1-1/+4
nginx expands localhost to [::1] too, but the endpoint binds only 127.0.0.1, so every request burned a refused ipv6 connect first and flooded the error log.
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 Hoersten6-60/+36
- 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 Hoersten2-1/+2
- 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
2025-01-03Version updates and fixed excessive logging on web server.Luke Hoersten1-1/+1
2024-10-07Lots of updates and fixes for Ubuntu 24.04 Noble.Luke Hoersten3-10/+17
2024-07-29Cleaned up always-changed status tasks.Luke Hoersten1-0/+1
2024-02-04Tons of updates to fix migration to new server.Luke Hoersten2-1/+6
2023-04-03Version updateLuke Hoersten1-0/+1
2023-02-23Version updatesLuke Hoersten1-1/+1
2023-01-08Updated versions.Luke Hoersten1-1/+1
2022-11-06Backed out changeset 10051617d075Luke Hoersten3-15/+6
2022-11-06Fixed proxy pass.Luke Hoersten3-6/+15
2022-09-05Changed pleroma logging to "warn" status.Luke Hoersten2-5/+4
2022-08-08Version updatesLuke Hoersten1-1/+2
2022-05-23Update versionsLuke Hoersten1-1/+1
2021-07-24Fixed typoLuke Hoersten1-1/+1
2021-07-24More fixes.Luke Hoersten1-0/+7
2021-07-24Updated versions: minecraft, miniflux, pleroma, writefreely, ergo-oragono.Luke Hoersten1-1/+1
2021-07-19Removed matrix specific locations from pleroma nginx config.Luke Hoersten1-8/+0
2021-07-18Tons of updates.Luke Hoersten1-0/+8
2021-04-25Version bumps.Luke Hoersten1-1/+1
2020-11-16Updated pleroma to 2.2.0 and added new dep.Luke Hoersten4-4/+13
2020-09-19Added proper reinstall logic for pleroma.Luke Hoersten4-79/+94
2020-09-07Added optional log level change.Luke Hoersten1-0/+6
2020-07-09Added local pleroma prometheus scraping.Luke Hoersten4-2/+16
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 Hoersten2-11/+24
2020-07-01Added pleroma backup cleanup and mediaproxy.Luke Hoersten1-4/+2
2020-07-01Split out aws s3 and otp roles.Luke Hoersten9-0/+444

☐