diff --git a/plugins/checks/install b/plugins/checks/install index 7ee6f8b9a..801d8dd6f 100755 --- a/plugins/checks/install +++ b/plugins/checks/install @@ -16,7 +16,7 @@ migrate_checks_vars_0_5_0() { local GLOBAL_SKIP_ALL_CHECKS=$(config_get --global DOKKU_SKIP_ALL_CHECKS || true) local GLOBAL_SKIP_DEFAULT_CHECKS=$(config_get --global DOKKU_SKIP_DEFAULT_CHECKS || true) - for app in $(dokku_apps "false"); do + for app in $(dokku_apps "false" 2>/dev/null); do local APP_SKIP_ALL_CHECKS=$(config_get "$app" DOKKU_SKIP_ALL_CHECKS || true) local APP_SKIP_DEFAULT_CHECKS=$(config_get "$app" DOKKU_SKIP_DEFAULT_CHECKS || true) @@ -42,7 +42,7 @@ migrate_checks_vars_0_5_0() { migrate_checks_vars_0_6_0() { declare desc="migrates CHECKS config variables from 0.5.x to support fully-disabled zero-downtime checks" - for app in $(dokku_apps "false"); do + for app in $(dokku_apps "false" 2>/dev/null); do local APP_DOKKU_CHECKS_ENABLED=$(config_get "$app" DOKKU_CHECKS_ENABLED || true) if [[ $APP_DOKKU_CHECKS_ENABLED ]]; then dokku_log_info1 "Migrating zero downtime env variables to 0.6.x. The following variables will be migrated" diff --git a/plugins/domains/install b/plugins/domains/install index cbdc6c332..9a3155659 100755 --- a/plugins/domains/install +++ b/plugins/domains/install @@ -8,7 +8,7 @@ trigger-domains-install() { declare trigger="install" shopt -s nullglob - for app in $(dokku_apps "false"); do + for app in $(dokku_apps "false" 2>/dev/null); do domains_setup "$app" done } diff --git a/plugins/git/install b/plugins/git/install index 565301253..a0c651eff 100755 --- a/plugins/git/install +++ b/plugins/git/install @@ -26,7 +26,7 @@ migrate_git_vars_0_12_0() { DOKKU_QUIET_OUTPUT=1 config_unset --global DOKKU_DEPLOY_BRANCH || true fi - for app in $(dokku_apps "false"); do + for app in $(dokku_apps "false" 2>/dev/null); do DOKKU_DEPLOY_BRANCH=$(config_get "$app" DOKKU_DEPLOY_BRANCH || true) if [[ -n "$DOKKU_DEPLOY_BRANCH" ]]; then fn-plugin-property-write "git" "$app" "deploy-branch" "$DOKKU_DEPLOY_BRANCH" diff --git a/plugins/nginx-vhosts/install b/plugins/nginx-vhosts/install index f8813952c..8713fc128 100755 --- a/plugins/nginx-vhosts/install +++ b/plugins/nginx-vhosts/install @@ -8,7 +8,7 @@ source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/internal-functions" fn-nginx-vhosts-migrate-env-vars() { # @TODO: Remove this after a few versions - for app in $(dokku_apps "false"); do + for app in $(dokku_apps "false" 2>/dev/null); do nginx_port="$(config_get "$app" DOKKU_NGINX_PORT || true)" nginx_ssl_port="$(config_get "$app" DOKKU_NGINX_SSL_PORT || true)" if [[ -n "$nginx_port" ]] || [[ -n "$nginx_ssl_port" ]]; then @@ -36,7 +36,7 @@ fn-nginx-vhosts-migrate-nginx-conf-sigil() { fn-plugin-property-write "nginx" "--global" "nginx-conf-sigil-migrated" "true" - for APP in $(dokku_apps "false"); do + for APP in $(dokku_apps "false" 2>/dev/null); do local DISABLE_CUSTOM_CONFIG="$(fn-plugin-property-get-default "nginx" "$APP" "disable-custom-config" "false")" if [[ "$DISABLE_CUSTOM_CONFIG" == "true" ]]; then continue