Hello,
first of all greeting to all members of the Nextcloud community. I have been searching for answers in Google and on the OwnCloud + Nextcloud forums. Yet I have not been able to find any answers.
The problem is very weird, especially since it happens on the 2 instances of OwnCloud. I was trying to update form OC 8.2.9 to Nextcloud 9.0.55 and right at the beginning of ugrade process I receive information āAn error has occuredā.
Log file entry:
{"reqId":"DI2r2bzwJA7setRxACVg","remoteAddr":"*.*.*.253","app":"index","message":"Exception: {\"Exception\":\"Doctrine\\\\DBAL\\\\Exception\\\\TableNotFoundException\",\"Message\":\"An exception occurred while executing 'SELECT
storage_id,
root_id,
user_id,
mount_pointFROM
oc_mountsWHERE
user_id= ?' with params [\\\"email@email.com\\\"]:\\n\\nSQLSTATE[42S02]: Base table or view not found: 1146 Table '00059792_0000019.oc_mounts' doesn't exist\",\"Code\":0,\"Trace\":\"#0 \\\/cloud\\\/3rdparty\\\/doctrine\\\/dbal\\\/lib\\\/Doctrine\\\/DBAL\\\/DBALException.php(116): Doctrine\\\\DBAL\\\\Driver\\\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\\\DBAL\\\\Driver\\\\PDOException))\\n#1 \\\/cloud\\\/3rdparty\\\/doctrine\\\/dbal\\\/lib\\\/Doctrine\\\/DBAL\\\/Connection.php(836): Doctrine\\\\DBAL\\\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\\\DBAL\\\\Driver\\\\PDOMySql\\\\Driver), Object(Doctrine\\\\DBAL\\\\Driver\\\\PDOException), 'SELECT
storageā¦ā, Array)\n#2 \/cloud\/lib\/private\/db\/connection.php(184): Doctrine\\DBAL\\Connection->executeQuery(āSELECT storage...', Array, Array, NULL)\\n#3 \\\/cloud\\\/3rdparty\\\/doctrine\\\/dbal\\\/lib\\\/Doctrine\\\/DBAL\\\/Query\\\/QueryBuilder.php(206): OC\\\\DB\\\\Connection->executeQuery('SELECT
storageā¦ā, Array, Array)\n#4 \/cloud\/lib\/private\/db\/querybuilder\/querybuilder.php(141): Doctrine\\DBAL\\Query\\QueryBuilder->execute()\n#5 \/cloud\/lib\/private\/files\/config\/usermountcache.php(188): OC\\DB\\QueryBuilder\\QueryBuilder->execute()\n#6 \/cloud\/lib\/private\/files\/config\/usermountcache.php(110): OC\\Files\\Config\\UserMountCache->getMountsForUser(Object(OC\\User\\User))\n#7 \/cloud\/lib\/private\/files\/config\/mountprovidercollection.php(97): OC\\Files\\Config\\UserMountCache->registerMounts(Object(OC\\User\\User), Array)\n#8 \/cloud\/lib\/private\/files\/filesystem.php(435): OC\\Files\\Config\\MountProviderCollection->registerMounts(Object(OC\\User\\User), Array)\n#9 \/cloud\/lib\/private\/files\/filesystem.php(353): OC\\Files\\Filesystem::initMountPoints(āemail@emailā¦ā)\n#10 \/cloud\/lib\/private\/util.php(223): OC\\Files\\Filesystem::init(āemail@emailā¦ā, ā\/email@emailā¦ā)\n#11 \/cloud\/lib\/base.php(906): OC_Util::setupFS()\n#12 \/cloud\/index.php(47): OC::handleRequest()\n#13 {main}",āFileā:"\/cloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php",āLineā:53}",ālevelā:3,ātimeā:ā2017-01-01T12:26:39+01:00ā,āmethodā:āGETā,āurlā:"/cloud/index.php/core/js/oc.js?v=b540ba4c098dd20fb128f34880d30f8d",āuserā:āemail@email.comā}`
And indeed on BOTH instances table oc_mounts is missing form database structure.
I also tried upgrading do OwnCloud 9.0.7 but with exactly same effect.
Any ideas? Thank you in advance!