HelioHost Posted January 13, 2025 Posted January 13, 2025 Username: bobrock, Server: Tommy, Main domain: bobrock.heliohost.usbobrocke Tommy http://bobrock.heliohost.us I successfully deployed my Rails app from GitHub into my account?s root directory. But when I send my browser to https://bobrock.heliohost.us/ I get back quite an error: The Phusion Passenger(R) application server tried to start the web application through a Passenger-internal helper tool called the "preloader". But the preloader encountered an internal error. Error details: (ActiveSupport::MessageEncryptor::InvalidMessage) /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/messages/codec.rb:57:in `catch_and_raise' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/message_encryptor.rb:242:in `decrypt_and_verify' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/encrypted_file.rb:109:in `decrypt' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/encrypted_file.rb:72:in `read' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/encrypted_configuration.rb:63:in `read' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/encrypted_configuration.rb:86:in `config' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/encrypted_configuration.rb:113:in `options' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/delegation.rb:186:in `method_missing' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/railtie.rb:339:in `block (2 levels) in ' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:97:in `class_eval' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:97:in `block in execute_hook' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:87:in `with_execution_control' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:92:in `execute_hook' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:78:in `block in run_load_hooks' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:77:in `each' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:77:in `run_load_hooks' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/encryption.rb:57:in `' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/encryption.rb:6:in `' :37:in `require' :37:in `require' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/base.rb:313:in `' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/base.rb:282:in `' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/base.rb:15:in `' :37:in `require' :37:in `require' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:318:in `before_handling_requests' /usr/share/passenger/helper-scripts/rack-preloader.rb:159:in `block in negotiate_spawn_command' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:399:in `run_block_and_record_step_progress' /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `negotiate_spawn_command' /usr/share/passenger/helper-scripts/rack-preloader.rb:211:in `' /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `' /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `' The stdout/stderr output of the subprocess so far is: Error: The application encountered the following error: (ActiveSupport::MessageEncryptor::InvalidMessage) /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/messages/codec.rb:57:in `catch_and_raise' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/message_encryptor.rb:242:in `decrypt_and_verify' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/encrypted_file.rb:109:in `decrypt' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/encrypted_file.rb:72:in `read' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/encrypted_configuration.rb:63:in `read' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/encrypted_configuration.rb:86:in `config' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/encrypted_configuration.rb:113:in `options' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/delegation.rb:186:in `method_missing' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/railtie.rb:339:in `block (2 levels) in ' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:97:in `class_eval' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:97:in `block in execute_hook' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:87:in `with_execution_control' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:92:in `execute_hook' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:78:in `block in run_load_hooks' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:77:in `each' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activesupport-8.0.1/lib/active_support/lazy_load_hooks.rb:77:in `run_load_hooks' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/encryption.rb:57:in `' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/encryption.rb:6:in `' :37:in `require' :37:in `require' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/base.rb:313:in `' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/base.rb:282:in `' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/activerecord-8.0.1/lib/active_record/base.rb:15:in `' :37:in `require' :37:in `require' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' /opt/plesk/ruby/3.2.2/lib64/ruby/gems/3.2.0/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:318:in `before_handling_requests' /usr/share/passenger/helper-scripts/rack-preloader.rb:159:in `block in negotiate_spawn_command' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:399:in `run_block_and_record_step_progress' /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `negotiate_spawn_command' /usr/share/passenger/helper-scripts/rack-preloader.rb:211:in `' /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `' /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `? I don?t know what to do with all that. Help! Bob ------------------- Robert J. Rockefeller Midway, GA
Krydos Posted January 13, 2025 Posted January 13, 2025 Does this link help? https://github.com/rails/rails/issues/32656#issuecomment-406492233
HelioHost Posted January 13, 2025 Author Posted January 13, 2025 Yes. It seems as if having master.key and credentials.yml.enc files from another machine in the config folder causes this. I think it?s fixed, now. Thanks! Bob ------------------- Robert J. Rockefeller Midway, GA > On Jan 13, 2025, at 1:25?PM, HelioHost Support wrote: > > Does this link help? https://github.com/rails/rails/issues/32656#issuecomment-406492233 > > You may view the status of your ticket by visiting: > > https://helionet.org/index/index.php?showtopic=63314 > > Thank you, > HelioHost support > https://heliohost.org/ > https://helionet.org/ >
Krydos Posted January 13, 2025 Posted January 13, 2025 Glad you got it working. Let us know if you run into any other problems.
Recommended Posts