tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-12-13 05:37:07 +03:00
parent 3570c15632
commit 2ffd4b91a9

View File

@ -118,6 +118,10 @@ done
sed -z -i \ sed -z -i \
-e \"s/\\(trusted_domains[^)]*\\)/\\1${ADDRS}/\" \ -e \"s/\\(trusted_domains[^)]*\\)/\\1${ADDRS}/\" \
/var/www/nextcloud/config/config.php" /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... # remove /index.php from urls...
# for more info see: # for more info see:
@ -128,14 +132,16 @@ done
/var/www/nextcloud/config/config.php" /var/www/nextcloud/config/config.php"
@ lxc-attach $ID -- turnkey-occ maintenance:update:htaccess @ lxc-attach $ID -- turnkey-occ maintenance:update:htaccess
echo "# Copying assets..." echo "# Copying assets..."
pctPushAssets $ID pctPushAssets $ID
# XXX need to push proxy config to gate... # XXX need to push proxy config to gate...
if ! [ -z $NEXTCLOUD_UPGRADE ] ; then #if ! [ -z $NEXTCLOUD_UPGRADE ] ; then
echo "# Upgrade nextcloud..." # echo "# Upgrade nextcloud..."
@ lxc-attach $ID -- turnkey-occ upgrade # # XXX ERR need to install update before...
fi # @ lxc-attach $ID -- turnkey-occ upgrade
#fi
# Colabora... # Colabora...
if ! [ -z $COLLABORA_OFFICE ] ; then if ! [ -z $COLLABORA_OFFICE ] ; then