Hi,
I’ve been using Mail-in-a-Box for many years and early on (back with the previous version of Ubuntu), at that time, OwnCloud didn’t work properly for me and none of the fixes suggested worked.
I had been using Davical for CalDav and CardDav services from back when I had a roll-your-own mail server. But now Davical seems to have hosed my calendar so now I’m wondering if it isn’t possible to fix NextCloud now.
Currently, I have the line:
source setup/nextcloud.sh
commented out in start.sh and updates work fine. But if I try to run it with that line, I get voluminous errors (pasted at the end). Any ideas/suggestions on how to fix this?
Many thanks in advance!
An unhandled exception has been thrown:
Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [14] unable to open database file in /usr/local/lib/owncloud/lib/private/DB/Connection.php:64
Stack trace:
#0 /usr/local/lib/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1040): OC\DB\Connection->connect()
#1 /usr/local/lib/owncloud/lib/private/DB/Connection.php(216): Doctrine\DBAL\Connection->executeUpdate('PRAGMA read_unc...', Array, Array)
#2 /usr/local/lib/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(683): OC\DB\Connection->executeUpdate('PRAGMA read_unc...')
#3 /usr/local/lib/owncloud/lib/private/DB/Connection.php(151): Doctrine\DBAL\Connection->setTransactionIsolation(2)
#4 /usr/local/lib/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php(195): OC\DB\Connection->__construct(Array, Object(Doctrine\DBAL\Driver\PDOSqlite\Driver), Object(Doctrine\DBAL\Configuration), Object(Doctrine\Common\EventManager))
#5 /usr/local/lib/owncloud/lib/private/DB/ConnectionFactory.php(158): Doctrine\DBAL\DriverManager::getConnection(Array, Object(Doctrine\DBAL\Configuration), Object(Doctrine\Common\EventManager))
#6 /usr/local/lib/owncloud/lib/private/Server.php(636): OC\DB\ConnectionFactory->getConnection('sqlite3', Array)
#7 /usr/local/lib/owncloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC\{closure}(Object(OC\Server))
#8 /usr/local/lib/owncloud/lib/private/ServerContainer.php(120): Pimple\Container->offsetGet('OCP\\IDBConnecti...')
#9 /usr/local/lib/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(161): OC\ServerContainer->query('OCP\\IDBConnecti...')
#10 /usr/local/lib/owncloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#11 /usr/local/lib/owncloud/lib/private/ServerContainer.php(120): Pimple\Container->offsetGet('DatabaseConnect...')
#12 /usr/local/lib/owncloud/lib/private/Server.php(1556): OC\ServerContainer->query('DatabaseConnect...')
#13 /usr/local/lib/owncloud/lib/private/Server.php(363): OC\Server->getDatabaseConnection()
#14 /usr/local/lib/owncloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC\{closure}(Object(OC\Server))
#15 /usr/local/lib/owncloud/lib/private/ServerContainer.php(120): Pimple\Container->offsetGet('OC\\Authenticati...')
#16 /usr/local/lib/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(69): OC\ServerContainer->query('OC\\Authenticati...', true)
#17 /usr/local/lib/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(99): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
#18 /usr/local/lib/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->resolve('OC\\Authenticati...')
#19 /usr/local/lib/owncloud/lib/private/ServerContainer.php(145): OC\AppFramework\Utility\SimpleContainer->query('OC\\Authenticati...', true)
#20 /usr/local/lib/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(69): OC\ServerContainer->query('OC\\Authenticati...', true)
#21 /usr/local/lib/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(99): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
#22 /usr/local/lib/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->resolve('OC\\Authenticati...')
#23 /usr/local/lib/owncloud/lib/private/ServerContainer.php(145): OC\AppFramework\Utility\SimpleContainer->query('OC\\Authenticati...', true)
#24 /usr/local/lib/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(161): OC\ServerContainer->query('OC\\Authenticati...')
#25 /usr/local/lib/owncloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#26 /usr/local/lib/owncloud/lib/private/ServerContainer.php(120): Pimple\Container->offsetGet('OC\\Authenticati...')
#27 /usr/local/lib/owncloud/lib/private/Server.php(375): OC\ServerContainer->query('OC\\Authenticati...')
#28 /usr/local/lib/owncloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC\{closure}(Object(OC\Server))
#29 /usr/local/lib/owncloud/lib/private/ServerContainer.php(120): Pimple\Container->offsetGet('OC\\User\\Session')
#30 /usr/local/lib/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(161): OC\ServerContainer->query('OC\\User\\Session')
#31 /usr/local/lib/owncloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#32 /usr/local/lib/owncloud/lib/private/ServerContainer.php(120): Pimple\Container->offsetGet('UserSession')
#33 /usr/local/lib/owncloud/lib/private/Server.php(1432): OC\ServerContainer->query('UserSession')
#34 /usr/local/lib/owncloud/lib/private/Server.php(689): OC\Server->getUserSession()
#35 /usr/local/lib/owncloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC\{closure}(Object(OC\Server))
#36 /usr/local/lib/owncloud/lib/private/ServerContainer.php(120): Pimple\Container->offsetGet('OC\\App\\AppManag...')
#37 /usr/local/lib/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(161): OC\ServerContainer->query('OC\\App\\AppManag...')
#38 /usr/local/lib/owncloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#39 /usr/local/lib/owncloud/lib/private/ServerContainer.php(120): Pimple\Container->offsetGet('AppManager')
#40 /usr/local/lib/owncloud/lib/private/Server.php(1727): OC\ServerContainer->query('AppManager')
#41 /usr/local/lib/owncloud/lib/private/legacy/app.php(346): OC\Server->getAppManager()
#42 /usr/local/lib/owncloud/lib/private/legacy/app.php(114): OC_App::getEnabledApps()
#43 /usr/local/lib/owncloud/lib/base.php(640): OC_App::loadApps(Array)
#44 /usr/local/lib/owncloud/lib/base.php(1078): OC::init()
#45 /usr/local/lib/owncloud/console.php(46): require_once('/usr/local/lib/...')
#46 /usr/local/lib/owncloud/occ(11): require_once('/usr/local/lib/...')
#47 {main}