Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/docker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Bihlmaier <30314040+rdxmb@users.noreply.github.com>2018-09-29 21:15:08 +0300
committerTilo Spannagel <development@tilosp.de>2018-09-29 21:15:08 +0300
commitefe4edb8eb34d104c5d685b1884246e78927b5a0 (patch)
tree3d68d2c032e05beaa3d74766d9eb1f322474fe5a /docker-entrypoint.sh
parent5ce928c23b131ddc8ff23cee8bbc1bca9b4c4935 (diff)
echo to stdout when migration-script is running (#333)
* echo to stdout when migration-script is running * specifying output * output Initializing new instance * simplify output
Diffstat (limited to 'docker-entrypoint.sh')
-rwxr-xr-xdocker-entrypoint.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
index f6c5d47..c31db1a 100755
--- a/docker-entrypoint.sh
+++ b/docker-entrypoint.sh
@@ -34,7 +34,9 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
fi
if version_greater "$image_version" "$installed_version"; then
+ echo "Initializing nextcloud $image_version ..."
if [ "$installed_version" != "0.0.0.0" ]; then
+ echo "Upgrading nextcloud from $installed_version ..."
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_before
fi
if [ "$(id -u)" = 0 ]; then
@@ -49,6 +51,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
rsync $rsync_options --include "/$dir/" --exclude '/*' /usr/src/nextcloud/ /var/www/html/
fi
done
+ echo "Initializing finished"
#install
if [ "$installed_version" = "0.0.0.0" ]; then