[Freedombox-discuss] owncloud - php DB driver - broken upgrade

Sunil Mohan Adapa sunil at medhas.org
Sun Mar 13 06:27:38 UTC 2016


On 03/11/2016 03:28 AM, Dieter wrote:
> Hello all!
> 
> Yesterday i tried to upgrade my freedombox's owncloud installation to
> 7.0.13~~rc2~dfsg-1.
> 
> Something went wrong though. :(
> occ updgrade tells me the following:
> An unhandled exception has been thrown:
> PDOException: could not find driver in
> /usr/share/php/Doctrine/DBAL/Driver/PDOConnection.php:40
> Stack trace:
> #0 /usr/share/php/Doctrine/DBAL/Driver/PDOConnection.php(40):
> PDO->__construct('pgsql:host=loca...', 'owncloud', 'somepassword', Array)
> #1 /usr/share/php/Doctrine/DBAL/Driver/PDOPgSql/Driver.php(37):
> Doctrine\DBAL\Driver\PDOConnection->__construct('pgsql:host=loca...',
> 'owncloud', 'somepassword', Array)
> 
> The driver shoud be installed though (package php5-pgsql, right?)
> 
> 
> Of course, i can not reach owncloud via the webinterface.
> Apache logs this error:
> [Thu Mar 10 22:26:05.419048 2016] [:error] [pid 32754] [client
> xx.yy.zz.xx:port] PHP Fatal error:  require_once(): Failed opening
> required 'Symfony/Component/ClassLoader/ClassLoader.php'
> (include_path='/usr/share/owncloud/lib/private:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.::/usr/share/pear:/usr/share/owncloud')
> in /usr/share/owncloud/3rdparty/autoload.php on line 7
> 
> 
> I've already tried restarting the postgresql-db, the driver is
> presumably trying to connect to, but to no avail.
> 
> What can i do to debug this?
> 
> 
> Thank you very much for your help!

Anyone facing this problem, please do upgrades (probably already
installed at night) and restart FreedomBox (or just Apache2) to fix the
issue.

Thanks to Dieter for following this up with ownCloud Debian package
maintainers and tracing the issue to broken path in php5 package.

Relevant bugs:

1) https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817937
2) https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817769

-- 
Sunil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20160313/77ce289f/attachment.sig>


More information about the Freedombox-discuss mailing list