If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
[2022-06-02 08:23:17] WARNING: E_WARNING: mkdir(): File exists {"code":2,"message":"mkdir(): File exists","file":"/home/dir/public_html/domain/application/Espo/Core/Utils/File/Manager.php","line":554} []
[2022-06-02 08:23:17] ERROR: (0) No database name specified.; GET /Activities/action/listUpcoming; line: 152, file: /home/dir/public_html/domain/application/Espo/Core/ORM/EntityManagerFactory.php [] []
[2022-06-02 08:23:17] ERROR: Could not write file `/home/dir/public_html/domain/data/logs/espo-2022-06-02.log`. Error message: Permission denied: unable to create a folder on the server /home/dir/public_html/domain/data/logs [] []
[2022-06-02 08:23:19] ERROR: (0) No database name specified.; GET /Notification/action/notReadCount; line: 152, file: /home/dir/public_html/domain/application/Espo/Core/ORM/EntityManagerFactory.php [] []
[2022-06-02 08:24:02] ERROR: Uncaught Exception RuntimeException: "No database name specified." at /home/dir/public_html/domain/application/Espo/Core/ORM/EntityManagerFactory.php line 152 {"exception":"[object] (RuntimeException(code: 0): No database name specified. at /home/dir/public_html/domain/application/Espo/Core/ORM/EntityManagerFactory.php:152)"} []
[2022-06-02 08:31:44] ERROR: Email sending error: Could not read from smtp.mail.ru [] []
[2022-06-02 08:31:44] WARNING: Email sending:Email sending error.; 500 [] []
Hi, for me it seems (from your logs), that this whole instalation, including the database, did not process correctly. There is a mix of errors, that indicate that.
Before you try to find the problems and correct them one by one I would suggest to do a complete new installation with a new database.
During install observe thoroughly, if all the prerequsites are met. There will be a step, where problems will be pointed out, take these serious.
text/plain espo-2022-06-02.log ( ASCII text, with very long lines )
[2022-06-02 09:42:15] ERROR: (0) No database name specified.; GET /Activities/action/popupNotifications; line: 152, file: /home/dir/public_html/crm/application/Espo/Core/ORM/EntityManagerFactory.php [] []
[2022-06-02 09:42:17] ERROR: (0) No database name specified.; GET /Notification/action/notReadCount; line: 152, file: /home/dir/public_html/crm/application/Espo/Core/ORM/EntityManagerFactory.php [] []
[2022-06-02 09:43:02] ERROR: Uncaught Exception RuntimeException: "No database name specified." at /home/dir/public_html/crm/application/Espo/Core/ORM/EntityManagerFactory.php line 152 {"exception":"[object] (RuntimeException(code: 0): No database name specified. at /home/dir/public_html/crm/application/Espo/Core/ORM/EntityManagerFactory.php:152)"} []
Could you have a look into these two files (or even post it here): (as lazovic already mentioned) /data/config-internal.php and /data/config.php
Do you have any restrictions in your hosting? The error log tells, that there is no database specified, what from the display from espoCRM obviously is not true, as there is a database.
Is the database server actually localhost (there might be cases, where you database server is not local, but remote. Depends on the server configuration).
Comment