Problem with entering to Administration and plugins ist after updating to OJS 3.3.0-14 proxy_fcgi:error

Hi,
I’m trying to upgrade from OJS 3.2.1.3 to OJS .3.0-14. (Linux
PHP version 7.3.20 database 10.0.38-MariaDB-0+deb8u)
I’m getting the following error messages that I don’t have in OJS 3.2.1.3.
One of them is for a certificate that works. Can you help me interpret the others?

[Mon May 15 22:51:33.815038 2023] [proxy_fcgi:error] [pid 21591] [client 66.249.76.6:42839] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function getConnection() on null in /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php:74\nStack trace:\n#0 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php(200): Illuminate\Database\Capsule\Manager::connection()\n#1 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/classes/db/DAO.inc.php(67): Illuminate\Database\Capsule\Manager::__callStatic(‘raw’, Array)\n#2 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/classes/context/ContextDAO.inc.php(63): DAO->retrieve(‘SELECT * FROM j…’, Array)\n#3 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/classes/core/PKPRouter.inc.php(252): ContextDAO->getByPath(‘polispol’)\n#4 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/classes/core/PKPRequest.inc.php(760): PKPRouter->getContext(Object(Request), 1)\n#5 /webhdd/ur1.toc-editions.com/ojs…’

[Mon May 15 22:52:30.266980 2023] [proxy_fcgi:error] [pid 21581] [client 188.47.119.63:42904] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: certificate has expired (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:201\nStack trace:\n#0 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)\n#1 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(105): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))\n#2 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\Curl…’, referer: (here URL to submission)

[Mon May 15 22:53:56.643726 2023] [proxy_fcgi:error] [pid 21591] [client 188.47.119.63:42970] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function getOption() on null in /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/cache/t_compile/b9da708b775ca192cb9735589afa7e98b537357a^e64e579388e5615e11e939b12134d6ae8679eba6_0.app.frontendpagesindexJournal.php:37\nStack trace:\n#0 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_64629be494ba99_90996728(Object(Smarty_Internal_Template))\n#1 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))\n#2 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))\n#3 /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/s…’, referer: (here URL)

[Mon May 15 23:03:12.666029 2023] [core:error] [pid 20062] [client 54.36.149.15:43265] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.

[Mon May 15 23:03:48.594116 2023] [proxy_fcgi:error] [pid 21581] [client 188.47.119.63:43308] AH01071: Got error ‘PHP message: PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php on line 77PHP message: PHP Warning: fsockopen(): Failed to enable crypto in /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php on line 77PHP message: PHP Warning: fsockopen(): unable to connect to ssl://pkp.sfu.ca:443 (Unknown error) in /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php on line 77PHP message: /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php:78 Could not connect to ssl://pkp.sfu.ca: PHP message: PHP Warning: DOMDocument::loadXML(): Empty string supplied as input in /webhdd/ur1.toc-editions.com/ojsweb/sys_3213/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 57’, referer: (here URL)

Thans
Janels

@asmecher What do you think about this problem?

Hi @janels,

There are at least a couple of problems here, including a database access problem and an SSL/certificate problem.

The SSL/certificate problem is more of a platform/PHP error than an OJS error, so you may have better luck on StackOverflow. See for example this thread. You may need to update your server’s certificates, or your PHP version. One possible work-around may be to configure a proxy in your config.inc.php OJS configuration file; see the [proxy] section.

When you run the upgrade, do you get a confirmation message Successfully upgraded to version xyz? Or do you get a specific error message indicating a failure?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi,
thanks for your reply.
So, the system upgrade on another test server was successful without any errors.
The problem only appears on the production server when I upload the upgraded database and files from OJS version 3.3.0-14.
The administrators report that the certificate comes from OVH and is up to date.
On the other hand, it is as if the problem is related to Plesk.
message: PHP Warning: fsockopen(): unable to connect to ssl://pkp.sfu.ca:443
Do you perhaps know what changes should be made to plesk after the update? The symptom is that it is not possible to enter Administration, Plugins and journal settings.

Idon’t know how to solve it… :frowning:
J.