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

no way to save installed plugins #31828

Open
api-portal-inmobiliario opened this issue Feb 7, 2025 · 2 comments
Open

no way to save installed plugins #31828

api-portal-inmobiliario opened this issue Feb 7, 2025 · 2 comments
Assignees
Labels
in-progress redmine tech-issues The user has a technical issue about an application

Comments

@api-portal-inmobiliario
Copy link

api-portal-inmobiliario commented Feb 7, 2025

Name and Version

bitnami/redmine 32.1.1

What steps will reproduce the bug?

deploy the application with persistence enabled and an existing pvc (I'm using EBS)

install redmine_oauth plugin (https://github.com/kontron/redmine_oauth.git)
you can follow these steps:

cd /bitnami/redmine/plugins
git clone https://github.com/kontron/redmine_oauth.git
chown -R www-data:www-data redmine_oauth
apt update
apt install -y build-essential libssl-dev libreadline-dev zlib1g-dev libxml2-dev libxslt1-dev libsqlite3-dev 
gem install bigdecimal -v 3.1.9
cd /bitnami/redmine/plugins/redmine_oauth
bundle install
cd /opt/bitnami/redmine
bundle config set frozen false
bundle install

log in as admin and verify that the extension is available in admin->extensions

now restart the pod

it will never start again

Are you using any custom parameters or values?

just the once to configure emails, ingress, security (podsecurityContext enabled, containerSecurityContextEnabled) and database connection

What is the expected behavior?

the pod can restart without any problem

What do you see instead?

redmine 11:45:39.61 DEBUG ==> Generating secret tokens
bundler: failed to load command: rake (/opt/bitnami/redmine/vendor/bundle/ruby/3.2.0/bin/rake)
/opt/bitnami/ruby/lib/ruby/gems/3.2.0/gems/bundler-2.5.22/lib/bundler/definition.rb:419:in `ensure_equivalent_gemfile_and_lockfile': The dependencies in your gemfile changed, but the lockfile can't be updated because frozen mode is set (Bundler::ProductionError)

You have added to the Gemfile:
* jwt
* oauth2

Run `bundle install` elsewhere and add the updated Gemfile to version control.
If this is a development machine, remove the Gemfile.lock freeze by running `bundle config set frozen false
@api-portal-inmobiliario api-portal-inmobiliario added the tech-issues The user has a technical issue about an application label Feb 7, 2025
@github-actions github-actions bot added the triage Triage is needed label Feb 7, 2025
@github-actions github-actions bot removed the triage Triage is needed label Feb 9, 2025
@github-actions github-actions bot assigned juan131 and unassigned carrodher Feb 9, 2025
@juan131
Copy link
Contributor

juan131 commented Feb 10, 2025

Hi @api-portal-inmobiliario

We highly recommend to extend the Bitnami Redmine image and install extra required plugins at build time so you build your custom image. It's highly discouraged to do this at runtime.

@stefano-vardanega
Copy link

I got a very similar issue with redmine_agile plugin. After the bundle exec rake redmine:plugins NAME=redmine_agile RAILS_ENV=production command the pod never restart again with a CrashLoopBackOff error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-progress redmine tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

4 participants