Nextcloud : Plus accessible Internal Server Error

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 11.3.0.2
What app is this about: Nextcloud

Describe your issue

Hi

since upgrading from yunohost 11.2.7 to 11.3.0.2, when i want to open Nextcloud, i get the following message

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

When i go to the app menu (in admin) i see the following message

Une erreur empêche l’affichage du panneau de configuration :

Échec de la lecture au retour du script /etc/yunohost/apps/nextcloud/scripts/config. Erreur : Fichier YAML corrompu en lecture depuis /tmp/tmppgmv8i_7/stdreturn (raison : mapping values are not allowed here
in “”, line 9, column 66:
… thrown: Doctrine\DBAL\Exception: Failed to connect to the datab …
^). Contenu brut : fpm_footprint:
high
fpm_free_footprint:
0
fpm_usage: ‘medium’
maintenance_mode:

system_addressbook_exposed:
An unhandled exception has been thrown: Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /var/www/nextcloud/lib/private/DB/Connection.php:163 Stack trace: #0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(453): OC\DB\Connection->connect() #1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(411): Doctrine\DBAL\Connection->getDatabasePlatformVersion() #2 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(318): Doctrine\DBAL\Connection->detectDatabasePlatform() #3 /var/www/nextcloud/lib/private/DB/ConnectionAdapter.php(200): Doctrine\DBAL\Connection->getDatabasePlatform() #4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(121): OC\DB\ConnectionAdapter->getDatabasePlatform() #5 /var/www/nextcloud/lib/private/AppConfig.php(1237): OC\DB\QueryBuilder\QueryBuilder->expr() #6 /var/www/nextcloud/lib/private/AppConfig.php(262): OC\AppConfig->loadConfig() #7 /var/www/nextcloud/lib/private/AppConfig.php(1378): OC\AppConfig->searchValues() #8 /var/www/nextcloud/lib/private/App/AppManager.php(131): OC\AppConfig->getValues() #9 /var/www/nextcloud/lib/private/App/AppManager.php(152): OC\App\AppManager->getInstalledAppsValues() #10 /var/www/nextcloud/lib/private/legacy/OC_App.php(234): OC\App\AppManager->getInstalledApps() #11 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(90): OC_App::getEnabledApps() #12 /var/www/nextcloud/lib/base.php(706): OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration() #13 /var/www/nextcloud/lib/base.php(1181): OC::init() #14 /var/www/nextcloud/console.php(48): require_once(‘…’) #15 /var/www/nextcloud/occ(11): require_once(‘…’) #16 {main}

Merci de signaler cette erreur à l’équipe de YunoHost pour qu’elle soit corrigée !

If anyone can help me
Thanks a lot!

Bonjour

Après la MAJ de yunohost 11.2.7 à 11.3.0.2, quand je veux ouvrir Nextcloud, j’obtiens le message suivant :
Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

Et quand je vais voir dans le menu application j’ai le message d’erreur suivant.

Une erreur empêche l’affichage du panneau de configuration :

Échec de la lecture au retour du script /etc/yunohost/apps/nextcloud/scripts/config. Erreur : Fichier YAML corrompu en lecture depuis /tmp/tmppgmv8i_7/stdreturn (raison : mapping values are not allowed here
in “”, line 9, column 66:
… thrown: Doctrine\DBAL\Exception: Failed to connect to the datab …
^). Contenu brut : fpm_footprint:
high
fpm_free_footprint:
0
fpm_usage: ‘medium’
maintenance_mode:

system_addressbook_exposed:
An unhandled exception has been thrown: Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /var/www/nextcloud/lib/private/DB/Connection.php:163 Stack trace: #0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(453): OC\DB\Connection->connect() #1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(411): Doctrine\DBAL\Connection->getDatabasePlatformVersion() #2 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(318): Doctrine\DBAL\Connection->detectDatabasePlatform() #3 /var/www/nextcloud/lib/private/DB/ConnectionAdapter.php(200): Doctrine\DBAL\Connection->getDatabasePlatform() #4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(121): OC\DB\ConnectionAdapter->getDatabasePlatform() #5 /var/www/nextcloud/lib/private/AppConfig.php(1237): OC\DB\QueryBuilder\QueryBuilder->expr() #6 /var/www/nextcloud/lib/private/AppConfig.php(262): OC\AppConfig->loadConfig() #7 /var/www/nextcloud/lib/private/AppConfig.php(1378): OC\AppConfig->searchValues() #8 /var/www/nextcloud/lib/private/App/AppManager.php(131): OC\AppConfig->getValues() #9 /var/www/nextcloud/lib/private/App/AppManager.php(152): OC\App\AppManager->getInstalledAppsValues() #10 /var/www/nextcloud/lib/private/legacy/OC_App.php(234): OC\App\AppManager->getInstalledApps() #11 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(90): OC_App::getEnabledApps() #12 /var/www/nextcloud/lib/base.php(706): OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration() #13 /var/www/nextcloud/lib/base.php(1181): OC::init() #14 /var/www/nextcloud/console.php(48): require_once(‘…’) #15 /var/www/nextcloud/occ(11): require_once(‘…’) #16 {main}

Merci de signaler cette erreur à l’équipe de YunoHost pour qu’elle soit corrigée !

Si quelqu’un a une idée de ce que je peux faire.
Merci beaucoup

Share relevant logs or error messages

https://paste.yunohost.org/raw/aquvujazag

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.