3.4 KiB
3.4 KiB
Troubleshooting Guide
Common issues and solutions for ACC Server Manager.
Installation Issues
"go: command not found"
Solution: Install Go from https://golang.org/dl/ and add to PATH.
"steamcmd.exe not found"
Solution:
- Download SteamCMD from https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
- Extract to
C:\steamcmd\ - Or set
STEAMCMD_PATHenvironment variable to your location
"nssm.exe not found"
Solution:
- Download NSSM from https://nssm.cc/download
- Place
nssm.exein application directory - Or set
NSSM_PATHenvironment variable
Startup Issues
"JWT_SECRET environment variable is required"
Solution: Run the setup script:
.\scripts\generate-secrets.ps1
"Failed to connect database"
Solution:
- Check write permissions in application directory
- Delete
acc.dbif corrupted and restart - Ensure no other instance is running
Port already in use
Solution:
- Change port in
.envfile:PORT=8080 - Or stop the application using port 3000
Server Management Issues
"Failed to create firewall rule"
Solution: Run ACC Server Manager as Administrator.
ACC server won't start
Solutions:
- Check ACC server logs in server directory
- Verify ports are not in use
- Ensure Steam credentials are correct
- Check Windows Event Viewer
"Steam authentication failed"
Solutions:
- Verify Steam credentials in Settings
- Check if Steam Guard is enabled
- Try logging into Steam manually first
Performance Issues
High CPU usage
Solutions:
- Reduce number of active servers
- Check for runaway ACC server processes
- Restart ACC Server Manager
High memory usage
Solutions:
- Check database size (should be < 1GB)
- Restart application to clear caches
- Reduce log retention
Authentication Issues
Can't login
Solutions:
- Check username and password
- Clear browser cookies
- Check logs for specific errors
"Token expired"
Solution: Login again to get a new token.
Configuration Issues
Changes not saving
Solutions:
- Check file permissions
- Ensure valid JSON format
- Check logs for validation errors
Can't edit server config
Solutions:
- Stop the server first
- Check user permissions
- Verify file isn't locked
Network Issues
Can't connect to server
Solutions:
- Check Windows Firewall rules
- Verify port forwarding on router
- Ensure server is actually running
API requests failing
Solutions:
- Check CORS settings if using custom frontend
- Verify authentication token
- Check API endpoint URL
Logging & Debugging
Enable debug logging
Add to .env file:
LOG_LEVEL=debug
Log locations
- Application logs:
logs/app.log - Error logs:
logs/error.log - ACC server logs: In each server's directory
Common Error Messages
"Permission denied"
- Run as Administrator
- Check file/folder permissions
"Invalid configuration"
- Validate JSON syntax
- Check required fields
"Database locked"
- Close other instances
- Restart application
"Service installation failed"
- Ensure NSSM is available
- Run as Administrator
- Check service name conflicts
Getting Help
If these solutions don't work:
- Check the logs in
logs/directory - Search existing GitHub issues
- Create a new issue with:
- Error message
- Steps to reproduce
- System information
- Relevant log entries