menu
#7305270 Failed to write to temporary file /home/container/worlds/survival/level.dat.0.tmp: file_put_contents(): Write of 598 bytes failed with errno=28 No space left on device

Submitted by PocketMine-MP 4.6.1

General information

Version: 4.6.1
Git commit: b20e0453
Plugin involvement: Indirect
Report date: 2022-08-06 03:21:52 +0000 UTC
Server uptime: 5 days 22 hours 1 minutes 54 seconds

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux 91e1e99c-433c-4800-a08a-4a99f301b39a 5.13.0-1031-azure #37~20.04.1-Ubuntu SMP Mon Jun 13 22:51:01 UTC 2022 x86_64

Error information

Warning: the VanillaX plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Failed to write to temporary file /home/container/worlds/survival/level.dat.0.tmp: file_put_contents(): Write of 598 bytes failed with errno=28 No space left on device
File: pmsrc/src/utils/Filesystem
Line: #266
Error level: RuntimeException
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
		try{
ErrorToExceptionHandler::trap(fn() => $context !== null ?
file_put_contents($temporaryFileName, $contents, $flags, $context) :
file_put_contents($temporaryFileName, $contents, $flags)
);
}catch(\ErrorException $filePutContentsException){
$context !== null ?
@unlink($temporaryFileName, $context) :
@unlink($temporaryFileName);
throw new \RuntimeException("Failed to write to temporary file $temporaryFileName: " . $filePutContentsException->getMessage(), 0, $filePutContentsException);
}

$renameTemporaryFileResult = $context !== null ?
@rename($temporaryFileName, $fileName, $context) :
@rename($temporaryFileName, $fileName);
if(!$renameTemporaryFileResult){
/*
* The following code works around a bug in Windows where rename() will periodically decide to give us a
* spurious "Access is denied (code: 5)" error. As far as I could determine, the fault comes from Windows
* itself, but since I couldn't reliably reproduce the issue it's very hard to debug.
#0 pmsrc/src/world/format/io/data/BedrockWorldData(173): pocketmine\utils\Filesystem::safeFilePutContents(string[41] /home/container/worlds/survival/level.dat, string[598] ....N.........DayCycleStopTime.......Difficulty.......ForceGameType....GameType.)
#1 plugins/VanillaX_Remake.phar/src/CLADevs/VanillaX/world/weather/Weather(96): pocketmine\world\format\io\data\BedrockWorldData->save()
#2 plugins/VanillaX_Remake.phar/src/CLADevs/VanillaX/world/weather/WeatherManager(65): CLADevs\VanillaX\world\weather\Weather->saveData()
#3 pmsrc/src/scheduler/ClosureTask(57): CLADevs\VanillaX\world\weather\WeatherManager->CLADevs\VanillaX\world\weather\{closure}()
#4 pmsrc/src/scheduler/TaskHandler(114): pocketmine\scheduler\ClosureTask->onRun()
#5 pmsrc/src/scheduler/TaskScheduler(141): pocketmine\scheduler\TaskHandler->run()
#6 pmsrc/src/plugin/PluginManager(498): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(int 10226021)
#7 pmsrc/src/Server(1811): pocketmine\plugin\PluginManager->tickSchedulers(int 10226021)
#8 pmsrc/src/Server(1700): pocketmine\Server->tick()
#9 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#10 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#11 pmsrc/src/PocketMine(327): pocketmine\server()
#12 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show