Ga naar hoofdinhoud

Troubleshooting

"No Space Left on Device" Error

Encountering the "No space left on device" error can be frustrating for Project Zomboid server administrators. This issue usually occurs due to an excessive number of small files clogging up your server’s disk space.

Understanding the Issue

If you check the directory:
/home/container/.cache/Saves/Multiplayer/
you may find it difficult to access its contents, especially when there are 50,000+ small files. This massive file count can prevent the server from properly saving essential files on startup, leading to the error.

How to Fix It

  1. Locate the Configuration File

    • Navigate to:
      /home/container/.cache/Server/
    • Open the [servername].ini file.
  2. Modify the Backup Setting

    • Find the following line:
      BackupsOnStart=true
    • Change it to:
      BackupsOnStart=false
  3. Save and Restart

    • Save your changes.
    • Restart your Project Zomboid server.

By disabling automatic backups on startup, you prevent excessive file accumulation, resolving the space issue and ensuring smooth server operation.