Merge branch 'master' into refactor_dlt_connector_modern_stack

This commit is contained in:
einhornimmond 2025-07-18 08:19:33 +02:00 committed by GitHub
commit bdc26c524b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,6 +165,9 @@ trap onError ERR
# stop all services
log_step "Stop and delete all Gradido services"
# make sure nvm is loaded
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# check if pm2 has processes, maybe it was already cleared from a failed update
# pm2 delete all if pm2 has no processes will trigger error and stop script
# so let's check first