From 5ddf989703b414293607c18543f4bc082f2ae240 Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 9 Mar 2023 16:19:43 +0100 Subject: [PATCH] add reasons why changing volume and container name is not supported Signed-off-by: Simon L --- Containers/mastercontainer/start.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Containers/mastercontainer/start.sh b/Containers/mastercontainer/start.sh index b52e81cb..2fafd26e 100644 --- a/Containers/mastercontainer/start.sh +++ b/Containers/mastercontainer/start.sh @@ -78,16 +78,16 @@ fi # Check if startup command was executed correctly if ! sudo -u www-data docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-mastercontainer$"; then - echo "It seems like you did not give the mastercontainer the correct name? -Using a different name is not supported!" + echo "It seems like you did not give the mastercontainer the correct name? (The 'nextcloud-aio-mastercontainer' container was not found.) +Using a different name is not supported since mastercontainer updates will not work in that case!" exit 1 elif ! sudo -u www-data docker volume ls --format "{{.Name}}" | grep -q "^nextcloud_aio_mastercontainer$"; then - echo "It seems like you did not give the mastercontainer volume the correct name? -Using a different name is not supported!" + echo "It seems like you did not give the mastercontainer volume the correct name? (The 'nextcloud_aio_mastercontainer' volume was not found.) +Using a different name is not supported since the built-in backup solution will not work in that case!" exit 1 elif ! sudo -u www-data docker inspect nextcloud-aio-mastercontainer | grep -q "nextcloud_aio_mastercontainer"; then - echo "It seems like you did not attach the nextcloud_aio_mastercontainer volume to the mastercontainer? -This is not supported!" + echo "It seems like you did not attach the 'nextcloud_aio_mastercontainer' volume to the mastercontainer? +This is not supported since the built-in backup solution will not work in that case!" exit 1 fi