Bug 1045301

Summary: Fresh Owncloud install in FC20 Symfony symbolic link broken
Product: [Fedora] Fedora Reporter: Mark Sieklucki <mark.sieklucki>
Component: owncloudAssignee: Gregor Tätzner <gregor>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: awilliam, gregor
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: owncloud-5.0.14a-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-31 01:56:45 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:

Description Mark Sieklucki 2013-12-20 06:02:06 UTC
Description of problem: Fresh install of fedora core 20 with a new install of owncloud fails upon install due to not being able to find Symfony RequestContext (Error message in httpd log: "PHP Fatal error: Class Symfony Component Routing RequestContext not found in /usr/share/owncloud/lib/router.php on line 33"). 

This is visible when running through owncloud installation, after entering the admin user information, filling out the data directory and mysql settings, and clicking next, a blank page loads. Looking at httpd error_log shows message quoted above.

Root cause appears to be due to a broken symbolic link in the install: /usr/share/owncloud/3rdparty/symfony/routing/Symfony

It looks like it should point to /usr/share/php/Symfony instead.


Version-Release number of selected component (if applicable):owncloud.noarch 5.0.13-1.fc20


How reproducible:


Steps to Reproduce:
1. Fresh Fedora Core 20 install
2. Install owncloud
3. Run setup

Actual results: after first install page (filling out admin user information), a blank page shows up


Expected results: successful installation, logged in to owncloud web page


Additional info:

Comment 1 Adam Williamson 2013-12-21 00:34:27 UTC
Huh, this may have been broken for a while. Looks like php-symfony-routing package changed its location. Fixing in 5.0.14a build, thanks for the report.

Comment 2 Adam Williamson 2013-12-21 00:37:34 UTC
Hmm, I don't think php-symfony ever did change location, AFAICS this must have been broken in OC since its introduction in July.

Comment 3 Adam Williamson 2013-12-21 01:16:01 UTC
ah, OK. For the record: it was in /usr/share/pear when it was a package called php-symfony2 with a bunch of subpackages, which it still is in F18. In F19+ and in EL6, a newer version has been pushed under the name php-symfony with different subpackage splits and the new location.

As F18 is still on OC 4.5, we can just push the new location out to all OC 5.x builds, which I'm doing now.

Comment 4 Fedora Update System 2013-12-21 01:29:22 UTC
owncloud-5.0.14a-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/owncloud-5.0.14a-2.fc20

Comment 5 Fedora Update System 2013-12-22 05:31:31 UTC
Package owncloud-5.0.14a-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing owncloud-5.0.14a-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23761/owncloud-5.0.14a-2.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-12-31 01:56:45 UTC
owncloud-5.0.14a-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.