[Pkg-owncloud-maintainers] Bug#774591: owncloud: Please tighten dependencies

Benjamin Drung bdrung at debian.org
Sun Jan 4 20:45:53 UTC 2015


Package: owncloud
Version: 7.0.4+dfsg-2
Severity: normal

Dear Maintainer,

I backported owncloud locally to Ubuntu 14.04 and discovered some issues due to
dependencies that were not tight enough.

With php-sabre-dav 1.7.6+dfsg-2 I got this error message:

PHP Fatal error:  Class 'Sabre\\DAV\\URLUtil' not found in /usr/share/owncloud/lib/private/request.php on line 223

Updating php-sabre-dav to 1.8.10-1 solved this issue. So please update the
depedency to php-sabre-dav (>= 1.8).

On an upgrade I saw this error message:

{"app":"core","message":"Simulated database structure update failed (exception 'OC\\DB\\MigrationException' with message 'Unknown database type bigint unsigned requested, Doctrine\\DBAL\\Platforms\\SqlitePlatform may not support it.' in \/usr\/share\/owncloud\/lib\/private\/db\/sqlitemigrator.php:53\nStack trace:\n#0 \/usr\/share\/owncloud\/lib\/private\/db\/mdb2schemamanager.php(111): OC\\DB\\SQLiteMigrator->checkMigrate(Object(Doctrine\\DBAL\\Schema\\Schema))\n#1 \/usr\/share\/owncloud\/lib\/private\/db.php(337): OC\\DB\\MDB2SchemaManager->simulateUpdateDbFromStructure('\/usr\/share\/ownc...')\n#2 \/usr\/share\/owncloud\/lib\/private\/updater.php(225): OC_DB::simulateUpdateDbFromStructure('\/usr\/share\/ownc...')\n#3 \/usr\/share\/owncloud\/lib\/private\/updater.php(187): OC\\Updater->checkCoreUpgrade()\n#4 \/usr\/share\/owncloud\/lib\/private\/updater.php(139): OC\\Updater->doUpgrade('7.0.2.1', '6.0.0.16')\n#5 \/usr\/share\/owncloud\/core\/ajax\/update.php(41): OC\\Updater->upgrade()\n#6 {main})","level":4,"time":"2014-09-07T21:42:05+00:00"}

Upgrading php-doctrine-dbal from 2.3.4-1 to 2.4.2-3 and php-doctrine-common
from 2.3.0-1 to 2.4.2-2 solved the issue. So please tighten the dependency
to php-doctrine-dbal (>= 2.4).

Thanks.

-- 
Benjamin Drung
Debian & Ubuntu Developer



More information about the Pkg-owncloud-maintainers mailing list