Open link in a new tab

Content

Expand project menu

How to install plugins in a docker-based installation?

I haven’t found any documentation about installing plugins in a docker-based openproject installation. It is important that installed plugins are persisted over container restart. Can you give me some pointers and hints?

Message actions

Can someone help me on this? I cannot imagine that this isn’t possible.

Message actions

You can jump into the container using

docker container exec -it openproject bash

and then install the plugins directly from there.

Message actions

You can jump into the container using

@ docker container exec -it openproject bash@

and then install the plugins directly from there.

Yeha …. .
How exactly is one supposed to do that?!

Right now, I am within my docker container (6.1.5)
trying to manualy install plugins, like explained here :
https://www.openproject.org/plugins/install-plugins-manual/

As there is no folder called “openproject-ce”, i did a search via find to locate Gemfile.plugins.

root@02e2a9a81268:/# find . -name Gemfile.plugins
./usr/src/app/vendored-plugins/openproject-local_avatars/Gemfile.plugins
./usr/src/app/vendored-plugins/openproject-global_roles/Gemfile.plugins
./usr/src/app/vendored-plugins/openproject-meeting/Gemfile.plugins
./usr/src/app/vendored-plugins/openproject-reporting/Gemfile.plugins
./usr/src/app/vendored-plugins/openproject-backlogs/Gemfile.plugins
./usr/src/app/vendored-plugins/openproject-xls_export/Gemfile.plugins
./usr/src/app/vendored-plugins/openproject-my_project_page/Gemfile.plugins
./usr/src/app/vendored-plugins/openproject-costs/Gemfile.plugins
./usr/src/app/vendored-plugins/openproject-documents/Gemfile.plugins
./usr/src/app/Gemfile.plugins

even if this:

./usr/src/app/Gemfile.plugins

is the file one needs to adapt, the next stepds, described for the manual plugin installation:

[openproject@debian]# cd ~/openproject-ce
[openproject@debian]# bundle install
[openproject@debian]# npm install
[openproject@debian]# RAILS_ENV=“production” bundle exec rake db:migrate db:seed assets:precompile

Restart the OpenProject server afterwards (no need to restart Apache(:

[openproject@debian]# touch ~/openproject-ce/tmp/restart.txt

is not possible for me.

Any ideas?

Message actions

Hello. Have the same issue. Did you finally resolve this problem?