Troubleshooting
Common issues and solutions.
Encrypted Authentication (ZimaOS / CasaOS)
Problem
The /auth persistence Encrypted command fails or doesn't persist after container restart. This happens because:
- ZimaOS/CasaOS can't mount
/etc/machine-id:roproperly - The container creates an empty
/etc/machine-idfile - Without a valid machine-id, encrypted credential storage fails
Solution
Use the alternative docker-compose file that doesn't require the machine-id mount:
# Download the CasaOS-compatible compose file
curl -O https://raw.githubusercontent.com/ketbome/hytale-server/main/docker-compose.casaos.yml
# Start with this file
docker compose -f docker-compose.casaos.yml up -dThe container will:
- Generate a unique machine-id on first start
- Save it to
./server/.machine-id - Restore it automatically on every restart
Manual Fix (if needed)
If you're still having issues, you can manually set the machine-id:
# Enter the container
docker exec -it hytale-server bash
# Generate and set machine-id
dbus-uuidgen > /etc/machine-id
# Verify
cat /etc/machine-id
# Now run the auth command
# /auth persistence EncryptedThen copy the machine-id to your server folder for persistence:
docker exec hytale-server cat /etc/machine-id > ./server/.machine-idServer Files Not Found
Problem
The server shows "Waiting for files..." and doesn't start.
Solution
Option 1: Auto-download (x64 only)
Make sure AUTO_DOWNLOAD=true in your .env file. The downloader requires authentication - check the panel for login prompts.
Option 2: Manual download
Download from hytale.com:
HytaleServer.jarAssets.zip
Place them in
./server/folderRestart the container
ARM64: Auto-download Not Available
Problem
On ARM64 devices (Apple Silicon, Raspberry Pi), auto-download doesn't work.
Solution
The hytale-downloader binary is x64 only. Download files manually:
# On an x64 machine, download the files
# Then transfer to your ARM64 server:
scp HytaleServer.jar Assets.zip user@server:~/hytale/server/See ARM64 Support for details.
Container Keeps Restarting
Problem
The container restarts repeatedly without starting the server.
Possible Causes
- Not enough RAM: Check
JAVA_XMXin your.env - Missing files: Ensure
HytaleServer.jarandAssets.zipexist - Port conflict: Check if port 5520/UDP is available
Debug
# Check logs
docker compose logs -f hytale
# Check container status
docker ps -aPanel Can't Connect to Server
Problem
The web panel shows "Container not found" or can't control the server.
Solution
Verify container name matches:
bash# Check actual container name docker ps # Should match CONTAINER_NAME in .env (default: hytale-server)Ensure Docker socket is mounted:
yaml# In docker-compose.yml volumes: - /var/run/docker.sock:/var/run/docker.sock:roCheck if containers are on the same network:
bashdocker network ls docker network inspect hytale_default
Permission Denied Errors
Problem
Files can't be written or the server can't start due to permissions.
Solution
The container runs as root initially to fix permissions, then drops to hytale user. If you have issues:
# Fix permissions manually
sudo chown -R 1000:1000 ./server/Mods Not Loading
Problem
Installed mods don't appear in-game.
Solution
Verify
SERVER_EXTRA_ARGSincludes mods flag:bashSERVER_EXTRA_ARGS=--mods modsCheck mods are in correct folder:
./server/mods/Restart the server after adding mods
Check server logs for mod loading errors
Getting Help
If your issue isn't listed here:
- Check the GitHub Issues
- Search existing issues before creating a new one
- Include logs and your configuration when reporting bugs
