From ef54e897609d954d5579e4ba2d0bcbc8232cdce3 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 30 Jan 2018 12:39:29 +0100 Subject: [PATCH] set app paths correctly --- rootfs/etc/cont-init.d/00-nextcloud | 2 ++ 1 file changed, 2 insertions(+) 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