Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps)!: upgrade app to Mastodon v4.3.0 #157

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jeremiahlee
Copy link
Contributor

BREAKING CHANGE: streaming service split from main image

BREAKING CHANGE: streaming service split from main image
@jeremiahlee
Copy link
Contributor Author

Force pushed to retrigger seemingly flaky test check (timeout) since I don't have the retry permission.

@jeremiahlee
Copy link
Contributor Author

I am running this chart without the non-Mastodon containers in production, so I know the Mastodon parts work.

Any suggestions on how to further debug this are welcomed.

I ran these tests with additional debugging enabled on my fork. In the Kubernetes namespace report:

job.batch/mastodon-assets-precompile has a Failed job status

7 mastodon-assets-precompile-* pods with Error status
1 mastodon-sidekiq-all-queues-* pod with CrashLoopBackOff status and 6 restarts
1 mastodon-web-* pod with CrashLoopBackOff status and 6 restarts

Logs from pod/mastodon-sidekiq-all-queues-*:

  2024-10-12T09:36:57.362Z pid=1 tid=5sd INFO: Booting Sidekiq 6.5.12 with Sidekiq::RedisConnection::RedisAdapter options {:url=>"redis://:REDACTED@mastodon-redis-master:6379/0", :driver=>:hiredis, :namespace=>nil}
  2024-10-12T09:36:58.185Z pid=1 tid=5sd WARN: ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "users" does not exist
  LINE 10:  WHERE a.attrelid = '"users"'::regclass
                               ^

Logs from pod/mastodon-assets-precompile-*

  sh: 1: node: not found
  sh: 1: nodejs: not found
  Node.js not installed. Please download and install Node.js https://nodejs.org/en/download/
  Exiting!

# streaming image split in Mastodon v4.3.0
repository: ghcr.io/mastodon/mastodon-streaming
# other options: `latest` for the latest release or `edge` for most recent commit
tag: null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tag: null
tag: ""

This gives a specific type, but it will still evaluate as empty/null.


# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: "v4.2.13"
appVersion: "v4.3.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
appVersion: "v4.3.0"
appVersion: "v4.3.1"

latest

@jessebot
Copy link
Contributor

jessebot commented Oct 22, 2024

@jeremiahlee looks like the assets precompile job can be disabled according to #158 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants