Upgrade redmine 4.1 to 4.2.10 // execution expired
Added by Jeroen van almost 2 years ago
Hi,
Trying to upgrade as described in https://www.redmine.org/projects/redmine/wiki/RedmineUpgrade (OPTION1)
- When doing the bundle install I get execution expired error
me@redmine-2022:/opt/redmine/redmine-4.2.10$ bundle install Fetching gem metadata from https://rubygems.org/. Retrying dependency api due to error (2/4): Bundler::HTTPError Network error while fetching https://index.rubygems.org/api/v1/dependencies?gems=actionpack-xml_parser%2Caddressable%2Cbundler%2Ccapybara%2Ccsv%2Cffi%2Ci18n%2Cmail%2Cmarcel%2Cmini_magick%2Cmini_mime%2Cmocha%2Cnet-ldap%2Cnokogiri%2Cpg%2Cpuma%2Crack-openid%2Crails%2Crails-dom-testing%2Crbpdf%2Credcarpet%2Crequest_store%2Croadie-rails%2Crotp%2Crouge%2Crqrcode%2Crubocop%2Crubocop-performance%2Crubocop-rails%2Cruby-openid%2Crubyzip%2Cselenium-webdriver%2Csimplecov%2Ctzinfo-data%2Cwebdrivers%2Cyard (execution expired) Retrying dependency api due to error (3/4): Bundler::HTTPError Network error while fetching https://index.rubygems.org/api/v1/dependencies?gems=actionpack-xml_parser%2Caddressable%2Cbundler%2Ccapybara%2Ccsv%2Cffi%2Ci18n%2Cmail%2Cmarcel%2Cmini_magick%2Cmini_mime%2Cmocha%2Cnet-ldap%2Cnokogiri%2Cpg%2Cpuma%2Crack-openid%2Crails%2Crails-dom-testing%2Crbpdf%2Credcarpet%2Crequest_store%2Croadie-rails%2Crotp%2Crouge%2Crqrcode%2Crubocop%2Crubocop-performance%2Crubocop-rails%2Cruby-openid%2Crubyzip%2Cselenium-webdriver%2Csimplecov%2Ctzinfo-data%2Cwebdrivers%2Cyard (execution expired) Retrying dependency api due to error (4/4): Bundler::HTTPError Network error while fetching https://index.rubygems.org/api/v1/dependencies?gems=actionpack-xml_parser%2Caddressable%2Cbundler%2Ccapybara%2Ccsv%2Cffi%2Ci18n%2Cmail%2Cmarcel%2Cmini_magick%2Cmini_mime%2Cmocha%2Cnet-ldap%2Cnokogiri%2Cpg%2Cpuma%2Crack-openid%2Crails%2Crails-dom-testing%2Crbpdf%2Credcarpet%2Crequest_store%2Croadie-rails%2Crotp%2Crouge%2Crqrcode%2Crubocop%2Crubocop-performance%2Crubocop-rails%2Cruby-openid%2Crubyzip%2Cselenium-webdriver%2Csimplecov%2Ctzinfo-data%2Cwebdrivers%2Cyard (execution expired) .......... Resolving dependencies... Network error while fetching https://rubygems.org/quick/Marshal.4.8/rails-5.2.8.1.gemspec.rz (execution expired)
I have no idea where this is coming from. Any suggestion how to continue?
Thanks
Jeroen
Replies (2)
RE: Upgrade redmine 4.1 to 4.2.10 // execution expired - Added by Jeroen van almost 2 years ago
My problem seems to be related to IPv6.
I disabled IPv6 temporary
- sysctl -w net.ipv6.conf.all.disable_ipv6=1
- sysctl -w net.ipv6.conf.default.disable_ipv6=1
Then the installation works at it should.
Note that after a reboot IPv6 is enabled again.
RE: Upgrade redmine 4.1 to 4.2.10 // execution expired - Added by Jeroen van almost 2 years ago
Another lesson learned is that the apache symbolic link needs to be manually changed to the new redmine folder.
See below:
Check existing symbolic link
cd /var/www/html/
ls -la
redmine -> /opt/redmine/redmine-4.1/public/
Change it by following command
sfn /opt/redmine/redmine-4.2.10/public/ redmine