I had backed up the world folder which contains the world because my operating system was having problems and I needed a fresh new install but when I download pocketmine on the new OS and when I replace the world with the one from the old and start pocketmine (./start.sh) (I am running Ubuntu Linux 19.10) it gives me an error and the server won’t work. This world is important to me and I want it to work on the new OS. Am I doing something wrong? And why does this not work?
[10:19:13] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump [10:19:13] [Server thread/EMERGENCY]: Please upload the "/home/ovrworldlord/crashdumps/Mon_Apr_27-10.19.13-CDT_2020.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can. [10:19:14] [Server thread/EMERGENCY]: The crash dump has been automatically submitted to the Crash Archive. You can view it on https://crash.pmmp.io/view/4068713 or use the ID #4068713. --- Waiting 118 seconds to throttle automatic restart (you can kill the process safely now) ---
This was in the crashdumps folder: PocketMine-MP Crash Dump Mon Apr 27 10:19:13 CDT 2020 Error: zlib_decode(): data error File: vendor/pocketmine/nbt/src/NBTStream Line: 137 Type: ErrorException Code: [128] /** [129] * Decodes NBT from the given compressed binary string and returns it. Anything decodable by zlib_decode() can be [130] * processed. [131] * [132] * @param string $buffer [133] * [134] * @return NamedTag|NamedTag[] [135] */ [136] public function readCompressed(string $buffer){ [137] return $this->read(zlib_decode($buffer)); [138] } [139] [140] /** [141] * @param NamedTag|NamedTag[] $data [142] * [143] * @return false|string [144] */ [145] public function write($data){ [146] $this->offset = 0; [147] $this->buffer = ""; Backtrace: #0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[25] zlib_decode(): data error, string[84] phar:///home/ovrworldlord/PocketMine-MP.phar/vendor/pocketmine/nbt/src/NBTStream, integer 137, array[1]) #1 vendor/pocketmine/nbt/src/NBTStream(137): zlib_decode(string[0] ) #2 src/pocketmine/level/format/io/BaseLevelProvider(57): pocketmine\nbt\NBTStream->readCompressed(string[0] ) #3 src/pocketmine/level/format/io/BaseLevelProvider(51): pocketmine\level\format\io\BaseLevelProvider->loadLevelData() #4 src/pocketmine/Server(958): pocketmine\level\format\io\BaseLevelProvider->__construct(string[32] /home/ovrworldlord/worlds/world/) #5 src/pocketmine/Server(1560): pocketmine\Server->loadLevel(string[5] world) #6 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[19] /home/ovrworldlord/, string[27] /home/ovrworldlord/plugins/) #7 src/pocketmine/PocketMine(296): pocketmine\server() #8 (11): require(string[74] phar:///home/ovrworldlord/PocketMine-MP.phar/src/pocketmine/PocketMine.php) PocketMine-MP version: 3.12.0 [Protocol 390] Git commit: 77d45bf11674a1360f58e32a14a3b09f423d860c uname -a: Linux ovrworldlord-Lenovo-ideapad-320-15AST 5.3.0-46-generic #38-Ubuntu SMP Fri Mar 27 17:37:05 UTC 2020 x86_64 PHP Version: 7.3.14 Zend version: 3.3.14 OS : Linux, linux Loaded plugins: ----------------------REPORT THE DATA BELOW THIS LINE----------------------- ===BEGIN CRASH DUMP=== eNrtWntv28aW/yoDOUDtQtT7YStwsb62sw3Wrn1jB1kgCowROZR4TXJYDilb7c13v79zZkhRshPc 7XaB/aNFUIszZ877OeTvrVDniSwe1io3kU5bs0G7VUSJas364+PjXq83HQ/brVia4jLPdd6a/d4q Nhm2W/x8+eyrrKCD7VaijJFL2votjhYPgfJ1oA6PZiKQhRSKj7dbYRnH76KYwLKVzGfdbnelE9XV 6/xJ53EQ6zzo3mr/URXXUaq869sOwXXXKg103s14J8FON10UXZP73V/+dn9X5EomAMyIgsX+bxwA cIwNyDqcQuxc+vj9uXXQE8T29uR8XhZRbObzj/RnNlM7ov8s0yBW+WGUFmqpcjFoC1PkUbr8PBh/ Ed/URQ11PPoi/mxVtEXFDYkmZJ7Lzef+lyNIfNAX/waCQ5wDu03uHbu9L4LRDAQdaOCI1VrFXetP 3Uh3/yaNuqK121yvowAaGk/31Aqy83lN0/sJ/w/OdZLlcCUV7FMc/gGK/T2KfGQ+t2fm80jP5y9O eT/FWga8dAFzHTLx0T7xO5UjaA5Pxsd/iMTDg69TCFj6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rY+/pjPH79+i9KdVdm ===END CRASH DUMP===
It seems like your level.dat is corrupted. Try creating a backup and replacing it with a level.dat from another world.
No problem, I'm glad your world works again, there's nothing worse than loosing a world you spent lots of time on. Backups are important.