diff --git a/rootfs/etc/cont-init.d/00-nextcloud b/rootfs/etc/cont-init.d/00-nextcloud index d96316e..601dc7c 100644 --- a/rootfs/etc/cont-init.d/00-nextcloud +++ b/rootfs/etc/cont-init.d/00-nextcloud @@ -12,7 +12,7 @@ PGPASSWORD=$DB_PASSWORD psql -h $DB_HOST -U $DB_USER -d $DB_NAME -c "SELECT EXIS if [ $? -ne 1 ]; then cd /var/lib/nextcloud - if [ ! -f /var/lib/nextcloud/config/config.php ]; then + if [ -f /var/lib/nextcloud/config/config.php ]; then sed -i -e "s/'installed' => true,/'installed' => false,/g" /var/lib/nextcloud/config/config.php fi s6-setuidgid nginx ./occ maintenance:install \