Skip to content

Can not load the app due to RuntimeError. #436

@sajan45

Description

@sajan45

We are using ghcr.io/phusion/passenger-ruby33:3.0.8 right. I am trying to upgrade to ghcr.io/phusion/passenger-ruby33:3.1.2-amd64 but I am getting exception. Tried the latest version 3.1.4 as well, did not work.

[ E 2025-05-13 22:18:17.8302 54/Tl age/Cor/Con/CheckoutSession.cpp:368 ]: [Client 7-26] Cannot checkout session because a spawning error occurred. The identifier of the error is 07a09c13. Please see earlier logs for details about the error.
{"remote_addr": "10.255.16.4", "time": "13/May/2025:22:18:17 +0000", "request": "GET /accounts HTTP/1.1", "status": 500, "resp_body_size": 4393, "host": "ssahoo.awscorp.<FILTERED>.com:3001", "request_time": 0.347, "request_length": 753, "user_agent": "axios/0.21.4", "resp_time": 0.347, "http_x_forwarded_for": "", "http_referer": "", "trace_id": "f562851783574612ba5b25486cbae7c8", "span_id": "e0e5f643ff235553" }
Error: The application encountered the following error: missing run or map statement (RuntimeError)
    /usr/local/rvm/rubies/ruby-3.3.7/lib/ruby/gems/3.3.0/gems/rack-3.1.12/lib/rack/builder.rb:266:in `to_app'
    config.ru:172:in `<main>'
    /usr/share/passenger/helper-scripts/rack-preloader.rb:101:in `eval'
    /usr/share/passenger/helper-scripts/rack-preloader.rb:101:in `preload_app'
    /usr/share/passenger/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
    /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:399:in `run_block_and_record_step_progress'
    /usr/share/passenger/helper-scripts/rack-preloader.rb:188:in `<module:App>'
    /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
    /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'
[ E 2025-05-13 22:18:26.7258 54/Tsa age/Cor/App/Implementation.cpp:218 ]: Could not spawn process for application /app/app.runfiles/c3d/my_app: The application encountered the following error: missing run or map statement (RuntimeError)
  Error ID: a162ca52
  Error details saved to: /tmp/passenger-error-6D1Fp0.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions