Repository navigation
Closed
Description
OS: openSUSE 13.1
DB: MariaDB 5.5.33
PHP: 5.4.20
config.php:
'instanceid' => 'oc4642bf53bd',
'passwordsalt' => '*** Removed for security reasons',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '192.168.1.5',
),
'datadirectory' => '/home/owncloud/data',
'dbtype' => 'mysql',
'version' => '6.0.4.1',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => '......',
'dbpassword' => '*** Removed for security reasons',
'installed' => true,
'theme' => '',
'maintenance' => false,
'loglevel' => '2',
Client: Firefox 30.0
OS: openSUSE 13.1
owncloud.log:
{"app":"cron","message":"Failed to upgrade \"activity\".","level":4,"time":"2014-07-23T19:00:01+00:00"}
{"app":"core","message":"Failed to update database structure (exception 'Doctrine\\DBAL\\DBALException' with message 'Unknown database type bit requested, Doctrine\\DBAL\\Platforms\\MySqlPlatform may not support it.' in \/srv\/www\/htdocs\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Platforms\/AbstractPlatform.php:321\nStack trace:\n#0 \/srv\/www\/htdocs\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/MySqlSchemaManager.php(112): Doctrine\\DBAL\\Platforms\\AbstractPlatform->getDoctrineTypeMapping('bit')\n#1 \/srv\/www\/htdocs\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/AbstractSchemaManager.php(672): Doctrine\\DBAL\\Schema\\MySqlSchemaManager->_getPortableTableColumnDefinition(Array)\n#2 \/srv\/www\/htdocs\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/AbstractSchemaManager.php(159): Doctrine\\DBAL\\Schema\\AbstractSchemaManager->_getPortableTableColumnList('oc_asiriot_acti...', 'owncloud', Array)\n#3 \/srv\/www\/htdocs\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/AbstractSchemaManager.php(254): Doctrine\\DBAL\\Schema\\AbstractSchemaManager->listTableColumns('oc_asiriot_acti...')\n#4 \/srv\/www\/htdocs\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/AbstractSchemaManager.php(242): Doctrine\\DBAL\\Schema\\AbstractSchemaManager->listTableDetails('oc_asiriot_acti...')\n#5 \/srv\/www\/htdocs\/owncloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/AbstractSchemaManager.php(831): Doctrine\\DBAL\\Schema\\AbstractSchemaManager->listTables()\n#6 \/srv\/www\/htdocs\/owncloud\/lib\/private\/db\/migrator.php(148): Doctrine\\DBAL\\Schema\\AbstractSchemaManager->createSchema()\n#7 \/srv\/www\/htdocs\/owncloud\/lib\/private\/db\/mysqlmigrator.php(20): OC\\DB\\Migrator->getDiff(Object(Doctrine\\DBAL\\Schema\\Schema), Object(OC\\DB\\Connection))\n#8 \/srv\/www\/htdocs\/owncloud\/lib\/private\/db\/migrator.php(177): OC\\DB\\MySQLMigrator->getDiff(Object(Doctrine\\DBAL\\Schema\\Schema), Object(OC\\DB\\Connection))\n#9 \/srv\/www\/htdocs\/owncloud\/lib\/private\/db\/migrator.php(35): OC\\DB\\Migrator->applySchema(Object(Doctrine\\DBAL\\Schema\\Schema))\n#10 \/srv\/www\/htdocs\/owncloud\/lib\/private\/db\/mdb2schemamanager.php(98): OC\\DB\\Migrator->migrate(Object(Doctrine\\DBAL\\Schema\\Schema))\n#11 \/srv\/www\/htdocs\/owncloud\/lib\/private\/db.php(320): OC\\DB\\MDB2SchemaManager->updateDbFromStructure('\/srv\/www\/htdocs...')\n#12 \/srv\/www\/htdocs\/owncloud\/lib\/private\/app.php(1172): OC_DB::updateDbFromStructure('\/srv\/www\/htdocs...')\n#13 \/srv\/www\/htdocs\/owncloud\/lib\/private\/app.php(980): OC_App::updateApp('activity')\n#14 \/srv\/www\/htdocs\/owncloud\/lib\/private\/app.php(87): OC_App::checkUpgrade('activity')\n#15 \/srv\/www\/htdocs\/owncloud\/lib\/private\/app.php(72): OC_App::loadApp('activity')\n#16 \/srv\/www\/htdocs\/owncloud\/cron.php(52): OC_App::loadApps()\n#17 {main})","level":4,"time":"2014-07-23T19:10:01+00:00"}
{"app":"cron","message":"Failed to upgrade \"activity\".","level":4,"time":"2014-07-23T19:10:01+00:00"}
{"app":"core","message":"Simulated database structure update failed (exception 'OC\\DB\\MigrationException' with message 'Unknown database type bit requested, Doctrine\\DBAL\\Platforms\\MySqlPlatform may not support it.' in \/srv\/www\/htdocs\/owncloud\/lib\/private\/db\/migrator.php:117\nStack trace:\n#0 \/srv\/www\/htdocs\/owncloud\/lib\/private\/db\/migrator.php(75): OC\\DB\\Migrator->checkTableMigrate(Object(Doctrine\\DBAL\\Schema\\Table))\n#1 \/srv\/www\/htdocs\/owncloud\/lib\/private\/db\/mdb2schemamanager.php(110): OC\\DB\\Migrator->checkMigrate(Object(Doctrine\\DBAL\\Schema\\Schema))\n#2 \/srv\/www\/htdocs\/owncloud\/lib\/private\/db.php(337): OC\\DB\\MDB2SchemaManager->simulateUpdateDbFromStructure('\/srv\/www\/htdocs...')\n#3 \/srv\/www\/htdocs\/owncloud\/lib\/private\/updater.php(186): OC_DB::simulateUpdateDbFromStructure('\/srv\/www\/htdocs...')\n#4 \/srv\/www\/htdocs\/owncloud\/lib\/private\/updater.php(137): OC\\Updater->doUpgrade('7.0.0.8', '6.0.4.1')\n#5 \/srv\/www\/htdocs\/owncloud\/core\/ajax\/update.php(35): OC\\Updater->upgrade()\n#6 {main})","level":4,"time":"2014-07-23T19:10:14+00:00"}
Metadata
Metadata
Assignees
Labels
No labels
Activity
DeepDiver1975 commentedon Jul 23, 2014
hmmm - looks like there is a table with an unknown/unsupported column type
@inpu can you please list all tables in this database?
Which apps are installed?
Are there any other tables which do not belong to ownCloud?
THX
@PVince81 any clue why the upgrade is trigger from cron.php - this shall not happen
PVince81 commentedon Jul 23, 2014
Hmmm..... I suppose we need to add yet another check in cron.php as well to prevent upgrading.
inpu commentedon Jul 24, 2014
Yes, there was some tables from my own applications, and some tables from deleted applications at this time. After i drop all this tables update completed successfully.
I think in log file should be more information about problem, column and table, and skip table option i think.
DeepDiver1975 commentedon Jul 24, 2014
Good to hear you are back up and running.
We definitely have to improve this mechanism - for sure
lock commentedon Aug 2, 2019
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.