Troubleshooting
Common issues and their solutions.
Installation Issues
Docker Container Won't Start
Symptoms: Container exits immediately or fails health check
Solutions:
-
Check logs:
-
Verify Docker resources (2GB RAM minimum)
-
Check ports aren't in use:
-
Rebuild without cache:
Port Already in Use
Symptoms: Error about port 5003 being in use
Solutions:
-
Find process using port:
-
Stop the process or change port in
docker-compose.yml:
Permission Denied Errors
Symptoms: Container can't write to volumes
Solutions:
- Fix ownership:
Authentication Issues
Can't Log In
Solutions:
- Clear browser cookies
- Try incognito/private mode
- Check
AUTH_SECRETis set in production - Verify
AUTH_TRUSTED_ORIGINSincludes your URL
Session Keeps Expiring
Solutions:
- Ensure
AUTH_SECRETis persistent across restarts - Check browser isn't blocking cookies
- Verify
AUTH_SECURE_COOKIES=falseif using HTTP
OAuth Redirect Error
Solutions:
- Verify callback URL matches exactly in provider settings
- Check for trailing slashes
- Ensure protocol matches (http vs https)
Passkey Not Working
Solutions:
- Verify
PASSKEY_RP_IDmatches your domain - Check
PASSKEY_ORIGINincludes correct protocol and port - Try a different browser
- Ensure WebAuthn is supported
Password Reset Not Working
Solutions:
-
Set all required variables:
-
Restart container
- Remove
ADMIN_PASSWORD_RESET=trueafter reset
Git Issues
Clone Fails for Private Repository
Solutions:
- Configure GitHub PAT in Settings > Credentials
- Ensure PAT has
reposcope - Check PAT hasn't expired
Push/Pull Fails
Solutions:
- Verify GitHub PAT is valid
- Check PAT has write permissions
- Verify remote URL:
git remote -v
Worktree Creation Fails
Solutions:
- Ensure branch doesn't already exist
- Check disk space
- Verify repo isn't in detached HEAD state
Chat Issues
Messages Not Sending
Solutions:
-
Check OpenCode server is running:
-
Verify model is configured
- Check API key is valid
Streaming Stops Unexpectedly
Solutions:
- Check network connection
- Look for errors in browser console (F12)
- Check container logs for errors
File Mentions Not Working
Solutions:
- Ensure repository is selected
- Check file exists
- Refresh the file browser
File Browser Issues
Files Not Loading
Solutions:
- Refresh the page
- Check repository is properly cloned
- Verify workspace volume is mounted
Upload Fails
Solutions:
- Check file size
- Verify write permissions
- Check browser console for errors
Performance Issues
Slow Response Times
Solutions:
-
Check Docker resources:
-
Clear old sessions
- Use
/compactto reduce session size
High Memory Usage
Solutions:
- Limit session count
- Delete unused sessions
- Restart container:
Database Errors
Solutions:
- Stop container
- Backup database:
- Restart container
Mobile Issues
Keyboard Doesn't Close
Solutions:
- Tap outside input field
- Update device OS
- Try Safari on iOS
PWA Won't Install
Solutions:
- iOS: Must use Safari
- Android: Must use Chrome
- Check HTTPS is enabled
Touch Gestures Not Working
Solutions:
- Swipe from screen edge
- Swipe faster (within 300ms)
- Check no UI element is blocking
Getting More Help
If your issue isn't covered:
- Check GitHub Issues
- Search GitHub Discussions
- Open a new issue with:
- Steps to reproduce
- Expected vs actual behavior
- Container logs:
docker-compose logs - Browser console errors
- Environment info (OS, browser, Docker version)