update
All checks were successful
Deploy to Production / deploy (push) Successful in 21s

This commit is contained in:
silverpro89
2026-01-28 11:21:21 +07:00
parent 57c45d27a3
commit 3791b7cae1
23 changed files with 1033 additions and 317 deletions

17
fix-bcrypt-complete.bat Normal file
View File

@@ -0,0 +1,17 @@
@echo off
REM Complete bcrypt fix for Windows
REM This will remove node_modules and reinstall everything
echo ================================================================
echo Complete Bcrypt Fix Script
echo Server: root@senaai.tech
echo ================================================================
echo.
ssh root@senaai.tech "cd /var/www/services/sena_db_api && echo 'Removing node_modules...' && rm -rf node_modules package-lock.json pnpm-lock.yaml yarn.lock && echo 'Installing with npm...' && npm install && echo 'Rebuilding bcrypt...' && npm rebuild bcrypt --build-from-source && echo 'Restarting PM2...' && pm2 restart all && pm2 list"
echo.
echo ================================================================
echo Done! Check the output above.
echo ================================================================
pause