Skip to content

Bug report : Error when file is deleted whilst a backup is ongoing #103

@ModernGamingWorld

Description

@ModernGamingWorld

Describe the bug

I keep getting this on every single backup. this is even after a server wipe and it was even doing it before I wiped the server

[16:52:20] [AB Active Backup Thread/INFO] [co.he.ad.AdvancedBackups/]: Preparing differential backup with name:
backup_2025-01-19_16-52-20
[16:53:35] [AB Active Backup Thread/ERROR] [co.he.ad.AdvancedBackups/]: java.nio.file.NoSuchFileException: ./world/./level1398238387448972466.dat
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:171)
at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:374)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2820)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2857)
at TRANSFORMER/advancedbackups@3.6.5/computer.heather.advancedbackups.core.backups.ThreadedBackup.makeDifferentialOrIncrementalBackup(ThreadedBackup.java:298)
at TRANSFORMER/advancedbackups@3.6.5/computer.heather.advancedbackups.core.backups.ThreadedBackup.makeBackup(ThreadedBackup.java:150)
at TRANSFORMER/advancedbackups@3.6.5/computer.heather.advancedbackups.core.backups.ThreadedBackup.run(ThreadedBackup.java:82)

[16:53:35] [AB Active Backup Thread/ERROR] [co.he.ad.AdvancedBackups/]: ERROR MAKING BACKUP!
[16:53:35] [AB Active Backup Thread/ERROR] [co.he.ad.AdvancedBackups/]: java.nio.file.NoSuchFileException: ./world/./level1398238387448972466.dat
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:171)
at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:374)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2820)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2857)
at TRANSFORMER/advancedbackups@3.6.5/computer.heather.advancedbackups.core.backups.ThreadedBackup.makeDifferentialOrIncrementalBackup(ThreadedBackup.java:298)
at TRANSFORMER/advancedbackups@3.6.5/computer.heather.advancedbackups.core.backups.ThreadedBackup.makeBackup(ThreadedBackup.java:150)
at TRANSFORMER/advancedbackups@3.6.5/computer.heather.advancedbackups.core.backups.ThreadedBackup.run(ThreadedBackup.java:82)

[16:53:35] [Server thread/INFO] [co.he.ad.AdvancedBackups/]:


SAVING ENABLED - BACKUP COMPLETE!


To Reproduce
Steps to reproduce the behavior:
Hard to provide cause its happening on my server

Expected behavior
A clear and concise description of what you expected to happen.

A reason why this is happening

Screenshots
If applicable, add screenshots to help explain your problem.

Versioning (please complete the following information):

  • OS: [Not sure on server]
  • Minecraft Version(s): [1.20.1]
  • Modloader(s): [Forge]
  • Mod Version: [Latest]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions