Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2016-04-05 10:27:03 +0300
committerAndras Timar <andras.timar@collabora.com>2016-04-05 10:27:03 +0300
commit5228441911b9d90f7dfa5cd2edfaad86b0c9c482 (patch)
treea0ce1353d516856ae4f62617fdf3c233f2225d62 /owncloud-collabora-online.spec.in
parent7258eeea2f45f10c7a13e357e9f4516fb5529dc2 (diff)
run occ upgrade
Diffstat (limited to 'owncloud-collabora-online.spec.in')
-rw-r--r--owncloud-collabora-online.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/owncloud-collabora-online.spec.in b/owncloud-collabora-online.spec.in
index 9a37167b..f83d5106 100644
--- a/owncloud-collabora-online.spec.in
+++ b/owncloud-collabora-online.spec.in
@@ -48,8 +48,11 @@ tar cf - . | (cd %{buildroot}/srv/www/htdocs/owncloud/apps/richdocuments && tar
%post
chown -R wwwrun:www /srv/www/htdocs/owncloud/apps
+su -s /bin/bash -c "php /srv/www/htdocs/owncloud/occ maintenance:mode --on" wwwrun
+su -s /bin/bash -c "php /srv/www/htdocs/owncloud/occ upgrade" wwwrun
su -s /bin/bash -c "php /srv/www/htdocs/owncloud/occ config:system:set --value='\OC\Memcache\APCu' memcache.local" wwwrun
su -s /bin/bash -c "php /srv/www/htdocs/owncloud/occ app:enable richdocuments" wwwrun
+su -s /bin/bash -c "php /srv/www/htdocs/owncloud/occ maintenance:mode --off" wwwrun
systemctl restart apache2.service
%changelog