From 2ffd4b91a9b032c4a17a75a2fdbb87dcd58da55f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 13 Dec 2024 05:37:07 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- nextcloud/make.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/nextcloud/make.sh b/nextcloud/make.sh index c07f010..7d57a83 100755 --- a/nextcloud/make.sh +++ b/nextcloud/make.sh @@ -118,6 +118,10 @@ done sed -z -i \ -e \"s/\\(trusted_domains[^)]*\\)/\\1${ADDRS}/\" \ /var/www/nextcloud/config/config.php" +@ lxc-attach $ID -- bash -c "\ + sed -i \ + -e '/^\$CONFIG =/ a\ '\''opcache.interned_strings_buffer'\'' => 32,' \ + /var/www/nextcloud/config/config.php" # remove /index.php from urls... # for more info see: @@ -128,14 +132,16 @@ done /var/www/nextcloud/config/config.php" @ lxc-attach $ID -- turnkey-occ maintenance:update:htaccess + echo "# Copying assets..." pctPushAssets $ID # XXX need to push proxy config to gate... -if ! [ -z $NEXTCLOUD_UPGRADE ] ; then - echo "# Upgrade nextcloud..." - @ lxc-attach $ID -- turnkey-occ upgrade -fi +#if ! [ -z $NEXTCLOUD_UPGRADE ] ; then +# echo "# Upgrade nextcloud..." +# # XXX ERR need to install update before... +# @ lxc-attach $ID -- turnkey-occ upgrade +#fi # Colabora... if ! [ -z $COLLABORA_OFFICE ] ; then