diff --git a/scripts/03_generate_secrets.sh b/scripts/03_generate_secrets.sh index 36ee72b..c91f6bd 100755 --- a/scripts/03_generate_secrets.sh +++ b/scripts/03_generate_secrets.sh @@ -238,7 +238,6 @@ else read -p "Run $N8N_WORKER_COUNT_VALIDATED n8n worker(s)? (y/N): " confirm_workers if [[ "$confirm_workers" =~ ^[Yy]$ ]]; then N8N_WORKER_COUNT="$N8N_WORKER_COUNT_VALIDATED" - log_info "N8N_WORKER_COUNT set to $N8N_WORKER_COUNT." break else log_info "Please try entering the number of workers again." diff --git a/scripts/06_final_report.sh b/scripts/06_final_report.sh index 70337ff..1daae0b 100755 --- a/scripts/06_final_report.sh +++ b/scripts/06_final_report.sh @@ -43,8 +43,6 @@ is_profile_active() { # Display credentials, checking if variables exist echo -echo "=======================================================================" -echo log_info "Service Access Credentials. Save this information securely!" # Display credentials, checking if variables exist diff --git a/scripts/apply_update.sh b/scripts/apply_update.sh index d2b3ff3..916d61b 100755 --- a/scripts/apply_update.sh +++ b/scripts/apply_update.sh @@ -69,7 +69,6 @@ if [ -f "$ENV_FILE" ]; then N8N_WORKFLOWS_IMPORTED_EVER=$(grep "^N8N_WORKFLOWS_IMPORTED_EVER=" "$ENV_FILE" | cut -d'=' -f2 | tr -d '"' || echo "false") if [[ "$N8N_WORKFLOWS_IMPORTED_EVER" == "true" ]]; then - log_info "n8n workflows have been imported previously. Skipping import prompt." # Use a temporary file for sed portability sed 's/^RUN_N8N_IMPORT=.*/RUN_N8N_IMPORT=false/' "$ENV_FILE" > "${ENV_FILE}.tmp" && mv "${ENV_FILE}.tmp" "$ENV_FILE" || { log_error "Failed to set RUN_N8N_IMPORT=false in $ENV_FILE. Check permissions." @@ -116,7 +115,6 @@ if [ -f "$ENV_FILE" ]; then # Validate input: must be a positive integer if [[ "$new_worker_count_raw" =~ ^[1-9][0-9]*$ ]]; then NEW_WORKER_COUNT="$new_worker_count_raw" - log_info "Updating n8n worker count to $NEW_WORKER_COUNT in $ENV_FILE..." # Use a temporary file for sed portability (-i needs backup suffix on macOS without -e) sed "s/^N8N_WORKER_COUNT=.*/N8N_WORKER_COUNT=\"$NEW_WORKER_COUNT\"/" "$ENV_FILE" > "${ENV_FILE}.tmp" && mv "${ENV_FILE}.tmp" "$ENV_FILE" || { log_error "Failed to update N8N_WORKER_COUNT in $ENV_FILE. Check permissions." @@ -150,7 +148,6 @@ bash "$RUN_SERVICES_SCRIPT" || { log_error "Failed to start services. Check logs log_success "Update application completed successfully!" # --- Display Final Report with Credentials --- -log_info "Displaying service credentials and report..." bash "$SCRIPT_DIR/06_final_report.sh" || { log_warning "Failed to display the final report. This does not affect the update." # We don't exit 1 here as the update itself was successful.