Bug 1332901

Summary: owncloud-nginx ships a config that does not work
Product: [Fedora] Fedora EPEL Reporter: James Hogarth <james.hogarth>
Component: owncloudAssignee: James Hogarth <james.hogarth>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: bperkins, extras-qa, ignatenko, james.hogarth, shawn, sheldon.corey
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1332900 Environment:
Last Closed: 2016-07-03 11:00:09 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 James Hogarth 2016-05-04 10:35:20 UTC
+++ This bug was initially created as a clone of Bug #1332900 +++

Description of problem:
When installing owncloud with the owncloud-nginx webserver instead of httpd the configuration file that is shipped in the package takes no effect.


How reproducible:
Always

Steps to Reproduce:
1. dnf install owncloud owncloud-nginx owncloud-sqlite
2. systemctl start nginx php-fpm
3. xdg-open http://localhost ; xdg-open http://localhost/owncloud

Actual results:
The first shows the Fedora default page, the second has a 404 error

Expected results:
According to the config the first should have the owncloud interface, but the second would match the httpd behaviour of having it under the /owncloud namespace.

Additional info:
Since the include /etc/nginx/conf.d/*.conf  happens before the server {} definition in the default nginx.conf the server {} in the oC nginx conf shipped gets overwritten. Removing the default server {} definition then allows oC to run from the / namespace.

To match the httpd behaviour, so principle of least surprise between the two webserver options, it should be included from the default.d directory and so absorbed into the default server {} definition.

Comment 1 James Hogarth 2016-05-21 23:29:21 UTC
The upcoming 9.0.X release will fix this and is available for very early testing from my FPO space:

https://jhogarth.fedorapeople.org/owncloud/9.0.2/

Note that this has fairly significant nginx and php-fpm owncloud snippet changes so will need careful validation by any admins using owncloud-nginx

Comment 2 Fedora Update System 2016-06-03 16:51:09 UTC
php-mcnetic-zipstreamer-1.0-1.el7 php-sabre-dav-3.0.9-1.el7 php-sabre-http-4.2.1-1.el7 php-symfony-security-acl-2.8.0-1.el7 php-symfony-2.8.6-2.el7 owncloud-9.0.2-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-437bece53c

Comment 3 Fedora Update System 2016-06-05 07:51:23 UTC
owncloud-9.0.2-3.el7, php-mcnetic-zipstreamer-1.0-1.el7, php-sabre-dav-3.0.9-1.el7, php-sabre-http-4.2.1-1.el7, php-symfony-2.8.6-2.el7, php-symfony-security-acl-2.8.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-437bece53c

Comment 4 Fedora Update System 2016-06-07 10:09:31 UTC
owncloud-9.0.2-3.el7 php-mcnetic-zipstreamer-1.0-1.el7 php-sabre-dav-3.0.9-1.el7 php-sabre-http-4.2.1-1.el7 php-symfony-2.8.7-1.el7 php-symfony-security-acl-2.8.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-437bece53c

Comment 5 Fedora Update System 2016-06-08 05:48:17 UTC
owncloud-9.0.2-3.el7, php-mcnetic-zipstreamer-1.0-1.el7, php-sabre-dav-3.0.9-1.el7, php-sabre-http-4.2.1-1.el7, php-symfony-2.8.7-1.el7, php-symfony-security-acl-2.8.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-437bece53c

Comment 6 Fedora Update System 2016-06-15 22:19:08 UTC
owncloud-9.0.2-4.el7 php-mcnetic-zipstreamer-1.0-1.el7 php-sabre-dav-3.0.9-1.el7 php-sabre-http-4.2.1-1.el7 php-symfony-2.8.7-1.el7 php-symfony-security-acl-2.8.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-437bece53c

Comment 7 Fedora Update System 2016-06-17 18:49:07 UTC
owncloud-9.0.2-4.el7, php-mcnetic-zipstreamer-1.0-1.el7, php-sabre-dav-3.0.9-1.el7, php-sabre-http-4.2.1-1.el7, php-symfony-2.8.7-1.el7, php-symfony-security-acl-2.8.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-437bece53c

Comment 8 Fedora Update System 2016-07-02 23:50:13 UTC
owncloud-9.0.2-4.el7, php-mcnetic-zipstreamer-1.0-1.el7, php-sabre-dav-3.0.9-1.el7, php-sabre-http-4.2.1-1.el7, php-symfony-2.8.7-1.el7, php-symfony-security-acl-2.8.0-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.