Project

General

Profile

redmine 3.3.4 and 3.4.1 gemfile.lock write permissions

Added by carlo m over 6 years ago

Hi,

with the docker version of redmine (https://hub.docker.com/_/redmine/)

everything is fine with rev 3.3.3 but with 3.3.4 and 3.4.1 I have a big issue:
I am unable to install certain plugins because in the log I get this error:

stderr,/usr/local/bundle/gems/bundler-1.15.2/lib/bundler/shared_helpers.rb:110:in `rescue in filesystem_access': There was an error while trying to write to `/usr/src/redmine/Gemfile.lock`. It is likely that you need to grant write permissions for that path. (Bundler::PermissionError)

checking in the redmine container, I can see that the most part of the files and folders are owned by user "redmine" but Gemfile.lock is owned by "root".
More details:

-rw-r--r--  1 root    root    5593 Jul 24 08:24 Gemfile.lock

Is it something I can fix by myself or is it something that can be fixed only by the aouthors of the redmine docker image?

Thank you.