Filecache doesn't exist after reboot

10

#1

Hey Forum,

Last night I rebooted my server, went to login to Owncloud and had an internal server error. After digging through the owncloud.log, found that "Base table or view not found: 1146 Table 'owncloud.oc_filecache' doesn't exist".

I also had the more errors come up when trying to run occ maintenance:mimetype:update-db

[Doctrine\DBAL\Exception\TableNotFoundException]
An exception occurred while executing 'UPDATE oc_filecache SET mimetype
= ? WHERE (mimetype <> ?) AND (mimetype <> ?) AND (LOWER(name) LIKE
?)' with params ["44", "44", "2", "3gp"]:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_file
cache' doesn't exist[/details]

[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_file
cache' doesn't exist

[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_file
cache' doesn't exist

I'm running 10.0.3 on Debian with Apache. Any help would be appreciate as I am completely lost!


#2

Can you access the db and check if the table is really not there?


#3

I've checked the database and the oc_filecache table isn't there.


#4

Did you check your database-logfile? Perhaps some problems here, this should not happen during a restart...