Php 7.2 to php7.4 upgrade failed

Hi, I’ve did the php 7.2 to 7.4 migration and i have a fpm erro that prevents all the nextcloud installation to work:

    root@services:/etc/php/7.4/fpm# service php7.4-fpm status
● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2021-02-04 09:59:40 CET; 5min ago
     Docs: man:php-fpm7.4(8)
  Process: 5169 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.4/fpm/pool.d/www.conf 74 (code=exited, status=0/SUCCESS)
  Process: 5168 ExecStart=/usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf (code=exited, status=78)
 Main PID: 5168 (code=exited, status=78)

Feb 04 09:59:40 services systemd[1]: Starting The PHP 7.4 FastCGI Process Manager...
Feb 04 09:59:40 services php-fpm7.4[5168]: [04-Feb-2021 09:59:40] ERROR: [/etc/php/7.4/fpm/pool.d/nextcloud.conf:1] value is NULL for a ZEND_INI_PARSER_ENTRY
Feb 04 09:59:40 services php-fpm7.4[5168]: [04-Feb-2021 09:59:40] ERROR: Unable to include /etc/php/7.4/fpm/pool.d/nextcloud.conf from /etc/php/7.4/fpm/php-fpm.conf a
Feb 04 09:59:40 services php-fpm7.4[5168]: [04-Feb-2021 09:59:40] ERROR: failed to load configuration file '/etc/php/7.4/fpm/php-fpm.conf'
Feb 04 09:59:40 services php-fpm7.4[5168]: [04-Feb-2021 09:59:40] ERROR: FPM initialization failed
Feb 04 09:59:40 services systemd[1]: php7.4-fpm.service: Main process exited, code=exited, status=78/n/a
Feb 04 09:59:40 services systemd[1]: php7.4-fpm.service: Failed with result 'exit-code'.
Feb 04 09:59:40 services systemd[1]: Failed to start The PHP 7.4 FastCGI Process Manager.

Any help wellcome

Please provide more information, e.g. how did you install Nextcloud? Manually?

If you read your error message carefully you can see what the issue most likely ist:

ERROR: Unable to include /etc/php/7.4/fpm/pool.d/nextcloud.conf

This file probably existed in /etc/php/7.2/fpm/pool.d/. If that is the case, copy it over and restart FPM.

I did manage to fix the issue, now the front end is utterly slow and i’m banging my head to figure out !
Also it’s stuck at 19.0 beta 1, the update app on the front end turns to root folder of my serve, the comandline returns no update avilable.
Also the [object Object] issue shows off on the upright corner of the front end.
If somebody can help on the diagnose i will be grateful forever !

I’m also stuck with the error in the apache2 error log

AH01797: client denied by server configuration: /var/www/html/nextcloud/config

I’ve upgraded the virtual server and i had no performance upgrade. All the browsers are unresponsive, waiting for ages

Today i did the upgrade to the latest 20.0.7 but the frontend is still UTTERLY slow, totally unresponsive i’m really in the need of help.

this is my apache error log

[Mon Feb 15 08:45:50.937768 2021] [mpm_prefork:notice] [pid 1517] AH00169: caught SIGTERM, shutting down
[Mon Feb 15 08:51:36.348297 2021] [ssl:warn] [pid 22498] AH01909: 2a01:4f8:c0c:4685::1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 15 08:51:36.462844 2021] [ssl:warn] [pid 22499] AH01909: 2a01:4f8:c0c:4685::1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 15 08:51:36.468076 2021] [mpm_prefork:notice] [pid 22499] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Feb 15 08:51:36.468120 2021] [core:notice] [pid 22499] AH00094: Command line: '/usr/sbin/apache2'

No error on mysql module

Ok, i think i found the problem, looking at the log the nexcloud istance is looking for a federated cloud, that cloud was shutdown, i started it back and not the front end is much more responsive. I wonder how is possible that lack of a federated server will mess all the frontend up.

{"reqId":"wpxnlCChJ3Fda51bUwbh","level":2,"time":"2021-02-15T09:32:52+00:00","remoteAddr":"IP_ADDRESS","user":"USERNAME","app":"no app in context","method":"PROPFIND","url":"/nextcloud/remote.php/webdav","message":"External storage not available: Sabre\\HTTP\\ClientException: Failed to connect to urla_address port PORTNUMBER: Connection timed out","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36","version":"20.0.7.1","id":"602a44c1c102b"}

Now the problem is that even if i have removed all the reference of that federated cloud and all the shares if that cloud instance is off the front end becomes sluggish again.

Even if i disable the federation module if the next cloud can’t reach that federated instance the inteface is sluggish.