Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with upgrading News app after merge of doctrine branch #4392

Closed
cosenal opened this issue Aug 12, 2013 · 4 comments
Closed

Error with upgrading News app after merge of doctrine branch #4392

cosenal opened this issue Aug 12, 2013 · 4 comments

Comments

@cosenal
Copy link
Member

cosenal commented Aug 12, 2013

I get the following message every time I upgrade the News app, after the merge of doctrine branch in owncloud/core:

Failed to upgrade "news". #0 /var/www/owncloud/lib/app.php(94): OC_App::checkUpgrade('news') #1 /var/www/owncloud/lib/app.php(68): OC_App::loadApp('news') #2 /var/www/owncloud/lib/base.php(599): OC_App::loadApps() #3 /var/www/owncloud/index.php(30): OC::handleRequest() #4 {main}

Here is the full log entry: https://dpaste.de/Aruih/raw/

I recall that @raghunayyar encountered the same problem.

cc @bartv2 @butonic @Raydiation

@jancborchardt
Copy link
Member

The real issue here is: Why didn’t you use ownCloud for the paste? Here’s the mirror:

{"app":"index","message":"Failed to upgrade \"news\".","level":4,"time":"2013-08-12T13:16:50+00:00"}
{"app":"news","message":"starting app upgrade from 1.202 to 1.203","level":0,"time":"2013-08-12T13:16:50+00:00"}
{"app":"core","message":"Failed to update database structure (exception 'Doctrine\\DBAL\\DBALException' with message 'Unknown database type bigint unsigned requested, Doctrine\\DBAL\\Platforms\\SqlitePlatform may not support it.' in \/var\/www\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Platforms\/AbstractPlatform.php:321\nStack trace:\n#0 \/var\/www\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/SqliteSchemaManager.php(253): Doctrine\\DBAL\\Platforms\\AbstractPlatform->getDoctrineTypeMapping('bigint unsigned')\n#1 \/var\/www\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/AbstractSchemaManager.php(672): Doctrine\\DBAL\\Schema\\SqliteSchemaManager->_getPortableTableColumnDefinition(Array)\n#2 \/var\/www\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/SqliteSchemaManager.php(217): Doctrine\\DBAL\\Schema\\AbstractSchemaManager->_getPortableTableColumnList('calendar_share_...', '\/var\/www\/ownclo...', Array)\n#3 \/var\/www\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/AbstractSchemaManager.php(159): Doctrine\\DBAL\\Schema\\SqliteSchemaManager->_getPortableTableColumnList('calendar_share_...', '\/var\/www\/ownclo...', Array)\n#4 \/var\/www\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/AbstractSchemaManager.php(254): Doctrine\\DBAL\\Schema\\AbstractSchemaManager->listTableColumns('calendar_share_...')\n#5 \/var\/www\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/AbstractSchemaManager.php(242): Doctrine\\DBAL\\Schema\\AbstractSchemaManager->listTableDetails('calendar_share_...')\n#6 \/var\/www\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Schema\/AbstractSchemaManager.php(831): Doctrine\\DBAL\\Schema\\AbstractSchemaManager->listTables()\n#7 \/var\/www\/owncloud\/lib\/db\/mdb2schemamanager.php(58): Doctrine\\DBAL\\Schema\\AbstractSchemaManager->createSchema()\n#8 \/var\/www\/owncloud\/lib\/db.php(379): OC\\DB\\MDB2SchemaManager->updateDbFromStructure('\/var\/www\/ownclo...')\n#9 \/var\/www\/owncloud\/lib\/app.php(928): OC_DB::updateDbFromStructure('\/var\/www\/ownclo...')\n#10 \/var\/www\/owncloud\/lib\/app.php(830): OC_App::updateApp('news')\n#11 \/var\/www\/owncloud\/lib\/app.php(94): OC_App::checkUpgrade('news')\n#12 \/var\/www\/owncloud\/lib\/app.php(68): OC_App::loadApp('news')\n#13 \/var\/www\/owncloud\/lib\/base.php(599): OC_App::loadApps()\n#14 \/var\/www\/owncloud\/index.php(30): OC::handleRequest()\n#15 {main})","level":4,"time":"2013-08-12T13:16:50+00:00"}
{"app":"index","message":"Failed to upgrade \"news\".","level":4,"time":"2013-08-12T13:16:50+00:00"}

@bartv2 please check this out.

@bartv2
Copy link
Contributor

bartv2 commented Aug 18, 2013

@zimba12 can you check if it is fixed with owncloud-archive/3rdparty#48

@DeepDiver1975
Copy link
Member

@bartv2 can we add a unit test to core to ensure future updates of doctrine don't re-introduce this issue? THX

@karlitschek
Copy link
Contributor

should be fixed

@lock lock bot locked as resolved and limited conversation to collaborators Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants