Actions
Bug #21903
closedtordo upgrade failing
Story points:
-
Description
root@tordo:/var/www/arvados-api/shared/log# dpkg-reconfigure arvados-api-server Assumption: nginx is configured to serve Rails from /var/www/arvados-api/current Assumption: nginx and passenger run as www-data Creating symlinks to configuration in /etc/arvados/api ...... done. Installing bundler... done. Running bundle config set --local path /var/www/arvados-api/shared/vendor_bundle... done. Installing bundle gems...Successfully installed test-unit-3.6.1 Parsing documentation for test-unit-3.6.1 Done installing documentation for test-unit after 1 seconds Successfully installed public_suffix-5.0.4 Parsing documentation for public_suffix-5.0.4 Done installing documentation for public_suffix after 0 seconds Successfully installed railties-7.0.8.1 Parsing documentation for railties-7.0.8.1 Done installing documentation for railties after 0 seconds Building native extensions. This could take a while... Successfully installed byebug-11.1.3 Parsing documentation for byebug-11.1.3 Done installing documentation for byebug after 0 seconds Successfully installed mini_mime-1.1.5 Parsing documentation for mini_mime-1.1.5 Done installing documentation for mini_mime after 0 seconds Successfully installed rails-7.0.8.1 Parsing documentation for rails-7.0.8.1 Done installing documentation for rails after 0 seconds Successfully installed net-protocol-0.2.2 Parsing documentation for net-protocol-0.2.2 Done installing documentation for net-protocol after 0 seconds Successfully installed google-cloud-env-2.1.1 Parsing documentation for google-cloud-env-2.1.1 Done installing documentation for google-cloud-env after 0 seconds Successfully installed faraday-multipart-1.0.4 Parsing documentation for faraday-multipart-1.0.4 Done installing documentation for faraday-multipart after 0 seconds Successfully installed multipart-post-2.4.0 Parsing documentation for multipart-post-2.4.0 Done installing documentation for multipart-post after 0 seconds Building native extensions. This could take a while... Successfully installed ffi-1.15.5 Parsing documentation for ffi-1.15.5 Done installing documentation for ffi after 2 seconds Successfully installed sprockets-4.2.1 Parsing documentation for sprockets-4.2.1 Done installing documentation for sprockets after 1 seconds Successfully installed simplecov-rcov-0.3.1 Parsing documentation for simplecov-rcov-0.3.1 Done installing documentation for simplecov-rcov after 0 seconds Successfully installed signet-0.16.1 Parsing documentation for signet-0.16.1 Done installing documentation for signet after 0 seconds Successfully installed docile-1.4.0 Parsing documentation for docile-1.4.0 Done installing documentation for docile after 0 seconds Successfully installed i18n-1.14.4 Parsing documentation for i18n-1.14.4 Done installing documentation for i18n after 0 seconds Successfully installed thor-1.3.1 Parsing documentation for thor-1.3.1 Done installing documentation for thor after 0 seconds Successfully installed multi_json-1.15.0 Parsing documentation for multi_json-1.15.0 Done installing documentation for multi_json after 0 seconds Successfully installed os-1.1.4 Parsing documentation for os-1.1.4 Done installing documentation for os after 0 seconds Successfully installed andand-1.3.3 Parsing documentation for andand-1.3.3 Done installing documentation for andand after 0 seconds Successfully installed concurrent-ruby-1.2.3 Parsing documentation for concurrent-ruby-1.2.3 Done installing documentation for concurrent-ruby after 1 seconds Successfully installed arvados-2.7.0.rc2 Parsing documentation for arvados-2.7.0.rc2 Done installing documentation for arvados after 0 seconds Successfully installed activemodel-7.0.8.1 Parsing documentation for activemodel-7.0.8.1 Done installing documentation for activemodel after 0 seconds Successfully installed rack-2.2.9 Parsing documentation for rack-2.2.9 Done installing documentation for rack after 1 seconds Successfully installed power_assert-2.0.3 Parsing documentation for power_assert-2.0.3 Done installing documentation for power_assert after 0 seconds Successfully installed rails-dom-testing-2.2.0 Parsing documentation for rails-dom-testing-2.2.0 Done installing documentation for rails-dom-testing after 0 seconds Successfully installed loofah-2.22.0 Parsing documentation for loofah-2.22.0 Done installing documentation for loofah after 0 seconds Successfully installed actionview-7.0.8.1 Parsing documentation for actionview-7.0.8.1 Done installing documentation for actionview after 1 seconds Successfully installed rails-html-sanitizer-1.6.0 Parsing documentation for rails-html-sanitizer-1.6.0 Done installing documentation for rails-html-sanitizer after 0 seconds Successfully installed actioncable-7.0.8.1 Parsing documentation for actioncable-7.0.8.1 Done installing documentation for actioncable after 0 seconds Successfully installed net-smtp-0.5.0 Parsing documentation for net-smtp-0.5.0 Done installing documentation for net-smtp after 0 seconds Successfully installed activestorage-7.0.8.1 Parsing documentation for activestorage-7.0.8.1 Done installing documentation for activestorage after 0 seconds Successfully installed addressable-2.8.6 Parsing documentation for addressable-2.8.6 Done installing documentation for addressable after 0 seconds Successfully installed faraday-2.8.1 Parsing documentation for faraday-2.8.1 Done installing documentation for faraday after 0 seconds Successfully installed zeitwerk-2.6.13 Parsing documentation for zeitwerk-2.6.13 Done installing documentation for zeitwerk after 0 seconds Successfully installed rb-inotify-0.10.1 Parsing documentation for rb-inotify-0.10.1 Done installing documentation for rb-inotify after 0 seconds Building native extensions. This could take a while... Successfully installed json-2.6.3 Parsing documentation for json-2.6.3 Done installing documentation for json after 0 seconds Successfully installed jwt-1.5.6 Parsing documentation for jwt-1.5.6 Done installing documentation for jwt after 0 seconds Successfully installed ruby2_keywords-0.0.5 Parsing documentation for ruby2_keywords-0.0.5 Done installing documentation for ruby2_keywords after 0 seconds Successfully installed simplecov-0.22.0 Parsing documentation for simplecov-0.22.0 Done installing documentation for simplecov after 0 seconds Successfully installed rb-fsevent-0.11.2 Parsing documentation for rb-fsevent-0.11.2 Done installing documentation for rb-fsevent after 0 seconds Successfully installed actionmailbox-7.0.8.1 Parsing documentation for actionmailbox-7.0.8.1 Done installing documentation for actionmailbox after 0 seconds Successfully installed factory_bot_rails-6.2.0 Parsing documentation for factory_bot_rails-6.2.0 Done installing documentation for factory_bot_rails after 0 seconds Successfully installed mini_portile2-2.8.5 Parsing documentation for mini_portile2-2.8.5 Done installing documentation for mini_portile2 after 0 seconds Successfully installed faraday-gzip-2.0.1 Parsing documentation for faraday-gzip-2.0.1 Done installing documentation for faraday-gzip after 0 seconds Successfully installed activesupport-7.0.8.1 Parsing documentation for activesupport-7.0.8.1 Done installing documentation for activesupport after 2 seconds Successfully installed actionmailer-7.0.8.1 Parsing documentation for actionmailer-7.0.8.1 Done installing documentation for actionmailer after 0 seconds Building native extensions. This could take a while... Successfully installed nio4r-2.7.1 Parsing documentation for nio4r-2.7.1 Done installing documentation for nio4r after 0 seconds Successfully installed globalid-1.2.1 Parsing documentation for globalid-1.2.1 Done installing documentation for globalid after 0 seconds Building native extensions. This could take a while... Successfully installed racc-1.7.3 Parsing documentation for racc-1.7.3 Done installing documentation for racc after 0 seconds Successfully installed lograge-0.13.0 Parsing documentation for lograge-0.13.0 Done installing documentation for lograge after 0 seconds Successfully installed optimist-3.1.0 Parsing documentation for optimist-3.1.0 Done installing documentation for optimist after 0 seconds Successfully installed sprockets-rails-3.4.2 Parsing documentation for sprockets-rails-3.4.2 Done installing documentation for sprockets-rails after 0 seconds Successfully installed builder-3.2.4 Parsing documentation for builder-3.2.4 Done installing documentation for builder after 0 seconds Successfully installed actionpack-7.0.8.1 Parsing documentation for actionpack-7.0.8.1 Done installing documentation for actionpack after 2 seconds Successfully installed autoparse-0.3.3 Parsing documentation for autoparse-0.3.3 Done installing documentation for autoparse after 0 seconds Building native extensions. This could take a while... Successfully installed ruby-prof-1.6.3 Parsing documentation for ruby-prof-1.6.3 Done installing documentation for ruby-prof after 0 seconds Successfully installed retriable-1.4.1 Parsing documentation for retriable-1.4.1 Done installing documentation for retriable after 0 seconds Successfully installed jquery-rails-4.6.0 Parsing documentation for jquery-rails-4.6.0 Done installing documentation for jquery-rails after 0 seconds Successfully installed net-imap-0.3.7 Parsing documentation for net-imap-0.3.7 Done installing documentation for net-imap after 0 seconds Successfully installed rake-13.2.1 Parsing documentation for rake-13.2.1 Done installing documentation for rake after 0 seconds Building native extensions. This could take a while... Successfully installed oj-3.16.1 Parsing documentation for oj-3.16.1 Done installing documentation for oj after 0 seconds Successfully installed rails-observers-0.1.5 Parsing documentation for rails-observers-0.1.5 Done installing documentation for rails-observers after 0 seconds Successfully installed rack-test-2.1.0 Parsing documentation for rack-test-2.1.0 Done installing documentation for rack-test after 0 seconds Successfully installed websocket-extensions-0.1.5 Parsing documentation for websocket-extensions-0.1.5 Done installing documentation for websocket-extensions after 0 seconds Successfully installed erubi-1.12.0 Parsing documentation for erubi-1.12.0 Done installing documentation for erubi after 0 seconds Successfully installed marcel-1.0.4 Parsing documentation for marcel-1.0.4 Done installing documentation for marcel after 0 seconds Successfully installed faraday-net_http-3.0.2 Parsing documentation for faraday-net_http-3.0.2 Done installing documentation for faraday-net_http after 0 seconds Successfully installed googleauth-1.9.2 Parsing documentation for googleauth-1.9.2 Done installing documentation for googleauth after 0 seconds Building native extensions. This could take a while... Successfully installed pg-1.5.4 Parsing documentation for pg-1.5.4 Done installing documentation for pg after 0 seconds Successfully installed crass-1.0.6 Parsing documentation for crass-1.0.6 Done installing documentation for crass after 0 seconds Successfully installed logstash-event-1.2.02 Parsing documentation for logstash-event-1.2.02 Done installing documentation for logstash-event after 0 seconds Successfully installed actiontext-7.0.8.1 Parsing documentation for actiontext-7.0.8.1 Done installing documentation for actiontext after 0 seconds Successfully installed rails-controller-testing-1.0.5 Parsing documentation for rails-controller-testing-1.0.5 Done installing documentation for rails-controller-testing after 0 seconds Successfully installed minitest-5.10.3 Parsing documentation for minitest-5.10.3 Done installing documentation for minitest after 0 seconds Successfully installed activerecord-7.0.8.1 Parsing documentation for activerecord-7.0.8.1 Done installing documentation for activerecord after 5 seconds Successfully installed method_source-1.0.0 Parsing documentation for method_source-1.0.0 Done installing documentation for method_source after 0 seconds Successfully installed launchy-2.5.2 Parsing documentation for launchy-2.5.2 Done installing documentation for launchy after 0 seconds Successfully installed acts_as_api-1.0.1 Parsing documentation for acts_as_api-1.0.1 Done installing documentation for acts_as_api after 0 seconds Building native extensions. This could take a while... Successfully installed websocket-driver-0.7.6 Parsing documentation for websocket-driver-0.7.6 Done installing documentation for websocket-driver after 0 seconds Successfully installed request_store-1.5.1 Parsing documentation for request_store-1.5.1 Done installing documentation for request_store after 0 seconds Successfully installed simplecov-html-0.12.3 Parsing documentation for simplecov-html-0.12.3 Done installing documentation for simplecov-html after 0 seconds Successfully installed mail-2.8.1 Parsing documentation for mail-2.8.1 Done installing documentation for mail after 22 seconds Successfully installed tzinfo-2.0.6 Parsing documentation for tzinfo-2.0.6 Done installing documentation for tzinfo after 0 seconds Successfully installed mocha-2.1.0 Parsing documentation for mocha-2.1.0 Done installing documentation for mocha after 0 seconds Successfully installed responders-3.1.0 Parsing documentation for responders-3.1.0 Done installing documentation for responders after 0 seconds Building native extensions. This could take a while... Successfully installed date-3.3.4 Parsing documentation for date-3.3.4 Done installing documentation for date after 0 seconds Successfully installed rails-perftest-0.0.7 Parsing documentation for rails-perftest-0.0.7 Done installing documentation for rails-perftest after 0 seconds Successfully installed activejob-7.0.8.1 Parsing documentation for activejob-7.0.8.1 Done installing documentation for activejob after 0 seconds Successfully installed base64-0.2.0 Parsing documentation for base64-0.2.0 Done installing documentation for base64 after 0 seconds Successfully installed listen-3.8.0 Parsing documentation for listen-3.8.0 Done installing documentation for listen after 0 seconds Successfully installed factory_bot-6.2.1 Parsing documentation for factory_bot-6.2.1 Done installing documentation for factory_bot after 0 seconds Successfully installed extlib-0.9.16 Parsing documentation for extlib-0.9.16 Done installing documentation for extlib after 0 seconds Building native extensions. This could take a while... Successfully installed zlib-3.1.0 Parsing documentation for zlib-3.1.0 Done installing documentation for zlib after 0 seconds Successfully installed timeout-0.4.1 Parsing documentation for timeout-0.4.1 Done installing documentation for timeout after 0 seconds Successfully installed simplecov_json_formatter-0.1.4 Parsing documentation for simplecov_json_formatter-0.1.4 Done installing documentation for simplecov_json_formatter after 0 seconds Successfully installed nokogiri-1.15.6-x86_64-linux Parsing documentation for nokogiri-1.15.6-x86_64-linux Done installing documentation for nokogiri after 1 seconds Successfully installed webrick-1.8.1 Parsing documentation for webrick-1.8.1 Done installing documentation for webrick after 0 seconds Successfully installed net-pop-0.1.2 Parsing documentation for net-pop-0.1.2 Done installing documentation for net-pop after 0 seconds Successfully installed httpclient-2.8.3 Parsing documentation for httpclient-2.8.3 Done installing documentation for httpclient after 1 seconds Successfully installed arvados-google-api-client-0.8.7.6 Parsing documentation for arvados-google-api-client-0.8.7.6 Done installing documentation for arvados-google-api-client after 0 seconds Building native extensions. This could take a while... Successfully installed passenger-6.0.18 Parsing documentation for passenger-6.0.18 Done installing documentation for passenger after 20 seconds 102 gems installed done. Running bundle install...Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine. done. Verifying bundle is complete... done. Ensuring directory and file permissions ...chown: cannot access '/var/www/arvados-api/current/db/schema.rb': No such file or directory ... done. Warning: Database is not ready to set up. Skipping database setup. Checking configuration for completeness...rake aborted! LoadError: incompatible library version - /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/date-3.3.4/lib/date_core.so /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/date-3.3.4/lib/date.rb:4:in `require' /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/date-3.3.4/lib/date.rb:4:in `<top (required)>' /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/activesupport-7.0.8.1/lib/active_support/messages/metadata.rb:3:in `require' /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/activesupport-7.0.8.1/lib/active_support/messages/metadata.rb:3:in `<top (required)>' /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/activesupport-7.0.8.1/lib/active_support/message_verifier.rb:7:in `require' /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/activesupport-7.0.8.1/lib/active_support/message_verifier.rb:7:in `<top (required)>' /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/railties-7.0.8.1/lib/rails/application.rb:7:in `require' /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/railties-7.0.8.1/lib/rails/application.rb:7:in `<top (required)>' /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/railties-7.0.8.1/lib/rails.rb:13:in `require' /var/www/arvados-api/shared/vendor_bundle/ruby/2.7.0/gems/railties-7.0.8.1/lib/rails.rb:13:in `<top (required)>' /var/www/arvados-api/current/config/application.rb:7:in `require' /var/www/arvados-api/current/config/application.rb:7:in `<top (required)>' /var/www/arvados-api/current/Rakefile:9:in `require' /var/www/arvados-api/current/Rakefile:9:in `<top (required)>' (See full trace by running task with --trace) failed. PLEASE NOTE: The arvados-api-server package was not configured completely because /etc/arvados/config.yml needs some tweaking. Please refer to the documentation at <http://doc.arvados.org/install/install-api-server.html#configure> for more details. When config.yml has been modified, reconfigure or reinstall this package.
Updated by Peter Amstutz 10 months ago
The error appears here but doesn't cause the jenkins job to fail
deploy-to-tordo: #1457 /console
Updated by Peter Amstutz 10 months ago
- Status changed from New to Resolved
- I moved /var/www/arvados-api/shared/vendor_bundle out of the way
- I re-ran dpkg-reconfigure arvados-api-server and it worked that time
- but tordo started returning 500 errors on everything, and I noticed that /var/www/arvados-api/shared/vendor_bundle again had both all the gems installed against both 2.7.0 and 2.7.4
- I hypothesized that the gems from 2.7.0 were due to passenger running bundle install on startup
- I changed passenger_ruby in nginx from /usr/local/rvm/wrappers/default/ruby to /usr/bin/ruby and then tordo started working again
Actions