Project

General

Profile

Actions

Bug #34862

closed

Rails 6.1 upgrade raising errors on server startup

Added by Partha Aji over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Fixed in Releases:
Found in Releases:

Description

Based of
https://community.theforeman.org/t/upgrading-rails-to-6-1-and-plugins/27558/3

  • Checkout https://github.com/theforeman/foreman/pull/9117
  • Checkout latest master
  • bundle update rails
  • Assuming 6.1 got installed, start the server
    Error along the lines of
         1: from /home/vagrant/katello/app/controllers/katello/api/v2/repositories_controller.rb:10:in `<class:RepositoriesController>'
    /home/vagrant/katello/app/controllers/katello/api/v2/repositories_controller.rb:10:in `concat': can't modify frozen Array: ["id", "name", "created_at", "updated_at", "major", "minor", "gpg_key_id", "content_id", "arch", "label", "url", "unprotected", "content_type", "product_id", "checksum_type", "pulp_scratchpad_checksum_type", "docker_upstream_name", "download_policy", "verify_ssl_on_sync", "upstream_username", "upstream_password", "deb_releases", "deb_components", "deb_architectures", "ssl_ca_cert_id", "ssl_client_cert_id", "ssl_client_key_id", "ignorable_content", "include_tags", "description", "ansible_collection_requirements", "http_proxy_policy", "http_proxy_id", "download_concurrency", "os_versions", "ansible_collection_auth_url", "ansible_collection_auth_token", "retain_package_versions_count", "generic_remote_options", "upstream_authentication_token", "mirroring_policy", "exclude_tags", "docker_tags_whitelist"] (FrozenError)
    
Actions

Also available in: Atom PDF