Mon serveur YunoHost
Matériel: serveur dédié chez OVH
Version de YunoHost: 11.2.20.2 (stable)
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : non
Description du problème
Bonjour Yunohost, merci pour tout le travail accompli, je trouve ça incroyable.
après une vague de mises à jour, je suis dans l’incapacité d’accéder à Nextcloud, à chaque fois que je m’y connecte (soit directement par l’url ou via le SSO, je reviens au SSO).
Et du coup j’aurais besoin d’un coup de main car je ne vois pas où chercher. Merci de votre aide.
Voici les messages d’erreurs que j’ai remarqué :
Dans la page d’admin, j’ai le message suivant (j’ai un peu mis en page pour plus de visibilité) :
An error prevents the configuration panel from being displayed:
Could not read return from hook /etc/yunohost/apps/nextcloud__2/scripts/config.
Error: Corrupted YAML read from /tmp/tmpcj1nj73y/stdreturn (reason: mapping values are not allowed here<br> in "<unicode string>", line 9, column 66:<br> ... thrown: Doctrine\DBAL\Exception: Failed to connect to the datab ... <br> ^).
Raw content: fpm_footprint:<br> high<br>fpm_free_footprint:<br> 0<br>fpm_usage: 'medium'<br>maintenance_mode:<br> <br>system_addressbook_exposed:<br>
An unhandled exception has been thrown: Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: could not find driver in /var/www/nextcloud__2/lib/private/DB/Connection.php:163
Stack trace:
#0 /var/www/nextcloud__2/3rdparty/doctrine/dbal/src/Connection.php(453): OC\DB\Connection->connect()
#1 /var/www/nextcloud__2/3rdparty/doctrine/dbal/src/Connection.php(411): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#2 /var/www/nextcloud__2/3rdparty/doctrine/dbal/src/Connection.php(318): Doctrine\DBAL\Connection->detectDatabasePlatform()
#3 /var/www/nextcloud__2/lib/private/DB/ConnectionAdapter.php(200): Doctrine\DBAL\Connection->getDatabasePlatform()
#4 /var/www/nextcloud__2/lib/private/DB/QueryBuilder/QueryBuilder.php(121): OC\DB\ConnectionAdapter->getDatabasePlatform()
#5 /var/www/nextcloud__2/lib/private/AppConfig.php(1237): OC\DB\QueryBuilder\QueryBuilder->expr()
#6 /var/www/nextcloud__2/lib/private/AppConfig.php(262): OC\AppConfig->loadConfig()
#7 /var/www/nextcloud__2/lib/private/AppConfig.php(1378): OC\AppConfig->searchValues()
#8 /var/www/nextcloud__2/lib/private/App/AppManager.php(131): OC\AppConfig->getValues()
#9 /var/www/nextcloud__2/lib/private/App/AppManager.php(152): OC\App\AppManager->getInstalledAppsValues()
#10 /var/www/nextcloud__2/lib/private/legacy/OC_App.php(234): OC\App\AppManager->getInstalledApps()
#11 /var/www/nextcloud__2/lib/private/AppFramework/Bootstrap/Coordinator.php(90): OC_App::getEnabledApps()
#12 /var/www/nextcloud__2/lib/base.php(706): OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()
#13 /var/www/nextcloud__2/lib/base.php(1181): OC::init()
#14 /var/www/nextcloud__2/console.php(48): require_once('...')
#15 /var/www/nextcloud__2/occ(11): require_once('...')
#16 {main}<br>
Please report this error to the YunoHost team to get it fixed!
Lors des mises à jour, j’avais eu un problème avec Nextcloud,
args:
apps:
- nextcloud__2
name: nextcloud__2-pre-upgrade1
system: null
ended_at: 2024-07-02 10:51:15.858162
error: Nothing to save
interface: cli
operation: backup_create
parent: null
related_to:
- - app
- nextcloud__2
started_at: 2024-07-02 10:51:11.024529
success: false
yunohost_version: 11.2.20.1
============
2024-07-02 10:51:11,191: INFO - Collecting files to be backed up for nextcloud__2…
...
2024-07-02 10:51:14,325: WARNING - Source path '/etc/php/8.2/fpm/pool.d/nextcloud__2.conf' does not exist
...
2024-07-02 10:51:15,849: ERROR - Could not back up nextcloud__2
je m’en suis sorti en recréant le fichier manquant et j’ai pu faire la mise à jour. De mémoire, Nexcloud fonctionnait.
Puis j’ai supprimé une de mes applications PrettyNoemieCMS, sans problème.
Puis j’ai mis à jour Yunohost, sans problème. Je signale quand même cette erreur :
Fetching available upgrades for system packages…
W: Failed to fetch https://last-public-ovh-rtm.snap.mirrors.ovh.net/debian/dists/stretch/InRelease 500 Internal Server Error [IP: 213.32.5.7 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Something went wrong while updating the cache of APT (Debian's package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:
sources.list:deb http://debian.mirrors.ovh.net/debian bullseye main
sources.list:deb-src http://debian.mirrors.ovh.net/debian bullseye main
sources.list:deb http://security.debian.org/debian-security bullseye-security main
sources.list:deb-src http://security.debian.org/debian-security bullseye-security main
sources.list:deb http://debian.mirrors.ovh.net/debian bullseye-updates main
sources.list:deb-src http://debian.mirrors.ovh.net/debian bullseye-updates main
sources.list.d/ovh-metrics.list:deb https://last-public-ovh-metrics.snap.mirrors.ovh.net/debian/ stretch main
sources.list.d/ovhkernel.list:deb https://last-public-ovh-kernel.snap.mirrors.ovh.net/debian/ ovhkernel main
sources.list.d/ovh-rtm.list:deb https://last-public-ovh-rtm.snap.mirrors.ovh.net/debian/ stretch main
sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ bullseye stable
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ bullseye main