2015-04-13

Lookie what I found

So it turns out that OwnCloud community RPMs clobber local .htaccess changes when upgrading:

[root@voyager owncloud]# cp .htaccess .htaccess.8.0.2
[root@voyager owncloud]# yum check-update
[...]
owncloud-3rdparty.noarch 8.0.2-16.1 isv_ownCloud_community
owncloud-app-activity.noarch 8.0.2-16.1 isv_ownCloud_community
owncloud-app-external.noarch 8.0.2-16.1 isv_ownCloud_community
[...]
[root@voyager owncloud]# yum -y update
[...]
Updating : owncloud-app-gallery-8.0.2-16.1.noarch 34/92
Updating : owncloud-server-8.0.2-16.1.noarch 35/92
[...]
[root@voyager owncloud]# diff .htaccess*
11,12c11,14
< php_value upload_max_filesize 513M
< php_value post_max_size 513M
---
> php_value upload_max_filesize 16G
> php_value post_max_size 16G
> php_value max_input_time 3600
> php_value max_execution_time 3600
49a52,54
>
> ErrorDocument 403 /owncloud/core/templates/403.php
> ErrorDocument 404 /owncloud/core/templates/404.php