Skip to content

error upgrade from 5.0.15 to 6.0.2 #8215

Closed

Description

@tomdavison-cits

Hi

I am getting an error trying to update from 5.0.15 to 6.0.2.

the error I am getting is when it's doing the upgrade after copying the updated files into the wwwroot folder of the server.

there are error's in the owncloud log which you can see at the bottom but I can't tell where it's getting some of the paths from so I don't know how to fix it

errors are:
Unknown database type enum requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.

An exception occurred while executing 'SELECT id FROM oc_jobs WHERE class = ? AND argument = ?': SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysql.oc_jobs' doesn't exist

details of the server are
server 2008 R2 (all os updates)

MySQL Server 5.1

PHP 5.4.24

there should be no activated apps

The content of config/config.php:

'5234cd43da895', 'passwordsalt' => '*** Removed for security reasons', 'datadirectory' => 'D:\Cloud Storage', 'dbtype' => 'mysql', 'version' => '6.0.2.2', 'dbname' => 'mysql', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => removed, 'dbpassword' => 'removed', 'installed' => true, 'maxZipInputSize' => 0, 'allowZipDownload' => true, 'loglevel' => '3', 'theme' => '', 'maintenance' => false, 'forcessl' => true, ); data/owncloud.log {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/,C:\Windows\temp\/owncloud-5234cd43da895\/): Access is denied. (code: 5) at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:33+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/): failed to open dir: No such file or directory at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:33+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/,C:\Windows\temp\/owncloud-5234cd43da895\/): Access is denied. (code: 5) at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:33+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/): failed to open dir: No such file or directory at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:33+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/,C:\Windows\temp\/owncloud-5234cd43da895\/): Access is denied. (code: 5) at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:33+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/): failed to open dir: No such file or directory at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:33+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/,C:\Windows\temp\/owncloud-5234cd43da895\/): Access is denied. (code: 5) at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:33+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/): failed to open dir: No such file or directory at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:33+00:00"} {"app":"core","message":"Failed to update database structure (exception 'Doctrine\DBAL\DBALException' with message 'Unknown database type enum requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.' in C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Platforms\AbstractPlatform.php:321\nStack trace:\n#0 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\MySqlSchemaManager.php(112): Doctrine\DBAL\Platforms\AbstractPlatform->getDoctrineTypeMapping('enum')\n#1 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\AbstractSchemaManager.php(672): Doctrine\DBAL\Schema\MySqlSchemaManager->_getPortableTableColumnDefinition(Array)\n#2 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\AbstractSchemaManager.php(159): Doctrine\DBAL\Schema\AbstractSchemaManager->_getPortableTableColumnList('db', 'mysql', Array)\n#3 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\AbstractSchemaManager.php(254): Doctrine\DBAL\Schema\AbstractSchemaManager->listTableColumns('db')\n#4 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\AbstractSchemaManager.php(242): Doctrine\DBAL\Schema\AbstractSchemaManager->listTableDetails('db')\n#5 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\AbstractSchemaManager.php(831): Doctrine\DBAL\Schema\AbstractSchemaManager->listTables()\n#6 C:\inetpub\wwwroot\lib\private\db\mdb2schemamanager.php(60): Doctrine\DBAL\Schema\AbstractSchemaManager->createSchema()\n#7 C:\inetpub\wwwroot\lib\private\db.php(376): OC\DB\MDB2SchemaManager->updateDbFromStructure('C:\/inetpub\/wwwr...')\n#8 C:\inetpub\wwwroot\lib\private\app.php(969): OC_DB::updateDbFromStructure('C:\/inetpub\/wwwr...')\n#9 C:\inetpub\wwwroot\lib\private\app.php(871): OC_App::updateApp('contacts')\n#10 C:\inetpub\wwwroot\lib\private\app.php(92): OC_App::checkUpgrade('contacts')\n#11 C:\inetpub\wwwroot\lib\private\app.php(66): OC_App::loadApp('contacts')\n#12 C:\inetpub\wwwroot\lib\base.php(695): OC_App::loadApps()\n#13 C:\inetpub\wwwroot\index.php(30): OC::handleRequest()\n#14 {main})","level":4,"time":"2014-04-15T13:47:35+00:00"} {"app":"index","message":"Exception: RuntimeException: Failed to upgrade \"contacts\".","level":4,"time":"2014-04-15T13:47:35+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/,C:\Windows\temp\/owncloud-5234cd43da895\/): Access is denied. (code: 5) at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:36+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/): failed to open dir: No such file or directory at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:36+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/,C:\Windows\temp\/owncloud-5234cd43da895\/): Access is denied. (code: 5) at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:36+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/): failed to open dir: No such file or directory at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:36+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/,C:\Windows\temp\/owncloud-5234cd43da895\/): Access is denied. (code: 5) at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:36+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/): failed to open dir: No such file or directory at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:36+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/,C:\Windows\temp\/owncloud-5234cd43da895\/): Access is denied. (code: 5) at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:36+00:00"} {"app":"PHP","message":"opendir(C:\Windows\temp\/owncloud-5234cd43da895\/): failed to open dir: No such file or directory at C:\inetpub\wwwroot\lib\private\cache\fileglobal.php#72","level":3,"time":"2014-04-15T13:47:36+00:00"} {"app":"core","message":"Failed to update database structure (exception 'Doctrine\DBAL\DBALException' with message 'Unknown database type enum requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.' in C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Platforms\AbstractPlatform.php:321\nStack trace:\n#0 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\MySqlSchemaManager.php(112): Doctrine\DBAL\Platforms\AbstractPlatform->getDoctrineTypeMapping('enum')\n#1 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\AbstractSchemaManager.php(672): Doctrine\DBAL\Schema\MySqlSchemaManager->_getPortableTableColumnDefinition(Array)\n#2 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\AbstractSchemaManager.php(159): Doctrine\DBAL\Schema\AbstractSchemaManager->_getPortableTableColumnList('db', 'mysql', Array)\n#3 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\AbstractSchemaManager.php(254): Doctrine\DBAL\Schema\AbstractSchemaManager->listTableColumns('db')\n#4 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\AbstractSchemaManager.php(242): Doctrine\DBAL\Schema\AbstractSchemaManager->listTableDetails('db')\n#5 C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\Schema\AbstractSchemaManager.php(831): Doctrine\DBAL\Schema\AbstractSchemaManager->listTables()\n#6 C:\inetpub\wwwroot\lib\private\db\mdb2schemamanager.php(60): Doctrine\DBAL\Schema\AbstractSchemaManager->createSchema()\n#7 C:\inetpub\wwwroot\lib\private\db.php(376): OC\DB\MDB2SchemaManager->updateDbFromStructure('C:\/inetpub\/wwwr...')\n#8 C:\inetpub\wwwroot\lib\private\updater.php(120): OC_DB::updateDbFromStructure('C:\/inetpub\/wwwr...')\n#9 C:\inetpub\wwwroot\core\ajax\update.php(34): OC\Updater->upgrade()\n#10 {main})","level":4,"time":"2014-04-15T13:47:39+00:00"} {"app":"PHP","message":"An exception occurred while executing 'SELECT `id` FROM `oc_jobs` WHERE `class` = ? AND `argument` = ?':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysql.oc_jobs' doesn't exist at C:\inetpub\wwwroot\3rdparty\doctrine\dbal\lib\Doctrine\DBAL\DBALException.php#47","level":3,"time":"2014-04-15T13:47:39+00:00"} {"app":"index","message":"Exception: Doctrine\DBAL\DBALException: An exception occurred while executing 'SELECT `id` FROM `oc_jobs` WHERE `class` = ? AND `argument` = ?':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysql.oc_jobs' doesn't exist","level":4,"time":"2014-04-15T13:47:40+00:00"} {"app":"index","message":"Exception: Doctrine\DBAL\DBALException: An exception occurred while executing 'SELECT `id` FROM `oc_jobs` WHERE `class` = ? AND `argument` = ?':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysql.oc_jobs' doesn't exist","level":4,"time":"2014-04-15T14:35:32+00:00"} {"app":"index","message":"Exception: Doctrine\DBAL\DBALException: An exception occurred while executing 'SELECT `id` FROM `oc_jobs` WHERE `class` = ? AND `argument` = ?':\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysql.oc_jobs' doesn't exist","level":4,"time":"2014-04-15T14:35:34+00:00"}

Activity

  1. PVince81 commented on Apr 28, 2014

    @PVince81
    Contributor

    I believe these is a fix for this here: #7679

  2. added this to the milestone on Jun 24, 2014
  3. DeepDiver1975 commented on Jul 24, 2014

    @DeepDiver1975
    Contributor

    Unknown database type enum requested, Doctrine\DBAL\Platforms\MySqlPlatform may not support it.

    fixed with 7.0.1

  4. lock commented on Aug 2, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  5. locked as resolved and limited conversation to collaborators on Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions