Hi,
today I tried to upgrade espocrm and php.
The original version of espo 6.x.x with php 7.2 works well,
the problem occurred when upgrading php to version 7.3 and higher (7.4 or 8.0)
after installing php 7.3 i upgraded espocrm to version 7.x and since then i see bad server response error.
Log Espo:
[2021-10-07 19:27:01] ERROR: Uncaught Exception PDOException: "could not find driver" at /var/www/html/espocrm/application/Espo/ORM/EntityManager.php line 272 {"exception":"[object] (PDOException(code: 0): could not find driver at /var/www/html/espocrm/application/Espo/ORM/EntityManager.php:272)"} []
[2021-10-07 19:44:04] ERROR: (0) could not find driver; GET /Settings; line: 272, file: /var/www/html/espocrm/application/Espo/ORM/EntityManager.php [] []
[2021-10-07 19:44:04] ERROR: (0) could not find driver; GET /I18n; line: 272, file: /var/www/html/espocrm/application/Espo/ORM/EntityManager.php [] []
[2021-10-07 19:44:08] ERROR: (0) could not find driver; GET /I18n; line: 272, file: /var/www/html/espocrm/application/Espo/ORM/EntityManager.php [] []
[2021-10-07 19:44:08] ERROR: (0) could not find driver; GET /Settings; line: 272, file: /var/www/html/espocrm/application/Espo/ORM/EntityManager.php [] []
[2021-10-07 19:53:02] WARNING: Cron is not run because it's disabled with 'cronDisabled' param. [] []
[2021-10-07 20:02:41] ERROR: (0) could not find driver; GET /Settings; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:02:45] ERROR: (0) could not find driver; GET /Settings; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:02:48] ERROR: (0) could not find driver; GET /Settings; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:30:55] ERROR: (0) could not find driver; GET /Email; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:30:55] ERROR: (0) could not find driver; GET /Stream; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:30:55] ERROR: (0) could not find driver; GET /Activities; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:30:58] ERROR: (0) could not find driver; GET /EmailFolder/action/listAll; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:30:58] ERROR: (0) could not find driver; GET /Email; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:31:01] ERROR: (0) could not find driver; GET /Stream; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:31:01] ERROR: (0) could not find driver; GET /Email; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:31:01] ERROR: (0) could not find driver; GET /Activities; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:31:51] CRITICAL: Uncaught Exception ParseError: "syntax error, unexpected ')'" at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php line 232 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ')' at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php:232)"} []
[2021-10-07 20:31:53] CRITICAL: Uncaught Exception ParseError: "syntax error, unexpected ')'" at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php line 232 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ')' at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php:232)"} []
[2021-10-07 20:31:54] CRITICAL: Uncaught Exception ParseError: "syntax error, unexpected ')'" at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php line 232 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ')' at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php:232)"} []
[2021-10-07 20:31:55] CRITICAL: Uncaught Exception ParseError: "syntax error, unexpected ')'" at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php line 232 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ')' at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php:232)"} []
[2021-10-07 20:36:04] ERROR: (0) could not find driver; GET /Settings; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
Log apache:
[Thu Oct 07 22:58:38.460967 2021] [mpm_prefork:notice] [pid 17700] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Thu Oct 07 22:58:38.461264 2021] [core:notice] [pid 17700] AH00094: Command line: '/usr/sbin/apache2'
[Thu Oct 07 23:00:17.374357 2021] [mpm_prefork:notice] [pid 17700] AH00169: caught SIGTERM, shutting down
[Thu Oct 07 23:00:17.549951 2021] [mpm_prefork:notice] [pid 17806] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Thu Oct 07 23:00:17.550046 2021] [core:notice] [pid 17806] AH00094: Command line: '/usr/sbin/apache2'
Thx for any suggestion.
today I tried to upgrade espocrm and php.
The original version of espo 6.x.x with php 7.2 works well,
the problem occurred when upgrading php to version 7.3 and higher (7.4 or 8.0)
after installing php 7.3 i upgraded espocrm to version 7.x and since then i see bad server response error.
Log Espo:
[2021-10-07 19:27:01] ERROR: Uncaught Exception PDOException: "could not find driver" at /var/www/html/espocrm/application/Espo/ORM/EntityManager.php line 272 {"exception":"[object] (PDOException(code: 0): could not find driver at /var/www/html/espocrm/application/Espo/ORM/EntityManager.php:272)"} []
[2021-10-07 19:44:04] ERROR: (0) could not find driver; GET /Settings; line: 272, file: /var/www/html/espocrm/application/Espo/ORM/EntityManager.php [] []
[2021-10-07 19:44:04] ERROR: (0) could not find driver; GET /I18n; line: 272, file: /var/www/html/espocrm/application/Espo/ORM/EntityManager.php [] []
[2021-10-07 19:44:08] ERROR: (0) could not find driver; GET /I18n; line: 272, file: /var/www/html/espocrm/application/Espo/ORM/EntityManager.php [] []
[2021-10-07 19:44:08] ERROR: (0) could not find driver; GET /Settings; line: 272, file: /var/www/html/espocrm/application/Espo/ORM/EntityManager.php [] []
[2021-10-07 19:53:02] WARNING: Cron is not run because it's disabled with 'cronDisabled' param. [] []
[2021-10-07 20:02:41] ERROR: (0) could not find driver; GET /Settings; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:02:45] ERROR: (0) could not find driver; GET /Settings; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:02:48] ERROR: (0) could not find driver; GET /Settings; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:30:55] ERROR: (0) could not find driver; GET /Email; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:30:55] ERROR: (0) could not find driver; GET /Stream; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:30:55] ERROR: (0) could not find driver; GET /Activities; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:30:58] ERROR: (0) could not find driver; GET /EmailFolder/action/listAll; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:30:58] ERROR: (0) could not find driver; GET /Email; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:31:01] ERROR: (0) could not find driver; GET /Stream; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:31:01] ERROR: (0) could not find driver; GET /Email; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:31:01] ERROR: (0) could not find driver; GET /Activities; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
[2021-10-07 20:31:51] CRITICAL: Uncaught Exception ParseError: "syntax error, unexpected ')'" at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php line 232 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ')' at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php:232)"} []
[2021-10-07 20:31:53] CRITICAL: Uncaught Exception ParseError: "syntax error, unexpected ')'" at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php line 232 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ')' at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php:232)"} []
[2021-10-07 20:31:54] CRITICAL: Uncaught Exception ParseError: "syntax error, unexpected ')'" at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php line 232 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ')' at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php:232)"} []
[2021-10-07 20:31:55] CRITICAL: Uncaught Exception ParseError: "syntax error, unexpected ')'" at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php line 232 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ')' at /var/www/html/espocrm/application/Espo/Core/Utils/ClientManager.php:232)"} []
[2021-10-07 20:36:04] ERROR: (0) could not find driver; GET /Settings; line: 122, file: /var/www/html/espocrm/application/Espo/ORM/PDO/DefaultPDOProvider.php [] []
Log apache:
[Thu Oct 07 22:58:38.460967 2021] [mpm_prefork:notice] [pid 17700] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Thu Oct 07 22:58:38.461264 2021] [core:notice] [pid 17700] AH00094: Command line: '/usr/sbin/apache2'
[Thu Oct 07 23:00:17.374357 2021] [mpm_prefork:notice] [pid 17700] AH00169: caught SIGTERM, shutting down
[Thu Oct 07 23:00:17.549951 2021] [mpm_prefork:notice] [pid 17806] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Thu Oct 07 23:00:17.550046 2021] [core:notice] [pid 17806] AH00094: Command line: '/usr/sbin/apache2'
Thx for any suggestion.
Comment