-
Notifications
You must be signed in to change notification settings - Fork 499
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
Updating Gem? #447
Comments
It's expected that you destroy the container, every time you stop it. This is especially true when you delete the tmp directory. |
I think docker-redmine/assets/runtime/functions Line 1043 in 6e7d4f5
It should print "Executing plugins/post-install.sh script..." if the script is getting run. I suspect your issue might be related to not bringing the container down. but hard to say. |
I did
The scripts is being executed after "Installing plugins..." but the redmine container is being exited the moment redmine reaches plugin the code below. requires_redmine_crm :version_or_higher => '0.0.54' rescue raise "\n\033[31mRedmine requires newer redmine_crm gem version.\nPlease update with 'bundle update redmine_crm'.\033[0m" |
|
Maybe this is a problem with the redmineup plugin? Someone posted something similar 6 months ago. https://www.redmineup.com/pages/help/crm/installing-redmine-crm-plugin-on-linux#comment-4877086020 |
I just looked at the log again, it shows "Migrating plugins. Please be patient, this could take a while...", so it seems to fail here: docker-redmine/assets/runtime/functions Line 1034 in 6e7d4f5
I also noticed that you can create a docker-redmine/assets/runtime/functions Line 1016 in 6e7d4f5
|
This seems to be a problem with the plugin.
…On Fri, Oct 30, 2020 at 6:43 PM Sir-Will ***@***.***> wrote:
I just looked at the log again, it shows "Migrating plugins. Please be
patient, this could take a while...", so it seems to fail here:
https://github.com/sameersbn/docker-redmine/blob/6e7d4f57d73098e06071fdda0edf597756477972/assets/runtime/functions#L1034
I also noticed that you can create a pre-install.sh file. Should the bundle
update redmine_crm command work in there?
https://github.com/sameersbn/docker-redmine/blob/6e7d4f57d73098e06071fdda0edf597756477972/assets/runtime/functions#L1016
redmine_1 | Installing plugins...
redmine_1 | Installing gems required by plugins...
redmine_1 | Your application has set without to "development:test". This will override the global value you are currently setting
redmine_1 | Migrating plugins. Please be patient, this could take a while...
redmine_1 | Redmine requires redmine_crm gem version 0.0.54 or higher (you're using 0.0.53).
redmine_1 | Please update with 'bundle update redmine_crm'.
wipli_redmine_1 exited with code 1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#447 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABK2RGO4XEE654GJAJ3UASLSNM6P7ANCNFSM4TEODCFA>
.
--
Jonathan Cormier
Software Engineer
Voice: 315.425.4045 x222
http://www.CriticalLink.com <http://www.criticallink.com/>
6712 Brooklawn Parkway, Syracuse, NY 13211
<https://www.linkedin.com/company/critical-link-llc>
<https://twitter.com/Critical_Link>
|
Apparently the plugin requires |
The pre-install.sh script mentioned above is run as root, so you should be able to install build-essentials before plugins are migrated. |
Hello! I am trying to add So I have two questions: |
@La1x, What version of the docker image are you using? What version of the CRM plugin? |
I just tested sameersbn/redmine:5.1.2-1 with redmine_crm-4_4_1-light.zip and it installed without issue and with no need for a pre/post install steps.
|
@jcormier , thank you for reply! I found solution: explicitly set version in plugin's Gemfile: Maybe this is a problem caused by plugin's Gemfile? |
Yeah, I'd guess you have two plugins with conflicting Gemfile dependencies. |
@jcormier , no, it's only one plugin. |
Hello,
I tried updating few plugins and got this message from one of the plugins:
How do I run this command with docker? I tried adding it to
post-install.sh
but it seems to exit before that gets executed.I also tried with a fresh
tmp
dir but then I get theToo many levels of symbolic links
error like described in #412The text was updated successfully, but these errors were encountered: