Rails running Phusion Passenger only shows a white screen

Earlier, I wrote another deployment question using Passenger. This issue turned out to be a permission issue, and I fixed it by running chmod in the www directory recursively.

Now I do not get the Phusion error page, but I get a white screen of death. Rails logs do not show error messages, and I cannot understand what is going on here.

EDIT: they come from the error log ... at least I think they do. All .logs errors were gzipped for any reason. Page Status Code - 500 Internal server error.

SQLite3::CantOpenException (unable to open database file):

SQLite3::CantOpenException (unable to open database file):

EDIT2: FInally received an error message from the server. :-P

[Sat Sep 18 17:49:55 2010] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.2 with Suhosin-Patch Phusion_Passenger/3.0.0.pre2 configured -- resuming normal operations
Rails Error: Unable to access log file. Please ensure that /var/www/rails/releases/20100918182135/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.

ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: welcomes: SELECT "welcomes".* FROM "welcomes"): app/controllers/welcomes_controller.rb:5:in `index'
ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: welcomes: SELECT     "welcomes".* FROM "welcomes"): app/controllers/welcomes_controller.rb:5:in `index'
+3
1

, , . .

, , , , - , , . , .

0

Source: https://habr.com/ru/post/1765430/


All Articles