| id |
type |
title |
tags |
importance |
confidence |
created |
updated |
relations |
| 638ac861-2c7b-462c-9d82-672e4536688e |
decision |
Production deployment checklist for Paper Dynasty bot |
| paper-dynasty |
| discord-bot |
| deployment |
| production |
| checklist |
| devops |
|
0.8 |
0.8 |
2026-02-04T15:53:47.786896+00:00 |
2026-02-04T15:53:47.786896+00:00 |
| target |
type |
direction |
strength |
| 9b70e3d5-d0b6-48c5-88d0-2fbc36f4fd4d |
REQUIRES |
incoming |
0.5 |
|
|
CRITICAL: Always verify bot startup in production logs after deployment. Check: 1) All cogs loaded successfully (grep 'Loaded cog' in logs), 2) No 'Failed to load' errors, 3) 'Logged in as' confirmation appears, 4) Test basic commands in Discord. Common failure patterns: circular imports (only caught at runtime, not by linters), missing dependencies, database connection issues. Use 'docker logs CONTAINER --tail 100 | grep -E "Logged in|Failed|ERROR"' for quick health check. Production container: paper-dynasty_discord-app_1 on ssh sba-bots. Log file: logs/discord.log inside container. Health endpoint: port 8080. Always manually unlock stuck plays before deploying fixes: 'UPDATE play SET locked = false WHERE locked = true AND complete = false;'