Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A automated-email-migration
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mohammad Hanif Bin Maisin
  • automated-email-migration
  • Wiki
  • Troubleshooting

Troubleshooting · Changes

Page history
Create Troubleshooting authored Dec 08, 2025 by Mohammad Hanif Bin Maisin's avatar Mohammad Hanif Bin Maisin
Hide whitespace changes
Inline Side-by-side
Troubleshooting.md 0 → 100644
View page @ cbe18e04
# Troubleshooting
## Common Issues
### Scheduler Not Running
1. Check if process is running:
```bash
python utils/check_scheduler_status.py
```
2. Verify `.env` file exists and is configured correctly
3. Check virtual environment is activated
4. Review console output for errors
### Jobs Not Executing
1. Verify scheduler times in `.env`:
- `QUEUE_SYNC_HOUR=13`
- `QUEUE_SYNC_MINUTE=0`
- `PRE_MIGRATION_EMAIL_HOUR=13`
- `PRE_MIGRATION_EMAIL_MINUTE=30`
- `MIGRATION_EXECUTION_HOUR=18`
- `MIGRATION_EXECUTION_MINUTE=0`
2. Ensure `TEST_SCHEDULER_MODE=False` in `.env`
3. Check master summary log for errors
### Emails Not Sending
1. Verify SMTP settings in `.env`
2. Check `TEST_EMAIL_MODE=False` for live execution
3. Verify `MONITORING_EMAIL` is set (receives BCC copies)
### Migration Issues
1. **PST Export Not Starting:**
- Check if batches exist for the server
- Verify Hafnium connectivity
- Check master summary log
2. **GWME Not Triggering:**
- Verify PST export completed
- Check if batches exist for the server
- Review GWME logs on migration servers
3. **GCDS Sync Failing:**
- Verify Xenon server connectivity
- Check SSH key configuration
- Review GCDS logs on Xenon
### Database Issues
1. **Database Locked:**
- Ensure only one process is accessing the database
- Check for hung processes
2. **Data Not Updating:**
- Verify database file permissions
- Check for errors in logs
## Logs
- **Master Summary:** `D:\automated-email-migration\logs\daily_summary\YYYY-MM-DD_master_summary.log`
- **Application Logs:** Console output or `migration.log`
- **Database:** `migration_queue.db`
---
**See also:** [Operations](Operations.md), [Configuration](Configuration.md)
Clone repository
  • Architecture
  • Configuration
  • Deployment
  • Home
  • Operations
  • System Components
  • Troubleshooting
  • Workflow