Troubleshooting
This guide covers common issues and their solutions. If you don't find your answer here, check the deployment logs for specific error messages.
Deployment Issues
Deployment fails immediately
Symptoms: Deployment status shows "Failed" right after starting.
Solutions:
-
Check GitHub connection
- Go to Deploy Forge → Settings
- Verify connection shows "Connected"
- If not, click "Connect to GitHub" to re-authorize
-
Verify repository access
- The GitHub App must have access to your repository
- Go to GitHub → Settings → Applications → Deploy Forge → Configure
- Ensure your repository is selected
-
Check workflow file (GitHub Actions method)
- Verify workflow file exists in
.github/workflows/ - Ensure workflow has
workflow_dispatchtrigger - See Workflows for requirements
- Verify workflow file exists in
Build succeeds but deployment fails
Symptoms: GitHub Actions shows success, but Deploy Forge shows failed.
Solutions:
-
Check artifact upload
- Your workflow must upload an artifact
- Verify
actions/upload-artifactstep exists and succeeds - Check artifact is a ZIP file, not a directory
-
Check file permissions
- WordPress must have write access to
wp-content/themes/ - Verify directory permissions:
755for folders,644for files
- WordPress must have write access to
-
Check disk space
- Insufficient space prevents file extraction
- Clear old backups or increase disk allocation
"No artifacts found" error
Symptoms: Logs show "No artifacts found" after build completes.
Solutions:
- Your workflow didn't upload an artifact
- The artifact name doesn't match what Deploy Forge expects
- The artifact expired (GitHub retains artifacts for 90 days by default)
Fix by adding to your workflow:
- uses: actions/upload-artifact@v4
with:
name: theme-build
path: your-build-output.zip
Deployment stuck in "Building" state
Symptoms: Status shows "Building" for longer than expected.
Solutions:
-
Check GitHub Actions
- Go to your repository → Actions tab
- Find the workflow run and check its status
- If queued, GitHub may be experiencing delays
-
Cancel and retry
- Click "Cancel" on the stuck deployment
- Trigger a new deployment manually
-
Check WP-Cron
- Deploy Forge uses WP-Cron to poll for completion
- If your site has low traffic, cron may not run frequently
- Consider setting up a system cron instead
Automatic Deployment Issues
Push not triggering deployment
Symptoms: You push code but no deployment starts.
Solutions:
-
Verify branch matches
- Deployments only trigger for your configured branch
- Pushing to
developwon't trigger if branch is set tomain - Check your branch setting in the Deploy Forge dashboard
-
Check site connection
- Go to Deploy Forge in WordPress admin
- Verify your site shows as Connected
- If not connected, click Connect to re-establish (you'll be redirected to the Deploy Forge app to complete setup)
-
Check deployment history
- Go to Deploy Forge → History
- A deployment may have been created but failed for another reason
"Invalid signature" error
Symptoms: Deployment logs show signature validation failed.
Solution: Your site's connection may have become corrupted or out of sync.
- In WordPress admin, go to Deploy Forge
- Click Disconnect
- Click Connect to re-establish the connection (you'll be redirected to the Deploy Forge app to complete setup)
- Try pushing again
Connection Issues
"Failed to connect to GitHub"
Symptoms: Connection test fails or GitHub operations error.
Solutions:
-
Re-authorize
- In WordPress admin, go to Deploy Forge
- Click Disconnect then Connect
- Complete the setup in the Deploy Forge app
-
Check GitHub status
- Visit githubstatus.com
- If GitHub is down, wait and retry
-
Check firewall/hosting
- Your server must allow outbound HTTPS to api.github.com
- Some hosting providers block external API calls
"Rate limit exceeded"
Symptoms: GitHub API errors mentioning rate limits.
Solutions:
-
Wait for reset
- GitHub rate limits reset hourly
- Check the
X-RateLimit-Resetheader for exact time
-
Reduce deployment frequency
- Batch commits instead of pushing frequently
- Use manual deployments during heavy development
WordPress Issues
Theme not appearing after deployment
Symptoms: Deployment succeeds but theme unchanged.
Solutions:
-
Clear cache
- Clear your caching plugin (WP Super Cache, W3 Total Cache, etc.)
- Clear server-level cache if applicable
- Clear CDN cache (Cloudflare, etc.)
-
Verify target directory
- Check Deploy Forge → Settings for target theme directory
- Ensure it matches your active theme's folder name
-
Check file extraction
- The ZIP structure must match WordPress theme structure
- Theme files should be at root of ZIP, not nested in extra folders
Permission denied errors
Symptoms: Logs show "Permission denied" or "Unable to write".
Solutions:
-
Fix directory permissions
chmod 755 wp-content/themes/ chmod 755 wp-content/themes/your-theme/ -
Fix file ownership
chown -R www-data:www-data wp-content/themes/your-theme/(Replace
www-datawith your web server's user) -
Contact hosting support
- Some managed hosts restrict file operations
- Ask them to grant write access to themes directory
Getting More Help
Enable Debug Logging
- Go to Deploy Forge → Settings
- Enable Debug Logging
- Trigger a deployment
- Check Deploy Forge → Logs for detailed output
Check WordPress Debug Log
Add to wp-config.php:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
Check wp-content/debug.log for errors.
Collect Information for Support
When contacting support, include:
- WordPress version
- PHP version
- Deploy Forge version
- Deployment method (GitHub Actions or Direct Clone)
- Error messages from logs