World to server problem

Discussion in 'Spigot Help' started by tom2208, Jun 3, 2017.

  1. Hello, i tryed to put my singleplayer world on my linux (debian) root server, im using spigot 1.11.2.
    I deleted all files in the world folder and than i put the files from the single player world into it.
    If i'm starting the server it returns this:
    Code (Text):
    [email protected]:~$ screen -r minecraft
    9445-6e3cec8]
            at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:241) ~[?:1.7.0_131]
            at java.io.FilterOutputStream.close(FilterOutputStream.java:160) ~[?:1.7.0_131]
            at java.io.FilterOutputStream.close(FilterOutputStream.java:160) ~[?:1.7.0_131]
            at net.minecraft.server.v1_11_R1.RegionFileCache.e(RegionFileCache.java:95) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at net.minecraft.server.v1_11_R1.ChunkRegionLoader.b(ChunkRegionLoader.java:186) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at net.minecraft.server.v1_11_R1.ChunkRegionLoader.c(ChunkRegionLoader.java:169) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at net.minecraft.server.v1_11_R1.FileIOThread.c(SourceFile:37) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at net.minecraft.server.v1_11_R1.FileIOThread.run(SourceFile:30) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at java.lang.Thread.run(Thread.java:745) [?:1.7.0_131]
    [07:06:51 ERROR]: Failed to save chunk
    java.lang.NullPointerException
            at net.minecraft.server.v1_11_R1.RegionFile.a(RegionFile.java:162) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at net.minecraft.server.v1_11_R1.RegionFile$ChunkBuffer.close(RegionFile.java:266) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:241) ~[?:1.7.0_131]
            at java.io.FilterOutputStream.close(FilterOutputStream.java:160) ~[?:1.7.0_131]
            at java.io.FilterOutputStream.close(FilterOutputStream.java:160) ~[?:1.7.0_131]
            at net.minecraft.server.v1_11_R1.RegionFileCache.e(RegionFileCache.java:95) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at net.minecraft.server.v1_11_R1.ChunkRegionLoader.b(ChunkRegionLoader.java:186) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at net.minecraft.server.v1_11_R1.ChunkRegionLoader.c(ChunkRegionLoader.java:169) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at net.minecraft.server.v1_11_R1.FileIOThread.c(SourceFile:37) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at net.minecraft.server.v1_11_R1.FileIOThread.run(SourceFile:30) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
            at java.lang.Thread.run(Thread.java:745) [?:1.7.0_131]
     
    ~ Tom
     
  2. Check the world's files permission. I guess it's wrong
     
  3. But why? How can i fix this? It works gread in singleplayer. there is no world permission file..
     
  4. Nono, there is no exist world permission file. The world's file like regions, chunks etc. have a permission under linux,
     
  5. ok.. how can i fix this? ^^
    Running it on root, or a esier way?
     
  6. Sorry! I can't help more, i'm not lunix genius :D Try to google it or ask somebody. :)
     
  7. ok, thank you! ^^
     
  8. Directory lacks permissions to write data.
     
  9. To further follow up on this

    http://linuxcommand.org/lts0070.php

    You most likely want chmod 755 for a directory and 644 for files.

    Stay away from 777 unless you know what you are doing.
     
  10. But if i create a new world on the server it is working well..