diff --git a/rootfs/etc/cont-init.d/00-nextcloud b/rootfs/etc/cont-init.d/00-nextcloud index a86ede4..540c2c6 100644 --- a/rootfs/etc/cont-init.d/00-nextcloud +++ b/rootfs/etc/cont-init.d/00-nextcloud @@ -101,3 +101,5 @@ s6-setuidgid nginx ./occ config:app:set --value "0" user_ldap ldap_turn_on_pwd_c s6-setuidgid nginx ./occ config:app:set --value "" user_ldap ldap_dynamic_group_member_url 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