Loading...
Skip to end of metadata
Go to start of metadata

Problem:

Under normal circumstances, if a license is expired, a page will display, stating that the license file has actually expired. However, when using Nginx, the normal "License is invalid" page does not get displayed. It will instead begin throwing Routing Error messages, and it will appear that Phusion Passenger is broken. You may see the following error:

Error:
Web application could not be started

Error ID:
e0a94c57

Details:
Web application could not be started by Phusion Passenger application Server.
Please read the Passenger log file ( search for the Error ID) to find the details of the error.

Solution:

The root cause of the problem is an expired license.lic file. 

You should be able to confirm this problem using the following command:

sudo docker logs readynamic_web_1 --tail 250

The log file will show this error:

/home/app/app/controllers/application_controller.rb:2:in `RGLoader_load': RubyEncoder Loader - This protected script has expired. Please contact the script author about this problem. Error code [09] (RGLoaderError)
from /home/app/app/controllers/application_controller.rb:2:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
from /usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require'
from /usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
from /usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:360:in `require_or_load'
from /usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:494:in `load_missing_constant'
from /usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:184:in `const_missing'
from /usr/local/rvm/gems/ruby-2.3.3/gems/inherited_resources-1.6.0/app/controllers/inherited_resources/base.rb:11:in `<module:Inheri

Essentially this means that the license is no longer valid. (The normal production.log and delayed_job.log will not show anything useful.)

  • No labels