Bug #2342

/owncloud path not found

Added by Davide Principi over 7 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:11/12/2013
Priority:NormalDue date:11/12/2013
Assignee:-% Done:

100%

Category:nethserver-owncloud
Target version:v6.5-beta3
Security class: Resolution:
Affected version:v6.4-beta2 NEEDINFO:No

Description

Setting an ibay as default DocumentRoot makes /owncloud URL path unreachable.

The /owncloud path is not found if the DocumentRoot is different from the default /var/www/html.

Package version:
nethserver-owncloud-1.0.0-1.ns6.noarch


Related issues

Related to NethServer 6 - Feature #2037: ownCloud CLOSED

Associated revisions

Revision 74f712cd
Added by Davide Principi over 7 years ago

createlinks refactored. Refs #2342

Revision 45b36099
Added by Davide Principi over 7 years ago

Expand /etc/httpd/conf.d/owncloud.conf template on *update event. Refs #2342

History

#1 Updated by Davide Principi over 7 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20
  • Estimated time set to 1.00

We must add an Alias directive to /etc/httpd/conf.d/neth-owncloud.conf

Alias /owncloud /var/www/html/owncloud
<Directory /var/www/html/owncloud>
  AllowOverride All
  php_flag magic_quotes_gpc off
</Directory>

We can also merge /etc/httpd/conf.d/neth-owncloud.conf into /etc/httpd/conf.d/owncloud.conf, by transforming it into a template.

#2 Updated by Davide Principi over 7 years ago

  • Due date set to 11/12/2013
  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • Start date set to 11/12/2013
  • % Done changed from 20 to 30

#3 Updated by Davide Principi over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Test case

  • Install nethserver-ibays, nethserver-owncloud (version 1.0.0)
  • Create an ibay www and set it as Web site root
  • The URL path /owncloud is forbidden
After upgrading to modified version
  • The URL path /owncloud opens ownCloud web application

#4 Updated by Davide Principi over 7 years ago

  • Description updated (diff)
  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-owncloud-1.0.0-2.0git45b36099.ns6.noarch.rpm

#5 Updated by Giacomo Sanchietti over 7 years ago

  • Assignee set to Giacomo Sanchietti

#6 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Ibay configured as default root site:

[root@test Module]# db accounts show t1
t1=ibay
    AclRead=
    AclWrite=
    Description=
    GroupAccess=r
    HttpAccess=private
    HttpAliasType=root
    HttpPasswordStatus=disabled
    HttpStatus=enabled
    HttpVirtualHost=__ANY__
    OtherAccess=
    OwningGroup=shared
    SmbGuestAccessType=none
    SmbRecycleBinStatus=disabled
    SmbStatus=enabled

Before upgrade /owncloud is forbidden. After upgrade the path is reachable.

Marking as VERIFIED.

Note

When installing owncloud official package:

Non-fatal POSTIN scriptlet failure in rpm package owncloud-5.0.12-12.1.noarch
warning: %post(owncloud-5.0.12-12.1.noarch) scriptlet failed, exit status 1

The error is caused by a SELinux related code, it can be safely ignored since SELinux is in permissive mode.

#7 Updated by Davide Principi over 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-updates:
nethserver-owncloud-1.0.1-1.ns6.noarch.rpm

Also available in: Atom PDF