NethServer Version: NethServer release 7.4.1708
Module: nextcloud
Accountsprovider: integrated AD
Hi all,
via the webinterface I installed the module Nextcloud.
When going to the nextcloud webinterface, I’m greeted with an error 503:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
I’ve tried the signal-event : signal-event nethserver-nextcloud-update.
In /var/log/messages I see lots of lines appear:
Feb 10 18:07:50 helium esmith::event[13325]: An unhandled exception has been thrown:
Feb 10 18:07:50 helium esmith::event[13325]: exception ‘Doctrine\DBAL\DBALException’ with message ‘Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [14] unable to open database file’ in /usr/share/nextcloud/lib/private/DB/Connection.php:61
Feb 10 18:07:50 helium esmith::event[13325]: Stack trace:
Feb 10 18:07:50 helium esmith::event[13325]: #0 /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(992): OC\DB\Connection->connect()
Feb 10 18:07:50 helium esmith::event[13325]: #1 /usr/share/nextcloud/lib/private/DB/Connection.php(213): Doctrine\DBAL\Connection->executeUpdate(‘PRAGMA read_unc…’, Array, Array)
Feb 10 18:07:50 helium esmith::event[13325]: #2 /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(623): OC\DB\Connection->executeUpdate(‘PRAGMA read_unc…’)
Feb 10 18:07:50 helium esmith::event[13325]: #3 /usr/share/nextcloud/lib/private/DB/Connection.php(148): Doctrine\DBAL\Connection->setTransactionIsolation(2)
Feb 10 18:07:50 helium esmith::event[13325]: #4 /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(172): OC\DB\Connection->__construct(Array, Object(Doctrine\DBAL\Driver\PDOSqlite\Driver), Object(Doctrine\DBAL\Configuration), Object(Doctrine\Common\EventManager))
Feb 10 18:07:50 helium esmith::event[13325]: #5 /usr/share/nextcloud/lib/private/DB/ConnectionFactory.php(151): Doctrine\DBAL\DriverManager::getConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Doctrine\Common\EventManager))
Feb 10 18:07:50 helium esmith::event[13325]: #6 /usr/share/nextcloud/lib/private/Server.php(588): OC\DB\ConnectionFactory->getConnection(‘sqlite3’, Array)
Feb 10 18:07:50 helium esmith::event[13325]: #7 /usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
Feb 10 18:07:50 helium esmith::event[13325]: #8 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet(‘OCP\IDBConnecti…’)
Feb 10 18:07:50 helium esmith::event[13325]: #9 /usr/share/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OCP\IDBConnecti…’)
Feb 10 18:07:50 helium esmith::event[13325]: #10 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(163): OC\ServerContainer->query(‘OCP\IDBConnecti…’)
Feb 10 18:07:50 helium esmith::event[13325]: #11 /usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
Feb 10 18:07:50 helium esmith::event[13325]: #12 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet(‘DatabaseConnect…’)
Feb 10 18:07:50 helium esmith::event[13325]: #13 /usr/share/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘DatabaseConnect…’)
Feb 10 18:07:50 helium esmith::event[13325]: #14 /usr/share/nextcloud/lib/private/Server.php(1345): OC\ServerContainer->query(‘DatabaseConnect…’)
Feb 10 18:07:50 helium esmith::event[13325]: #15 /usr/share/nextcloud/lib/private/Server.php(309): OC\Server->getDatabaseConnection()
Feb 10 18:07:50 helium esmith::event[13325]: #16 /usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
Feb 10 18:07:50 helium esmith::event[13325]: #17 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet(‘OC\Authenticati…’)
Feb 10 18:07:50 helium esmith::event[13325]: #18 /usr/share/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Authenticati…’)
Feb 10 18:07:50 helium esmith::event[13325]: #19 /usr/share/nextcloud/lib/private/Server.php(313): OC\ServerContainer->query(‘OC\Authenticati…’)
Feb 10 18:07:50 helium esmith::event[13325]: #20 /usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
Feb 10 18:07:50 helium esmith::event[13325]: #21 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet(‘OC\Authenticati…’)
Feb 10 18:07:50 helium esmith::event[13325]: #22 /usr/share/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Authenticati…’)
Feb 10 18:07:50 helium esmith::event[13325]: #23 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(163): OC\ServerContainer->query(‘OC\Authenticati…’)
Feb 10 18:07:50 helium esmith::event[13325]: #24 /usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
Feb 10 18:07:50 helium esmith::event[13325]: #25 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet(‘OC\Authenticati…’)
Feb 10 18:07:50 helium esmith::event[13325]: #26 /usr/share/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\Authenticati…’)
Feb 10 18:07:50 helium esmith::event[13325]: #27 /usr/share/nextcloud/lib/private/Server.php(329): OC\ServerContainer->query(‘OC\Authenticati…’)
Feb 10 18:07:50 helium esmith::event[13325]: #28 /usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
Feb 10 18:07:50 helium esmith::event[13325]: #29 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet(‘OCP\IUserSessio…’)
Feb 10 18:07:50 helium esmith::event[13325]: #30 /usr/share/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OCP\IUserSessio…’)
Feb 10 18:07:50 helium esmith::event[13325]: #31 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(163): OC\ServerContainer->query(‘OCP\IUserSessio…’)
Feb 10 18:07:50 helium esmith::event[13325]: #32 /usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
Feb 10 18:07:50 helium esmith::event[13325]: #33 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet(‘UserSession’)
Feb 10 18:07:50 helium esmith::event[13325]: #34 /usr/share/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘UserSession’)
Feb 10 18:07:50 helium esmith::event[13325]: #35 /usr/share/nextcloud/lib/private/Server.php(1213): OC\ServerContainer->query(‘UserSession’)
Feb 10 18:07:50 helium esmith::event[13325]: #36 /usr/share/nextcloud/lib/private/Server.php(648): OC\Server->getUserSession()
Feb 10 18:07:50 helium esmith::event[13325]: #37 /usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
Feb 10 18:07:50 helium esmith::event[13325]: #38 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet(‘OC\App\AppManag…’)
Feb 10 18:07:50 helium esmith::event[13325]: #39 /usr/share/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘OC\App\AppManag…’)
Feb 10 18:07:50 helium esmith::event[13325]: #40 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(163): OC\ServerContainer->query(‘OC\App\AppManag…’)
Feb 10 18:07:50 helium esmith::event[13325]: #41 /usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}(Object(OC\Server))
Feb 10 18:07:50 helium esmith::event[13325]: #42 /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet(‘AppManager’)
Feb 10 18:07:50 helium esmith::event[13325]: #43 /usr/share/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query(‘AppManager’)
Feb 10 18:07:50 helium esmith::event[13325]: #44 /usr/share/nextcloud/lib/private/Server.php(1518): OC\ServerContainer->query(‘AppManager’)
Feb 10 18:07:50 helium esmith::event[13325]: #45 /usr/share/nextcloud/lib/private/legacy/app.php(315): OC\Server->getAppManager()
Feb 10 18:07:50 helium esmith::event[13325]: #46 /usr/share/nextcloud/lib/private/legacy/app.php(110): OC_App::getEnabledApps()
Feb 10 18:07:50 helium esmith::event[13325]: #47 /usr/share/nextcloud/lib/base.php(673): OC_App::loadApps(Array)
Feb 10 18:07:50 helium esmith::event[13325]: #48 /usr/share/nextcloud/lib/base.php(1086): OC::init()
Feb 10 18:07:50 helium esmith::event[13325]: #49 /usr/share/nextcloud/console.php(56): require_once(‘/usr/share/next…’)
Feb 10 18:07:50 helium esmith::event[13325]: #50 /usr/share/nextcloud/occ(11): require_once(‘/usr/share/next…’)
I guess the essential one being
exception ‘Doctrine\DBAL\DBALException’ with message 'Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [14] unable to open database file’ in /usr/share/nextcloud/lib/private/DB/Connection.php:61
I can’t find anything related in this forum. Please help?