Mon serveur YunoHost 11.2.91
Matériel: VM sur FreeBox Delta
SystĂšme dâexploitation: Linux 5.10.0-27-arm64
Version de YunoHost: 11.2.4.18 sur Debian 11.8
Nextcloud version : 28.0.1~ynh1
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
Je nâai plus accĂšs Ă Nextcloud, parfois Mysql est arrĂȘtĂ© et impossible de le redĂ©marrer
La commande suivante indique une erreur de PHP :
cd /var/www/nextcloud
sudo -u nextcloud php8.2 --define apc.enable_cli=1 occ files:scan -vv --all
This version of Nextcloud requires at least PHP 8.0<br/>You are currently running 7.4.33. Please update your PHP version.root@sphd:/var/www/nextcloud#
Jâai donc tentĂ© de rĂ©parer par cette commande :
sudo -u nextcloud php8.2 --define apc.enable_cli=1 occ files:scan -vv --all
Mais jâai obtenu un code dâerreur :
Exception during scan: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1712 Index oc_filecache is corrupted
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1938): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1880): Doctrine\DBAL\Connection->handleDriverException()
#2 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1105): Doctrine\DBAL\Connection->convertExceptionDuringQuery()
#3 /var/www/nextcloud/lib/private/DB/Connection.php(261): Doctrine\DBAL\Connection->executeQuery()
#4 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(337): OC\DB\Connection->executeQuery()
#5 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(377): Doctrine\DBAL\Query\QueryBuilder->executeQuery()
#6 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(280): Doctrine\DBAL\Query\QueryBuilder->execute()
#7 /var/www/nextcloud/lib/private/Files/Cache/Cache.php(504): OC\DB\QueryBuilder\QueryBuilder->execute()
#8 /var/www/nextcloud/lib/private/Files/Mount/MountPoint.php(299): OC\Files\Cache\Cache->getId()
#9 /var/www/nextcloud/lib/private/Files/SetupManager.php(256): OC\Files\Mount\MountPoint->getStorageRootId()
#10 /var/www/nextcloud/lib/private/Files/SetupManager.php(315): OC\Files\SetupManager->oneTimeUserSetup()
#11 /var/www/nextcloud/lib/private/Files/SetupManager.php(214): OC\Files\SetupManager->setupForUserWith()
#12 /var/www/nextcloud/lib/private/legacy/OC_Util.php(110): OC\Files\SetupManager->setupForUser()
#13 /var/www/nextcloud/lib/private/Files/Utils/Scanner.php(115): OC_Util::setupFS()
#14 /var/www/nextcloud/lib/private/Files/Utils/Scanner.php(200): OC\Files\Utils\Scanner->getMounts()
#15 /var/www/nextcloud/apps/files/lib/Command/Scan.php(180): OC\Files\Utils\Scanner->scan()
#16 /var/www/nextcloud/apps/files/lib/Command/Scan.php(241): OCA\Files\Command\Scan->scanFiles()
#17 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(298): OCA\Files\Command\Scan->execute()
#18 /var/www/nextcloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run()
#19 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1040): OC\Core\Command\Base->run()
#20 /var/www/nextcloud/3rdparty/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#21 /var/www/nextcloud/3rdparty/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#22 /var/www/nextcloud/lib/private/Console/Application.php(206): Symfony\Component\Console\Application->run()
#23 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
#24 /var/www/nextcloud/occ(11): require_once('...')
#25 {main}
+---------+-------+-----+---------+---------+--------+--------------+
| Folders | Files | New | Updated | Removed | Errors | Elapsed time |
+---------+-------+-----+---------+---------+--------+--------------+
| 0 | 0 | 0 | 0 | 0 | 3 | 00:00:00 |
+---------+-------+-----+---------+---------+--------+--------------+
Que dois-je faire ?