Bug 963701

Summary: wrong dependency in owncloud-mysql
Product: [Fedora] Fedora Reporter: Martin Tegtmeier <martin.tegtmeier>
Component: owncloudAssignee: Gregor Tätzner <gregor>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, gregor
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-21 11:55:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Tegtmeier 2013-05-16 12:22:35 UTC
Meta-package owncloud-mysql  (owncloud-mysql-4.5.10-1.fc18.noarch)  depends on php-pear(MDB2_Driver_mysqli)  and installs package  php-pear-MDB2-Driver-mysqli-1.5.0-0.7.b4.fc18.noarch as a dependency. NOTE THE "i" in mysqli - it is the improved MySQL MDB2 driver.

This way owncloud can not connect to the MySQL database. Excerpt from apache error log:

[Thu May 16 12:44:32.910874 2013] [:error] [pid 3362] [client ::1:53993] PHP Warning:  include_once(): Failed opening 'MDB2/Driver/mysql.php' for inclusion (include_path='/usr/share/owncloud/lib:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/var/lib/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/pear:/usr/share/php:/usr/share/owncloud') in /usr/share/pear/MDB2.php on line 330, referer: http://localhost/owncloud/

It tries to load the non-improved version of the MySQL MDB2 driver which was not installed as a dependency.

Either change the meta-package to depend on php-pear-MDB2-Driver-mysql instead of php-pear-MDB2-Driver-mysqli    or change the configuration to use the improved MySQL MDB2 driver.


Thanks and best regards,
    -Martin

Comment 1 Gregor Tätzner 2013-05-16 15:43:07 UTC
you're right. owncloud is actually configured to use mysql not mysqli. I'll switch the dependency.

Comment 2 Fedora Update System 2013-05-16 16:38:17 UTC
owncloud-4.5.11-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/owncloud-4.5.11-2.fc18

Comment 3 Fedora Update System 2013-05-16 16:38:33 UTC
owncloud-4.5.11-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/owncloud-4.5.11-2.fc19

Comment 4 Fedora Update System 2013-05-16 16:38:45 UTC
owncloud-4.5.11-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/owncloud-4.5.11-2.el6

Comment 5 Fedora Update System 2013-05-29 00:56:02 UTC
owncloud-4.5.11-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-05-29 03:05:42 UTC
owncloud-4.5.11-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-06-01 19:27:12 UTC
owncloud-4.5.11-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Adam Williamson 2013-12-21 00:27:37 UTC
Does this still need to be open?

Comment 9 Fedora End Of Life 2013-12-21 15:47:01 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.