Troubleshooting while logging into nextcloud

Hi,
I’m having problems while logging into my nextcloud.

Here’s what I get as log:

*** Indirizzo remoto: 93.40.192.104**
*** ID richiesta: Xj1UJZTTe0vYDfuGiXSgtQAAAAA**
*** Tipo: Doctrine\DBAL\Exception\DriverException**
*** Codice: 0**
*** Messaggio: An exception occurred while executing ‘UPDATE “oc_appconfig” SET “configvalue” = ? WHERE (“appid” = ?) AND (“configkey” = ?) AND (“configvalue” <> ?)’ with params [“8b9dc64e17d89464da764796c1992b63”, “core”, “scss.variables”, “8b9dc64e17d89464da764796c1992b63”]: SQLSTATE[HY000]: General error: 11 database disk image is malformed**
*** File: /web/htdocs/www.reversemusic.it/home/NextCloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractSQLiteDriver.php**
*** Riga: 90**

### Traccia

#0 /web/htdocs/www.reversemusic.it/home/NextCloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(184): Doctrine\DBAL\Driver\AbstractSQLiteDriver->convertException(‘An exception oc…’, Object(Doctrine\DBAL\Driver\PDOException)) #1 /web/htdocs/www.reversemusic.it/home/NextCloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(158): Doctrine\DBAL\DBALException::wrapException(Object(Doctrine\DBAL\Driver\PDOSqlite\Driver), Object(Doctrine\DBAL\Driver\PDOException), ‘An exception oc…’) #2 /web/htdocs/www.reversemusic.it/home/NextCloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1088): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOSqlite\Driver), Object(Doctrine\DBAL\Driver\PDOException), ‘UPDATE "oc_appc…’, Array) #3 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/DB/Connection.php(216): Doctrine\DBAL\Connection->executeUpdate(‘UPDATE "oc_appc…’, Array, Array) #4 /web/htdocs/www.reversemusic.it/home/NextCloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(222): OC\DB\Connection->executeUpdate(‘UPDATE "oc_appc…’, Array, Array) #5 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/DB/QueryBuilder/QueryBuilder.php(214): Doctrine\DBAL\Query\QueryBuilder->execute() #6 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/AppConfig.php(207): OC\DB\QueryBuilder\QueryBuilder->execute() #7 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/AllConfig.php(202): OC\AppConfig->setValue(‘core’, ‘scss.variables’, ‘8b9dc64e17d8946…’) #8 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/Template/SCSSCacher.php(233): OC\AllConfig->setAppValue(‘core’, ‘scss.variables’, ‘8b9dc64e17d8946…’) #9 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/Template/SCSSCacher.php(138): OC\Template\SCSSCacher->variablesChanged() #10 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/Template/CSSResourceLocator.php(109): OC\Template\SCSSCacher->process(’/web/htdocs/www…’, ‘core/css/server…’, ‘core’) #11 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/Template/CSSResourceLocator.php(61): OC\Template\CSSResourceLocator->cacheAndAppendScssIfExist(’/web/htdocs/www…’, ‘core/css/server…’) #12 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/Template/ResourceLocator.php(78): OC\Template\CSSResourceLocator->doFind(‘css/server’) #13 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/TemplateLayout.php(296): OC\Template\ResourceLocator->find(Array) #14 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/TemplateLayout.php(201): OC\TemplateLayout::findStylesheetFiles(Array) #15 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/legacy/template.php(183): OC\TemplateLayout->__construct(‘user’, ‘files’) #16 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/public/AppFramework/Http/TemplateResponse.php(160): OC_Template->fetchPage(Array) #17 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/AppFramework/Http/Dispatcher.php(119): OCP\AppFramework\Http\TemplateResponse->render() #18 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/AppFramework/App.php(126): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Files\Controller\ViewController), ‘index’) #19 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main(‘ViewController’, ‘index’, Object(OC\AppFramework\DependencyInjection\DIContainer), Array) #20 [internal function]: OC\AppFramework\Routing\RouteActionHandler->__invoke(Array) #21 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/private/Route/Router.php(297): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array) #22 /web/htdocs/www.reversemusic.it/home/NextCloud/lib/base.php(975): OC\Route\Router->match(’/apps/files/’) #23 /web/htdocs/www.reversemusic.it/home/NextCloud/index.php(42): OC::handleRequest() #24 {main}

It seems that you’re using SQLite as a database, which seems to be corrupted. Check the database file and make sure it is valid and consitent:

Hi, I don’t know how to use this command on Aruba Server!