From 3fda91ca2fde5e85353d4fb0b37860e861949fbe Mon Sep 17 00:00:00 2001 From: Matthias Stecher Date: Sun, 15 Nov 2020 17:40:02 +0100 Subject: [PATCH] __nextcloud: add comments about the maintenance mode ... because it not always work like you want it. --- type/__nextcloud/gencode-remote | 3 +++ type/__nextcloud/man.rst | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/type/__nextcloud/gencode-remote b/type/__nextcloud/gencode-remote index 111347c..00611a3 100755 --- a/type/__nextcloud/gencode-remote +++ b/type/__nextcloud/gencode-remote @@ -101,6 +101,9 @@ REMOTE # Apply some misc to the installation folder. elif [ "$install" ]; then + # Maintainer mode is not available before installation + + # Correct all file permissions of the new installation cat << REMOTE chown '$user':'$group' -R '$installdir' REMOTE diff --git a/type/__nextcloud/man.rst b/type/__nextcloud/man.rst index a89a550..39de9e8 100644 --- a/type/__nextcloud/man.rst +++ b/type/__nextcloud/man.rst @@ -262,6 +262,16 @@ download it into the temp directory because it does not find a better location. In legacy, it was downloaded to the parent directory, but this may not the best location as the installation dir can be everywhere. +This type does not garantee to always show the maintenance mode screen because +nextcloud does not show it in every case: + +1. For fresh installations, the maintenance mode can not be set. +2. While upgrades starting at version 20, the user is promted to execute the + update manually via the webinterface instead of the maintenance screen. + +It is recommended to show an own maintanance screen via the webserver if this +is critical for you. + SEE ALSO --------