Closed slaapzzz closed 8 months ago
This is usually due to the fact that the server was once shut down during the backup. You need to go to the server folder and enable writing option in the world, world_nether and world_the_end folders by going to the settings of these folders (right-click on the folders).
Let me know if you couldn't figure it out
Also came to the same conclusion after I posted this. I changed the permission code to 777 so when the auto backup tries again in a couple hours I'll lyk. I don't want to change anything with the timing to keep the testing consistent.
So have you tested it?
Sorry been a little busy. Seems to be working now. Thanks!
Hey again, it seems like pterodactyl keeps changing the permission from 777 to 755 after a couple hours. I asked in the official discord but it so far seems to be no help. Was hoping you know how to fix this
With 755 does the same error appear?
Backuper changes the permissions on the folder so that everything goes well during the backup, but afterwards it returns the permissions
Please send me your config, server core and OS
And your world folder weight
Im currently not home but once I do get home Ill send you everything you need. The error does occur when the files permission code is 755. Also where can I find the server core and world folder weight. The os is ubuntu 22.04.3
You can see the weight of the world folder by right-clicking on the folder
I still could not find the weight of the folder or the server core. Heres the config https://easyupload.io/yemi3x
Can you send the config just text, not a link to the file?
configVersion: 5.0 lastBackup: 1709058690 lastChange: 1709042061
autoBackup: true
backupsFolder: plugins/Backuper/Backups
backupTime: -1
backupPeriod: 480
afterBackup: NOTHING
skipDuplicateBackup: true
maxBackupsNumber: 0
maxBackupsWeight: 0
zipArchive: true
betterLogging: false
I can see the line: [10:25:10 INFO]: [Backuper] Backup process has been started but is there the line "Backup process has been finished" somewhere after an error?
sorry idk what happened to the whole message. here's the whole thing
[10:25:10] [Server thread/INFO]: [Backuper] Backup process has been started [10:26:52] [Server thread/ERROR]: Failed to save level ./world java.nio.file.AccessDeniedException: ./world/level12129492956281235418.dat at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?] at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218) ~[?:?] at java.nio.file.Files.newByteChannel(Files.java:380) ~[?:?] at java.nio.file.Files.createFile(Files.java:658) ~[?:?] at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) ~[?:?] at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:159) ~[?:?] at java.nio.file.Files.createTempFile(Files.java:878) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveLevelData(LevelStorageSource.java:614) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveDataTag(LevelStorageSource.java:607) ~[?:?] at net.minecraft.server.level.ServerLevel.saveIncrementally(ServerLevel.java:1503) ~[?:?] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1536) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-430] at java.lang.Thread.run(Thread.java:840) ~[?:?] [10:26:52] [Server thread/ERROR]: Failed to save level ./world_nether java.nio.file.AccessDeniedException: ./world_nether/level14966274231964192496.dat at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?] at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218) ~[?:?] at java.nio.file.Files.newByteChannel(Files.java:380) ~[?:?] at java.nio.file.Files.createFile(Files.java:658) ~[?:?] at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) ~[?:?] at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:159) ~[?:?] at java.nio.file.Files.createTempFile(Files.java:878) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveLevelData(LevelStorageSource.java:614) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveDataTag(LevelStorageSource.java:607) ~[?:?] at net.minecraft.server.level.ServerLevel.saveIncrementally(ServerLevel.java:1503) ~[?:?] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1536) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-430] at java.lang.Thread.run(Thread.java:840) ~[?:?] [10:26:52] [Server thread/ERROR]: Failed to save level ./world_the_end java.nio.file.AccessDeniedException: ./world_the_end/level14422186950764156848.dat at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?] at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218) ~[?:?] at java.nio.file.Files.newByteChannel(Files.java:380) ~[?:?] at java.nio.file.Files.createFile(Files.java:658) ~[?:?] at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) ~[?:?] at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:159) ~[?:?] at java.nio.file.Files.createTempFile(Files.java:878) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveLevelData(LevelStorageSource.java:614) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveDataTag(LevelStorageSource.java:607) ~[?:?] at net.minecraft.server.level.ServerLevel.saveIncrementally(ServerLevel.java:1503) ~[?:?] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1536) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-430] at java.lang.Thread.run(Thread.java:840) ~[?:?] [10:27:00] [Folia Async Scheduler Thread #0/INFO]: [Backuper] Backup process has been finished successfully! [15:24:55] [Server thread/INFO]: [Backuper] Backup process has been started [15:26:45] [Folia Async Scheduler Thread #1/INFO]: [Backuper] Backup process has been finished successfully!
Ok, thanks for your report, but I have to say that its not really an error. Backuper prevents world folders from modifying during the backup process because it might break your backup, so just ignore this error
Ok I see, sorry for the trouble
Everytime the auto-scheduled backup tries to backup my world it fails. But when I run the command it works just fine. Any help?
[10:25:10 INFO]: [Backuper] Backup process has been started [10:26:52 ERROR]: Failed to save level ./world java.nio.file.AccessDeniedException: ./world/level12129492956281235418.dat at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?] at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218) ~[?:?] at java.nio.file.Files.newByteChannel(Files.java:380) ~[?:?] at java.nio.file.Files.createFile(Files.java:658) ~[?:?] at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) ~[?:?] at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:159) ~[?:?] at java.nio.file.Files.createTempFile(Files.java:878) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveLevelData(LevelStorageSource.java:614) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveDataTag(LevelStorageSource.java:607) ~[?:?] at net.minecraft.server.level.ServerLevel.saveIncrementally(ServerLevel.java:1503) ~[?:?] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1536) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-430] at java.lang.Thread.run(Thread.java:840) ~[?:?] [10:26:52 ERROR]: Failed to save level ./world_nether java.nio.file.AccessDeniedException: ./world_nether/level14966274231964192496.dat at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?] at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218) ~[?:?] at java.nio.file.Files.newByteChannel(Files.java:380) ~[?:?] at java.nio.file.Files.createFile(Files.java:658) ~[?:?] at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) ~[?:?] at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:159) ~[?:?] at java.nio.file.Files.createTempFile(Files.java:878) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveLevelData(LevelStorageSource.java:614) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveDataTag(LevelStorageSource.java:607) ~[?:?] at net.minecraft.server.level.ServerLevel.saveIncrementally(ServerLevel.java:1503) ~[?:?] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1536) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-430] at java.lang.Thread.run(Thread.java:840) ~[?:?] [10:26:52 ERROR]: Failed to save level ./world_the_end java.nio.file.AccessDeniedException: ./world_the_end/level14422186950764156848.dat at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?] at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?] at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218) ~[?:?] at java.nio.file.Files.newByteChannel(Files.java:380) ~[?:?] at java.nio.file.Files.createFile(Files.java:658) ~[?:?] at java.nio.file.TempFileHelper.create(TempFileHelper.java:136) ~[?:?] at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:159) ~[?:?] at java.nio.file.Files.createTempFile(Files.java:878) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveLevelData(LevelStorageSource.java:614) ~[?:?] at net.minecraft.world.level.storage.LevelStorageSource$LevelStorageAccess.saveDataTag(LevelStorageSource.java:607) ~[?:?] at net.minecraft.server.level.ServerLevel.saveIncrementally(ServerLevel.java:1503) ~[?:?] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1536) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1216) ~[paper-1.20.4.jar:git-Paper-430] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-430] at java.lang.Thread.run(Thread.java:840) ~[?:?]