-
Notifications
You must be signed in to change notification settings - Fork 497
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
only install gems if plugins exist #298
Comments
... setting the enviroment-variable for the proxy worked, but disabling this would still be nice! |
Are you using any plugins? |
No. Even on a fresh installation with no database and no mounted volume i get this. I used now for test sameersbn/redmine:3.4.2, but had this also with sameersbn/redmine:3.3.4 here is the console-output before it is waiting for thwe timeout.
|
If you are from china, please use china's mirror like below in pre-install.sh |
no, europe. hm, i should mention that my server has no internet-connection, but i want to start it anyway... ;-) |
So it looks like the install_plugins step runs bundle install regardless of you having any plugins. Since if there are no plugins theres no need to install any new gems or run the database migration. If you want to make a pull request that only runs the install when plugins exist. |
unfortunately, I'm not a developer. so even don't know how to make a pull request, so i'm sorry, i can't help much here... but i will look into the code, maybe i find somehing useful..... |
@pos-ei-don it would be enought to supply information we can handle the rest but as no of us has the problem we can't dig into that our self |
@frank-dspeed That's true. But as a workaround, I don't think there is any reason the install_plugins function needs to call 'bundle install" if there are no plugins to install. This is something we can we can implement and test without needing to reproduce his exact problem. https://github.com/sameersbn/docker-redmine/blob/master/assets/runtime/functions#L928 It might be as simple as returning if after the rsync the plugins directory is still empty. I've been meaning to get to this but this past month has been very busy for me. |
New Instance doesn't start without Internet: Could not fetch specs from https://rubygems.org/
after ~10 minutes, I get
redmineTEST exited with code 17
, folowed by trying to start it again.Is there a possibility to override this and/or use a proxy for this?
The text was updated successfully, but these errors were encountered: