diff --git a/rootfs/etc/cont-init.d/00-nextcloud b/rootfs/etc/cont-init.d/00-nextcloud index 540c2c6..bbdde70 100644 --- a/rootfs/etc/cont-init.d/00-nextcloud +++ b/rootfs/etc/cont-init.d/00-nextcloud @@ -102,4 +102,4 @@ s6-setuidgid nginx ./occ config:app:set --value "" user_ldap ldap_dynamic_group_ s6-setuidgid nginx ./occ config:app:set --value "" user_ldap ldap_default_ppolicy_dn s6-setuidgid nginx ./occ config:app:set --value "1" user_ldap ldap_configuration_active -sed -i -e "s/'maintenance' => false,/'maintenance' => false,'apps_paths' => array (0 => array ('path' => '/usr/share/webapps/nextcloud/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ('path' => '/var/lib/nextcloud/apps', 'url' => '/apps-appstore', 'writable' => true,),),/g" /etc/nextcloud/config.php +sed -i -e "s|'maintenance' => false,|'maintenance' => false,'apps_paths' => array (0 => array ('path' => '/usr/share/webapps/nextcloud/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ('path' => '/var/lib/nextcloud/apps', 'url' => '/apps-appstore', 'writable' => true,),),|g" /etc/nextcloud/config.php