diff options
author | Tilo Spannagel <development@tilosp.de> | 2017-04-19 09:17:59 +0200 |
---|---|---|
committer | Tilo Spannagel <development@tilosp.de> | 2017-04-19 09:17:59 +0200 |
commit | 201d934bb613d202ed3a6e50e90ecf11c0cd5afc (patch) | |
tree | 3f4baf9f5c2477e5fda98960270b5d72a314e0be | |
parent | 07a10828d6cb822fec03559a0112d23151068097 (diff) |
more specific downgrade message
-rwxr-xr-x | 10.0/apache/docker-entrypoint.sh | 2 | ||||
-rwxr-xr-x | 10.0/fpm/docker-entrypoint.sh | 2 | ||||
-rwxr-xr-x | 11.0/apache/docker-entrypoint.sh | 2 | ||||
-rwxr-xr-x | 11.0/fpm/docker-entrypoint.sh | 2 | ||||
-rwxr-xr-x | 9.0/apache/docker-entrypoint.sh | 2 | ||||
-rwxr-xr-x | 9.0/fpm/docker-entrypoint.sh | 2 | ||||
-rwxr-xr-x | docker-entrypoint.sh | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/10.0/apache/docker-entrypoint.sh b/10.0/apache/docker-entrypoint.sh index 1d40304f..7c171148 100755 --- a/10.0/apache/docker-entrypoint.sh +++ b/10.0/apache/docker-entrypoint.sh @@ -13,7 +13,7 @@ fi image_version=$(php -r 'require "/usr/src/nextcloud/version.php"; echo "$OC_VersionString";') if version_greater "$installed_version" "$image_version"; then - echo "Downgrade not supported" + echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?" exit 1 fi diff --git a/10.0/fpm/docker-entrypoint.sh b/10.0/fpm/docker-entrypoint.sh index 1d40304f..7c171148 100755 --- a/10.0/fpm/docker-entrypoint.sh +++ b/10.0/fpm/docker-entrypoint.sh @@ -13,7 +13,7 @@ fi image_version=$(php -r 'require "/usr/src/nextcloud/version.php"; echo "$OC_VersionString";') if version_greater "$installed_version" "$image_version"; then - echo "Downgrade not supported" + echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?" exit 1 fi diff --git a/11.0/apache/docker-entrypoint.sh b/11.0/apache/docker-entrypoint.sh index 1d40304f..7c171148 100755 --- a/11.0/apache/docker-entrypoint.sh +++ b/11.0/apache/docker-entrypoint.sh @@ -13,7 +13,7 @@ fi image_version=$(php -r 'require "/usr/src/nextcloud/version.php"; echo "$OC_VersionString";') if version_greater "$installed_version" "$image_version"; then - echo "Downgrade not supported" + echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?" exit 1 fi diff --git a/11.0/fpm/docker-entrypoint.sh b/11.0/fpm/docker-entrypoint.sh index 1d40304f..7c171148 100755 --- a/11.0/fpm/docker-entrypoint.sh +++ b/11.0/fpm/docker-entrypoint.sh @@ -13,7 +13,7 @@ fi image_version=$(php -r 'require "/usr/src/nextcloud/version.php"; echo "$OC_VersionString";') if version_greater "$installed_version" "$image_version"; then - echo "Downgrade not supported" + echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?" exit 1 fi diff --git a/9.0/apache/docker-entrypoint.sh b/9.0/apache/docker-entrypoint.sh index 1d40304f..7c171148 100755 --- a/9.0/apache/docker-entrypoint.sh +++ b/9.0/apache/docker-entrypoint.sh @@ -13,7 +13,7 @@ fi image_version=$(php -r 'require "/usr/src/nextcloud/version.php"; echo "$OC_VersionString";') if version_greater "$installed_version" "$image_version"; then - echo "Downgrade not supported" + echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?" exit 1 fi diff --git a/9.0/fpm/docker-entrypoint.sh b/9.0/fpm/docker-entrypoint.sh index 1d40304f..7c171148 100755 --- a/9.0/fpm/docker-entrypoint.sh +++ b/9.0/fpm/docker-entrypoint.sh @@ -13,7 +13,7 @@ fi image_version=$(php -r 'require "/usr/src/nextcloud/version.php"; echo "$OC_VersionString";') if version_greater "$installed_version" "$image_version"; then - echo "Downgrade not supported" + echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?" exit 1 fi diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 1d40304f..7c171148 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -13,7 +13,7 @@ fi image_version=$(php -r 'require "/usr/src/nextcloud/version.php"; echo "$OC_VersionString";') if version_greater "$installed_version" "$image_version"; then - echo "Downgrade not supported" + echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?" exit 1 fi |