Internet is not ready when plugin installing and rubygems update is required
reasly opened this issue · 0 comments
reasly commented
I am using :
sameersbn/redmine:5.1.2-1
When I install plugin and restart the container, redmine faied to start.
Checking the logs:
Configuring nginx::redmine::hsts...
Installing plugins...
Installing gems required by plugins...
You are replacing the current local value of without, which is currently "development:test"
Could not reach host index.rubygems.org. Check your network connection and try
again.
Initializing logdir...
Initializing datadir...
Symlinking dotfiles...
Installing configuration templates...
Configuring redmine...
Configuring redmine::database
Configuring redmine::logger...
Configuring redmine::unicorn...
Configuring redmine::secret_token...
Generating a session token...
Note:
All old sessions will become invalid.
Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
**SHOULD** be defined if you have a load-balancing Redmine cluster.
Configuring redmine::max_concurrent_ajax_uploads...
Configuring redmine::sudo_mode...
Configuring redmine::autologin_cookie...
Configuring redmine::backups...
Configuring redmine::rmagic::font...
Configuring redmine::avatar::url...
Configuring nginx...
Configuring nginx::redmine...
Configuring nginx::redmine::ssl...
Configuring nginx::redmine::hsts...
Installing plugins...
Installing gems required by plugins...
You are replacing the current local value of without, which is currently "development:test"
Could not reach host index.rubygems.org. Check your network connection and try
again.```
With docker inspect redmine I found that the network and DHCP client is not ready, so there is no IP address for the docker instance.
I checked the network setting, it is OK. Without the plugin, redmine can boot and work, and the network is working (can connect to external website, lite index.rubygems.org ).
Could someone help suggest how to fix it?