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

[Backport release-24.11] mastodon: 4.3.4 -> 4.3.6 #389693

Merged
merged 4 commits into from
Mar 22, 2025

Conversation

nixpkgs-ci[bot]
Copy link
Contributor

@nixpkgs-ci nixpkgs-ci bot commented Mar 14, 2025

Bot-based backport to release-24.11, triggered by a label in #388668.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

@nixpkgs-ci nixpkgs-ci bot added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Mar 14, 2025
@nixpkgs-ci nixpkgs-ci bot mentioned this pull request Mar 14, 2025
13 tasks
@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Mar 14, 2025
Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

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

This requires a bundler update or at least a change in the lockfile otherwise Mastodon fails at runtime. I do not have the time to take care of that.

@Izorkin
Copy link
Contributor

Izorkin commented Mar 19, 2025

Error start service:

server # [   11.535439] mastodon-init-dirs[852]: Activating bundler (~> 2.6) failed:
server # [   11.538519] mastodon-init-dirs[852]: Could not find 'bundler' (~> 2.6) - did find: [bundler-2.5.22,bundler-2.5.22]
server # [   11.542703] mastodon-init-dirs[852]: Checked in 'GEM_PATH=/nix/store/hc83jki01n3xnnzi6bw0xgnxca6q6d28-mastodon-gems-4.3.6/lib/ruby/gems/3.3.0' , execute `gem env` for more information
server # [   11.546800] mastodon-init-dirs[852]: To install the version of bundler this project requires, run `gem install bundler -v '~> 2.6'`

@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Mar 19, 2025

Can someone try if patching the lockfile to downgrade the used bundler version is an option here?

@LeSuisse
Copy link
Member

Downgrading the Bundler version seems to do the job, the tests are passing.

@erictapen
Copy link
Member

erictapen commented Mar 22, 2025

Thanks! I ran the tests on x86_64 and deployed successfully to an aarch64 instance.

@erictapen erictapen dismissed SuperSandro2000’s stale review March 22, 2025 17:11

Bundler version was downgraded

@erictapen erictapen merged commit 38a642b into release-24.11 Mar 22, 2025
27 of 28 checks passed
@LeSuisse LeSuisse deleted the backport-388668-to-release-24.11 branch March 22, 2025 17:36
@SuperSandro2000
Copy link
Member

Thanks for picking this up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.severity: security Issues which raise a security issue, or PRs that fix one 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants