Files
clinera-site/telegram-bot/bot.log
T

135 lines
11 KiB
Plaintext

🚀 Bot starting...
✅ Bot is live (concurrent mode)
📤 [775071081] 301 chars in 5.8s
📤 [775071081] 480 chars in 5.7s
📤 [775071081] 116 chars in 3.0s
🔧 [775071081] uname -a
📤 [775071081] 212 chars in 7.6s
🔧 [775071081] systemctl list-units --type=service --state=running | head -20
🔧 [775071081] ps aux | head -20
🔧 [775071081] ps aux | grep -v "^\[" | grep -E "(nginx|apache|haproxy|mysql|redis|postgres|docker|incus)" | head -10
🔧 [775071081] free -h && echo && df -h | head -5
📤 [775071081] 420 chars in 24.9s
🔧 [775071081] incus list
📤 [775071081] 379 chars in 9.7s
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && ls -la
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && docker ps | grep enthuse
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && tail -20 logs/*.log | head -20
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && ls logs/ | tail -5
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && tail -10 logs/sync_20260227_185400.log
🚀 Bot starting...
✅ Bot is live (concurrent mode)
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && docker-compose ps
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && ls -la
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && docker ps | grep enthuse
🔧 [775071081] systemctl status docker
🔧 [775071081] ps aux | grep -E "(enthuse|launchgood)" | head -10
🔧 [775071081] cd /opt/launchgood-sync && ls -la
🔧 [775071081] crontab -l | grep -E "(enthuse|launchgood)"
🔧 [775071081] cd /opt/enthuse-db-sync-v2/logs && ls -la | tail -5
🔧 [775071081] cd /opt/launchgood-sync/logs && ls -la | tail -5
🔧 [775071081] tail -n 20 /opt/enthuse-db-sync-v2/logs/sync_20260227_185400.log
📤 [775071081] 83 chars in 132.2s
🚀 Bot starting...
✅ Bot is live (concurrent mode)
🔧 [775071081] systemctl status enthuse-db-sync-v2 | head -10
🔧 [775071081] ps aux | grep -E "(enthuse|launchgood)" | grep -v grep
🔧 [775071081] ls -la /opt/ | grep -E "(enthuse|launch)"
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && ls -la | head -5
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && find . -name "*.log" | head -3
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && ls -lt logs/ | head -5
🔧 [775071081] cd /opt/enthuse-db-sync-v2 && tail -10 logs/sync_20260227_185400.log
🔧 [775071081] cd /opt/launchgood-sync && ls -lt logs/ | head -5
🔧 [775071081] cd /opt/launchgood-sync && tail -5 logs/donations_20260227_185411.log
🔧 [775071081] crontab -l | grep -E "(enthuse|launch)"
🚀 Bot starting...
✅ Bot is live (concurrent mode)
🚀 Bot starting...
✅ Bot is live (concurrent mode)
🔧 [775071081] incus exec cr-server-new -- ps aux | grep -E "(enthuse|launchgood|charityright)" | grep -v grep
🔧 [775071081] incus exec cr-server-new -- ls -la /opt/ | grep sync
🔧 [775071081] incus exec cr-server-new -- crontab -l | grep sync
🔧 [775071081] incus exec cr-server-new -- tail -5 /opt/enthuse-db-sync-v2/logs/cron.log
🔧 [775071081] incus exec cr-server-new -- tail -5 /opt/launchgood-sync/logs/cron.log
🔧 [775071081] incus exec cr-server-new -- tail -5 /opt/charityright-sync/logs/cron.log
📤 [775071081] 361 chars in 34.9s
🔧 [775071081] incus exec cr-server-new -- tail -20 /opt/charityright-sync/logs/cron.log
🔧 [775071081] incus exec cr-server-new -- ls -la /opt/charityright-sync/logs/ | head -10
🔧 [775071081] incus exec cr-server-new -- tail -50 /opt/charityright-sync/logs/sync_$(ls /opt/charityright-sync/logs/sync_*.log | tail -1 | cut -d'/' -f5)
🔧 [775071081] incus exec cr-server-new -- ls /opt/charityright-sync/logs/sync_*.log | tail -1
🔧 [775071081] incus exec cr-server-new -- find /opt/charityright-sync/logs/ -name "sync_*.log" -type f | tail -1
🔧 [775071081] incus exec cr-server-new -- tail -20 /opt/charityright-sync/logs/sync_20260303_220001.log
🔧 [775071081] incus exec cr-server-new -- bash /opt/charityright-sync/run-sync.sh
🔧 [775071081] incus exec cr-server-new -- cat /opt/charityright-sync/run-sync.sh | head -20
🔧 [775071081] incus exec cr-server-new -- grep -A 10 -B 10 "FAILED.*exit: 0" /opt/charityright-sync/run-sync.sh
🔧 [775071081] incus exec cr-server-new -- bash -c "cd /opt/charityright-sync && timeout 60 python3 sync.py" 2>&1 | head -20
🚀 Bot starting...
✅ Bot is live (concurrent mode)
🔧 [775071081] incus list
🔧 [775071081] incus exec cr-server-new -- docker ps -a | head -10
🔧 [775071081] systemctl status haproxy | head -5
🔧 [775071081] service haproxy status | head -5
🔧 [775071081] ps aux | grep haproxy | grep -v grep
🔧 [775071081] incus exec cr-server-new -- ps aux | grep -E "(sync|cron)" | head -5
📤 [775071081] 394 chars in 89.3s
🔧 [775071081] incus exec cr-server-new -- crontab -l | grep -E "(enthuse|launchgood|charityright)" | head -10
🔧 [775071081] incus exec cr-server-new -- tail -5 /opt/enthuse-db-sync-v2/logs/cron.log
🔧 [775071081] incus exec cr-server-new -- tail -5 /opt/launchgood-sync/logs/cron.log
🔧 [775071081] incus exec cr-server-new -- tail -5 /opt/charityright-sync/logs/cron.log
🔧 [775071081] incus exec cr-server-new -- docker exec dokploy-migrated-cr-postgres-data psql -U postgres -d donation_warehouse -c "SELECT COUNT(*) as total_donations FROM donations;" 2>/dev/null
🔧 [775071081] incus exec cr-server-new -- docker ps | grep postgres
🔧 [775071081] incus exec cr-server-new -- docker exec dokploy-migrated-cr-postgres-data psql -U postgres -d donation_warehouse -c "SELECT COUNT(*) FROM donations;" | head -5
🔧 [775071081] incus exec cr-server-new -- docker exec dokploy-migrated-cr-postgres-data psql -U postgres -l | grep donation
🔧 [775071081] incus exec cr-server-new -- docker exec dokploy-migrated-cr-postgres-data psql -U postgres -d donation_warehouse -c "\dt" | head -5
📤 [775071081] 558 chars in 237.2s
🔧 [775071081] incus exec cr-server-new -- cat /opt/charityright-sync/run-sync.sh
🔧 [775071081] incus exec cr-server-new -- tail -20 /opt/charityright-sync/run-sync.sh
🔧 [775071081] incus exec cr-server-new -- ls -la /opt/charityright-sync/logs/ | head -5
🔧 [775071081] incus exec cr-server-new -- ls -la /opt/charityright-sync/logs/sync_* | tail -3
🔧 [775071081] incus exec cr-server-new -- find /opt/charityright-sync/logs/ -name "sync_*" -type f | wc -l
🔧 [775071081] incus exec cr-server-new -- find /opt/charityright-sync/logs/ -name "sync_*" -type f | sort -t_ -k2 | tail -3
🔧 [775071081] incus exec cr-server-new -- cat /opt/charityright-sync/logs/sync_20260304_160001.log
🔧 [775071081] incus exec cr-server-new -- docker images | grep charityright
🔧 [775071081] incus exec cr-server-new -- ls -la /opt/charityright-sync/
🔧 [775071081] incus exec cr-server-new -- cat /opt/charityright-sync/Dockerfile
🔧 [775071081] incus exec cr-server-new -- cd /opt/charityright-sync && docker build -t charityright-sync .
🔧 [775071081] incus exec cr-server-new -- bash -c "cd /opt/charityright-sync && docker build -t charityright-sync ."
🔧 [775071081] incus exec cr-server-new -- docker images | grep charityright
📤 [775071081] 155 chars in 29.8s
🚀 Bot starting...
✅ Bot is live (concurrent mode)
🚀 Bot starting...
✅ Bot is live (concurrent mode)
🔧 [775071081] incus exec cr-server-new -- ls -la /opt/charityright-sync/
🔧 [775071081] incus exec cr-server-new -- tail -20 /opt/charityright-sync/logs/sync.log
🔧 [775071081] incus exec cr-server-new -- ls -la /opt/charityright-sync/logs/
🔧 [775071081] incus exec cr-server-new -- tail -10 /opt/charityright-sync/logs/cron.log
🔧 [775071081] incus exec cr-server-new -- tail -20 /opt/charityright-sync/logs/sync_20260303_173815.log
🔧 [775071081] incus exec cr-server-new -- cat /opt/charityright-sync/run-sync.sh | head -30
🔧 [775071081] incus exec cr-server-new -- tail -20 /opt/charityright-sync/run-sync.sh
🔧 [775071081] incus exec cr-server-new -- docker run --rm --name charityright-sync-test --network dokploy-network charityright-sync 2>&1 | tail -10
🔧 [775071081] incus exec cr-server-new -- timeout 30s docker run --rm --name charityright-sync-test --network dokploy-network charityright-sync; echo "Exit code: $?"
🔧 [775071081] incus exec cr-server-new -- docker ps | grep charityright
📤 [775071081] 647 chars in 220.2s
🔧 [775071081] incus exec cr-server-new -- tail -20 /opt/charityright-sync/sync_charityright.py
🔧 [775071081] incus exec cr-server-new -- grep -A5 -B5 "mysql_conn" /opt/charityright-sync/sync_charityright.py | tail -15
🔧 [775071081] incus exec cr-server-new -- cp /opt/charityright-sync/sync_charityright.py /opt/charityright-sync/sync_charityright.py.backup
🔧 [775071081] incus exec cr-server-new -- sed -i 's/if __name__ == '\''__main__'\'':/ import sys\n sys.exit(0)\n\nif __name__ == '\''__main__'\'':/' /opt/charityright-sync/sync_charityright.py
🔧 [775071081] incus exec cr-server-new -- tail -10 /opt/charityright-sync/sync_charityright.py
🔧 [775071081] incus exec cr-server-new -- cd /opt/charityright-sync && docker build -t charityright-sync .
🔧 [775071081] incus exec cr-server-new -- bash -c "cd /opt/charityright-sync && docker build -t charityright-sync ."
🔧 [775071081] incus exec cr-server-new -- timeout 60s docker run --rm --name charityright-sync-test --network dokploy-network charityright-sync; echo "Exit code: $?"
🔧 [775071081] incus exec cr-server-new -- timeout 120s docker run --rm --name charityright-sync-test2 --network dokploy-network charityright-sync 2>&1 | tail -5; echo "Exit code: $?"
🔧 [775071081] incus exec cr-server-new -- bash /opt/charityright-sync/run-sync.sh 2>&1 | tail -10
📤 [775071081] 595 chars in 407.1s
🔧 [775071081] incus exec cr-server-new -- bash /opt/charityright-sync/run-sync.sh
🔧 [775071081] incus exec cr-server-new -- docker exec dokploy-migrated-cr-postgres-data psql -U postgres -d donation_warehouse -c "SELECT state, started_at FROM sync_state WHERE source='charityright' ORDER BY started_at DESC LIMIT 1"
🔧 [775071081] incus exec cr-server-new -- docker exec dokploy-migrated-cr-postgres-data psql -U postgres -d donation_warehouse -c "SELECT * FROM sync_state WHERE source='charityright' ORDER BY started_at DESC LIMIT 1"
🔧 [775071081] incus exec cr-server-new -- docker exec dokploy-migrated-cr-postgres-data psql -U postgres -d donation_warehouse -c "\d sync_state"
🔧 [775071081] incus exec cr-server-new -- docker exec dokploy-migrated-cr-postgres-data psql -U postgres -d donation_warehouse -c "SELECT * FROM sync_state WHERE key='charityright'"
🔧 [775071081] incus exec cr-server-new -- docker ps | grep charityright
🔧 [775071081] incus exec cr-server-new -- bash -c "cd /opt/charityright-sync && timeout 180s docker run --rm --network dokploy-network charityright-sync 2>&1 | tail -10"
🔧 [775071081] incus exec cr-server-new -- docker exec dokploy-migrated-cr-postgres-data psql -U postgres -d donation_warehouse -c "SELECT * FROM sync_state WHERE key='charityright'"
🔧 [775071081] incus exec cr-server-new -- docker exec dokploy-migrated-cr-postgres-data psql -U postgres -d donation_warehouse -c "SELECT * FROM sync_state"
📤 [775071081] 651 chars in 370.7s