Does not load the application

Added by Hernando Bocanegra about 1 month ago

Hi, I have installed redmine on a shared hosting through cpanel and after configuring and installing the dependencies the application does not load, always from time out. this is the log I get

Environment:
Redmine version 4.1.1.stable
Ruby version 2.6.4-p104 (2019-08-28) [x86_64-linux]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Git 2.25.1
Filesystem
Redmine plugins:
no plugin installed

Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
(0.4ms) SET NAMES utf8mb4, @SESSION.sql_mode = CONCAT(CONCAT(@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @SESSION.sql_auto_is_null = 0, @SESSION.wait_timeout = 2147483
AnonymousUser Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('AnonymousUser') AND `users`.`lastname` = 'Anonymous' LIMIT 1
Started GET "/login" for 190.138.171.188 at 2020-09-21 23:15:36 +0200
Processing by AccountController#login as HTML
(0.4ms) SET NAMES utf8mb4, @SESSION.sql_mode = CONCAT(CONCAT(@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @SESSION.sql_auto_is_null = 0, @SESSION.wait_timeout = 2147483
(0.9ms) SELECT MAX FROM `settings`
Setting Load (0.5ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'rest_api_enabled' ORDER BY `settings`.`id` DESC LIMIT 1
AnonymousUser Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('AnonymousUser') AND `users`.`lastname` = 'Anonymous' LIMIT 1
Current user: anonymous
Setting Load (0.8ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'force_default_language_for_anonymous' ORDER BY `settings`.`id` DESC LIMIT 1
Started GET "/login" for 190.138.171.188 at 2020-09-21 23:15:37 +0200
Processing by AccountController#login as HTML
(0.4ms) SET NAMES utf8mb4, @SESSION.sql_mode = CONCAT(CONCAT(@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @SESSION.sql_auto_is_null = 0, @SESSION.wait_timeout = 2147483
(0.2ms) SELECT MAX FROM `settings`
Setting Load (0.1ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'rest_api_enabled' ORDER BY `settings`.`id` DESC LIMIT 1
AnonymousUser Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('AnonymousUser') AND `users`.`lastname` = 'Anonymous' LIMIT 1
Current user: anonymous
Setting Load (0.1ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'force_default_language_for_anonymous' ORDER BY `settings`.`id` DESC LIMIT 1

I have activated the debug mode to get more data but I still don't know what to do to make it work.

If someone can help me I will be very grateful.

Replies (1)

RE: Does not load the application - Added by Adrián Pradilla Pórtoles 5 days ago

Hello Hernando,

Check your Apache or Nginx configuration.
The log will give you clues. I think it's a permissions issue for redmine files, remember that the permissions should be those of the application, not the root.

Greetings,
Adrian

(1-1/1)