Upgrade akkounts Ruby, update Sentry and Blossom configs #712
No Reviewers
Labels
Clear labels
monitoring
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
security
ui/ux
wontfix
Infrastructure metrics, alerts, notifications, etc.
service
discourse
Kosmos Community Forums
service
accounts
Kosmos Accounts
service
drone-ci
Kosmos Drone CI
service
email
mail.kosmos.org
service
garage
S3-compatible object storage
service
gitea
Kosmos Gitea
service
ipfs
Kosmos IPFS
service
lightning
Lightning address, lndhub, etc.
service
mastodon
kosmos.social
service
nostr
Relays, Blossom server, etc.
service
postgres
Database cluster
service
remotestorage
Portable data storage for the Web
service
wiki
Kosmos Wiki
service
xmpp
Kosmos Chat
Something is not working
Graphic/visual design
Config, builds, CI, deployment, etc.
Documentation
This issue or pull request already exists
Improving existing functionality
New functionality
Dive in, and start contributing
Something to consider
Not a bug
Small contribution
Medium contribution
Large contribution
Currently not actionable
Manual IT ops activities
Looking for an answer
All your base are belong to us
User interface, process design, etc.
This won't be fixed
release
major
release
minor
release
patch
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kosmos/chef#712
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Ruby 3.3.12 is affected by the seven Regexp and String case conversion vulnerabilities published on 2026-11-18 (https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/). Several of them allow remote code execution in applications that compile attacker-influenced patterns or change the case of crafted strings, both of which apply here, so the cookbook now builds Ruby 3.3.14, the fixed release on the 3.3 line.
ruby-buildis bumped to v20261119 because the previous v20260701 predates the 3.3.14 definition and cannot build it.Sentry's host (
sentry.kosmos.local, 10.1.1.132) is down, so every captured event ends in a TCP timeout and aSentry::ExternalErrorstack trace - thousands per day in the app log. LeavingSENTRY_DSNout of the app environment makesconfig/initializers/sentry.rbskipSentry.initentirely, so the app stops contacting it instead of failing on every event. This is temporary: the line is commented out with a dated note and should be restored once the host is back.The last commit passes
NOSTR_BLOSSOM_SERVER_URLto the app environment, defaulting it to nil like the other nostr attributes and settinghttps://blossom.kosmos.orgin production.Deployed and verified
The Ruby upgrade and the Sentry change were converged to akkounts-2 on 2026-11-21 and are already running in production:
/opt/ruby_build/builds/3.3.14and the systemd unit startsbundlefrom therebundle install,db:migrateandassets:precompilere-ran against the new interpreter (gems live in the ABI-keyed/opt/akkounts/vendor/bundle/ruby/3.3.0, so nothing had to be reinstalled)accounts.kosmos.org/users/sign_inreturns 200 and SolidQueue's processes are up/opt/akkounts/.env.productionno longer containsSENTRY_DSN, and the log has had zero Sentry connection attempts since the restartakkounts: Upgrade Ruby to 3.3.14, disable Sentry while its host is downto Upgrade akkounts Ruby, update Sentry and Blossom configs