Troubleshooting
Server Won't Start
Basic Checks
# Check if Docker is running
docker ps
# Check container status
docker compose ps
# View logs
docker compose logs -fCommon Causes
Docker not running:
- Start Docker Desktop (Windows/macOS)
- Start Docker service:
sudo systemctl start docker(Linux)
Invalid .env configuration:
- Check all required variables are set
- Verify no syntax errors (no spaces around
=) - Ensure passwords don't contain special characters that need escaping
Steam credentials invalid:
- Verify username and password are correct
- Re-run setup:
docker compose run --rm -it steam-auth setup
Port conflicts:
- Check if ports are in use:
netstat -tulpn | grep 5800 - Change ports in
.envif needed
Steam Authentication Issues
Steam auth container not starting
docker compose logs steam-authCommon fixes:
- Re-run setup:
docker compose run --rm -it steam-auth setup - Delete session and retry:
docker volume rm server_steam-session
Token expired
Steam tokens last about 200 days. When expired:
docker compose run --rm -it steam-auth setupSteam Guard failing
- Ensure you have access to the email/phone for Steam Guard
- Try the QR code method if other methods fail
- Wait a few minutes and retry if rate-limited
Game server can't reach steam-auth
# Test from inside server container
docker compose exec server wget -qO- http://steam-auth:3001/healthPlayer Connection Issues
Players can't connect at all
- Verify server is running:
docker compose ps - Get invite code via CLI:
docker compose exec server attach-clitheninfo - Share the correct invite code with players
Same-network players can't connect
This is usually a "hairpinning" issue — traffic can't loop back to the same network.
docker compose exec server netdebug natIf "Hairpinning: Not supported":
- Have players connect from mobile hotspot
- Use a VPN service
- Enable direct IP connections (if acceptable for your use case)
Intermittent disconnections
- Check server resources:
docker stats - Review logs for errors:
docker compose logs -f - Consider increasing server RAM if low on memory
Steam clients specifically failing
Check for these log messages:
| Message | Meaning | Fix |
|---|---|---|
GameServer.Init() failed | Steamworks SDK issue | Restart, check game files |
Failed to connect to Steam servers | Network issue | Check firewall, outbound UDP |
SDR relay status: Unknown | SDR initializing | Wait a few seconds, retry |
GOG clients specifically failing
- Verify invite code starts with "G"
- Run
netdebug natto check NAT type - GOG has ~50% success rate vs Steam's ~99%
VNC Issues
You Probably Don't Need VNC
VNC is for advanced debugging only. To play and test your server, just connect with your game client like any multiplayer game. Use the CLI (docker compose exec server attach-cli) for server management.
VNC shows black screen
This is expected behavior — your server is working correctly.
Why it's black: The server has DISABLE_RENDERING=true by default. This means the server doesn't draw graphics to its own display, which saves CPU. The server is still running normally and accepting player connections.
Players are not affected: When you connect with your game client, you see the game on your screen rendered by your computer. The black VNC screen only means the server's display is blank — that's fine.
Do you need to fix it? Probably not. If you just want to play or test, connect with your game client instead. VNC is only useful for debugging rare visual issues.
If you specifically need VNC for debugging:
- Set
DISABLE_RENDERING=falsein.env - Restart:
docker compose restart - VNC will now show the game display
VNC won't load
- Check
VNC_PASSWORDis set in.env - Verify port is accessible:
curl http://localhost:5800 - Use
http://nothttps:// - Try a different browser
- Check firewall allows TCP on VNC port
VNC is laggy
- Increase compression in VNC settings panel
- Reduce connection quality setting
- Check network bandwidth between you and server
Save File Issues
Save won't load
# Check save exists
docker compose exec server ls -la /config/xdg/config/StardewValley/Saves
# Check SMAPI logs for errors
docker compose logs server | grep -i errorImporting a save doesn't work
- Stop server:
docker compose down - Copy save correctly into the volume
- Ensure folder structure is correct
- Check file permissions
Save corruption
Restore from SMAPI backup:
# List backups
docker compose exec server ls -al /data/Stardew/save-backups
# Restore (replace BACKUP_FILENAME)
docker compose exec server unzip /data/Stardew/save-backups/BACKUP_FILENAME.zip -d /config/xdg/config/StardewValley/Saves/Mod Issues
Mods not loading
- Check logs for errors:
docker compose logs server - Verify mods are in correct location
- Check mod compatibility with current game version
- Try removing mods one by one to find problem
Content mods causing issues
- Ensure all players have matching content mods
- Check mod load order in SMAPI output
- Update mods to latest versions
"Missing assembly" errors
The mod is missing a dependency. Check the mod's page for required dependencies.
Password Protection Issues
Players stuck in lobby
- Verify
SERVER_PASSWORDis correct in.env - Check player is using
!login <password>command - Verify lobby layout exists:
!lobby list
Can't create lobby layouts
- Must be admin:
!admin <yourname> - Use
!lobby create <name>to enter edit mode - Save with
!lobby savewhen done
Performance Issues
Server running slowly
# Check resource usage
docker stats
# Check for errors
docker compose logs server | grep -i errorSolutions:
- Enable
DISABLE_RENDERING=true - Increase container memory limits
- Reduce
MaxPlayerssetting - Remove resource-heavy mods
High memory usage
- Restart periodically:
docker compose restart - Check for mod memory leaks
- Consider increasing host memory
Docker Issues
Volume name conflicts
Docker prefixes volumes with project directory name:
# List all volumes
docker volume ls
# Remove specific volume (careful!)
docker volume rm server_game-dataContainer names
JunimoServer uses fixed container names:
| Container | Name |
|---|---|
| Game Server | sdvd-server |
| Steam Auth | sdvd-steam-auth |
| Discord Bot | sdvd-discord-bot |
# Use names directly
docker logs sdvd-server
docker exec -it sdvd-server bashCleaning up
# Remove stopped containers and unused images
docker system prune
# Remove all volumes (DANGEROUS - deletes saves!)
# docker volume pruneGetting More Help
If none of these solutions work:
- Collect logs:
docker compose logs > logs.txt - Check GitHub Issues: stardew-valley-dedicated-server/server/issues
- Join Discord: discord.gg/w23GVXdSF7
- Create an issue: Include logs, configuration (without passwords), and steps to reproduce