[SOLVED] Timeout then very slow after an app update (DON'T UPDATE NEXTCLOUD OFFICE ON V25.0.1 (v7.1.1))

Nextcloud version (eg, 20.0.5): 25.0.1.1
Operating system and version (eg, Ubuntu 20.04): debian 11.5
Apache or nginx version (eg, Apache 2.4.25): nginx 1.18
PHP version (eg, 7.4): php 7.4
Posgresql version : 13

The issue you are facing:
I went to the admin page to update 11 apps (i click on the button “update all apps”) (spreed, user_saml, richdocuments, mail, groupfolders, files_automatedtagging, files_accesscontrol, deck, contact, calendar, announcementcenter, richdocumentscode) (if I count, it makes 12, I give the name of the apps in the app folder of nextcloud, modify today) and then I couldn’t go on the site anymore, I had only timeouts.
after some settings (nginx + php.ini + www.conf (from fpm)) I don’t have any more timeout but each page loading takes 2 minutes
should I update nextcloud with a file?

Is this the first time you’ve seen this error? (Y/N):
yes

Steps to replicate it:

  1. idk, install the same version and then test the update like me ?

The output of your Nextcloud log in Admin > Logging:

can't access, very slow (update if i can)

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '####',
  'passwordsalt' => '####',
  'secret' => '####',
  'trusted_domains' => 
  array (
    0 => '####',
    1 => '####',
    2 => '####',
  ),
  'datadirectory' => '/usr/share/nginx/nextcloud/data',
  'dbtype' => 'pgsql',
  'version' => '25.0.1.1',
  'overwrite.cli.url' => 'http://######',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => '#######',
  'installed' => true,
  'default_language' => 'fr',
  'force_language' => 'fr',
  'encryption.legacy_format_support' => true,
  'maintenance' => false,
);

The output of your Apache/nginx/system log in /var/log/____:

2023/02/24 11:52:00 [error] 332528#332528: *26146 upstream timed out (110: Connection timed out) while reading response header from upstream, client:####, server: ####, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock", host: "####"
2023/02/24 11:53:00 [error] 332528#332528: *26146 upstream timed out (110: Connection timed out) while reading response header from upstream, client: ####, server: ####, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock", host: "####", referrer: "####"
2023/02/24 11:53:37 [error] 332528#332528: *26144 upstream timed out (110: Connection timed out) while reading response header from upstream, client: ####, server: ####, request: "GET /apps/dashboard/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock", host: "####"
2023/02/24 12:00:26 [error] 387453#387453: *17 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: ####, server: ####, request: "GET /apps/dashboard/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "####"

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

don't find

[SOLUTION] > DON’T UPDATE NEXTCLOUD OFFICE !!

ok, i found the problem, it’s the update of the application “nextcloud office” that broke everything. i don’t know what they added in this update, but you shouldn’t do it, or uninstall it. I had put it in hoping to be able to edit files on the server, but onlyoffice does it very well.