Installation Issues
Docker Not Found
Problem: Installation script fails with “docker: command not found”. Solution:Verify Installation
Retry Installation
Permission Denied Errors
Problem: Docker commands fail with “permission denied” errors. Solution:Database Issues
Database Connection Failed
Problem: Services fail to start with “connection refused” or “database does not exist” errors. Solution:Check Database Service
Check Database Logs
Verify Environment Variables
Restart Services
Database Migration Errors
Problem: Services fail with “migration failed” or “table does not exist” errors. Solution:Redis Issues
Redis Connection Failed
Problem: Services log “redis: connection refused” errors. Solution:Check Redis Service
Verify Redis Address
redis (not localhost).Test Redis Connection
Restart Redis
API and Web Interface Issues
API Endpoints Return 500 Errors
Problem: When accessing the application, API endpoints like/api/auth/providers and /api/instance return 500 Internal Server Error.
Solution:
This is typically caused by DNS resolution issues with api.localhost.
Cannot Access Web Interface
Problem: Browser shows “connection refused” when accessing Stormkit. Solution:Verify Services Running
Check Port Bindings
Check Firewall
Verify URL Configuration
HTTPS/TLS Certificate Errors
Problem: Browser shows SSL/TLS certificate warnings. Solution:Configure ACME Email
Verify Domain DNS
Restart Hosting Service
Check Certificate Logs
Authentication Issues
GitHub App Creation Failed
Problem: Creating a GitHub App from the admin interface fails. Solution:Verify Callback URL
STORMKIT_APP_URL is set correctly and accessible from the internet.Check GitHub API Access
Review Error Logs
OAuth Redirect Mismatch
Problem: Git provider authentication fails with “redirect_uri_mismatch” error. Solution:-
Verify redirect URI in your Git provider OAuth app settings matches exactly:
- GitHub:
https://yourdomain.com/auth/github/callback - GitLab:
https://yourdomain.com/auth/gitlab/callback - Bitbucket:
https://yourdomain.com/auth/bitbucket/callback
- GitHub:
-
Check
STORMKIT_APP_URLin.envfile matches your domain -
Ensure HTTPS is enabled if using a custom domain:
.env
Deployment Issues
Deployments Fail or Hang
Problem: Deployments remain in “pending” state or fail immediately. Solution:Check Workerserver Service
Verify Runner Concurrency
Check Disk Space
Review Build Logs
Runtime Installation Fails
Problem: Deployments fail with “runtime not found” or “mise installation failed”. Solution:Check Internet Connectivity
Verify Runtime Configuration
Enable Auto Install
Check Mise Version
Build Cache Issues
Problem: Builds are unusually slow or don’t use cached dependencies. Solution:Performance Issues
High Memory Usage
Problem: Docker containers consume excessive memory. Solution:Check Container Stats
Reduce Runner Concurrency
Set Memory Limits
Slow Database Queries
Problem: Application feels sluggish, database queries are slow. Solution:Development Environment Issues
go: command not found
Problem: After runningmise install, which reports “all tools are installed”, running make dev fails with “go: command not found”.
Solution:
The mise tools aren’t activated in your shell. Add mise activation to your shell configuration:
Image Optimization Not Working
Problem: Image optimization features don’t work in local environment. Solution: Image optimization is disabled by default on local environments to avoid requiring additional dependencies. To enable it:- Install required system packages (ImageMagick, libvips, etc.)
- Build a custom Docker image with image optimization libraries
- See Custom Images for detailed instructions
Logging and Debugging
Enable Debug Logging
Increase log verbosity for troubleshooting:View Service Logs
Export Logs for Support
Backup and Recovery
Backup Database
Create Backup
Verify Backup
Store Securely
Restore Database
Backup Volumes
Getting Help
Community Support
- GitHub Issues: stormkit-io/stormkit-io
- GitHub Discussions: Community Q&A
Reporting Issues
When reporting issues, include:- Stormkit version - Check the version in the admin interface
- Operating system and version
- Docker version -
docker --version - Docker Compose version -
docker compose version - Error messages - Complete error output from logs
- Steps to reproduce - How to trigger the issue
- Environment variables (sanitized) - Remove sensitive values