Skip to main content
Troubleshoot problems during rollout execution and task failures.

All Tasks Skipped

Behavior: Rollout completes immediately with all tasks skipped. Cause: All migrations already applied (detected via revision records). Verification:
This is normal behavior indicating idempotent operation. To deploy new changes:
  1. Create migrations with new version numbers
  2. Create new release
  3. Create new plan/rollout

Task Stuck in PENDING_APPROVAL

Behavior: Task waiting for approval indefinitely. Causes:
  1. Rollout policy requires manual approval
  2. No authorized users have approved
Solutions:

Task Fails with SQL Error

Error in task logs:
Cause: SQL syntax error in migration file. Solutions:
  1. Identify problematic file:
    • Check task logs for error location
    • Identify which migration file failed
  2. Fix syntax error:
  3. Create new release:
    • Don’t modify original file if already released
    • Create new migration with fix:
  4. Retry or create new rollout:

Permission Denied Error

Error:
Cause: Bytebase database user lacks required permissions. Solutions:
For DDL operations (schema changes):
For DML operations (data changes):
If using wrong user in Bytebase:
  1. Navigate to Instance settings
  2. Update connection username
  3. Save changes
Or via API:

Instance Configuration

Configure database connections
Test permissions:

Connection Timeout

Error:
Causes:
  1. Database server down
  2. Network connectivity issues
  3. Firewall blocking connection
  4. Incorrect connection parameters
Solutions:
Check if database is running:

Next Steps

SDL Issues

Troubleshoot SDL-specific problems

Best Practices

Learn production-ready patterns