Closed 1.0.0: [2.0.2] FTB Utilities Backup Failure

mti_

New Member
Jul 29, 2019
126
0
0
Version:
1.0.0

What is the bug:
Worked fine before. Suddenly fails to backup.

[01:59:34] [Thread-26/INFO]: §dStarting server backup, expect lag!
[01:59:34] [Thread-26/INFO]: Saving...
[01:59:34] [Thread-26/INFO]: commands.save.flushStart
[01:59:35] [Thread-26/INFO]: commands.save.flushEnd
[01:59:35] [Thread-26/INFO]: Saved the world
[01:59:35] [Thread-26/INFO]: Turned off world auto-saving
[01:59:35] [Thread-26/INFO] [FTBLib]: Backing up 544 files...
[01:59:35] [Thread-26/INFO] [FTBLib]: Compressing 544 files!
[01:59:35] [Thread-26/INFO] [FTBLib]: [0 | 0.00%]: world/cofh/EnderFrequencies.cfg
[01:59:37] [Thread-26/INFO]: §4Failed to save world! (java.io.FileNotFoundException)
[01:59:37] [Thread-26/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.io.FileNotFoundException: ./world/level.dat_new (No such file or directory)
[01:59:37] [Thread-26/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.io.FileInputStream.open(Native Method)
[01:59:37] [Thread-26/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.io.FileInputStream.<init>(FileInputStream.java:146)
[01:59:37] [Thread-26/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at latmod.ftbu.world.ThreadBackup.run(ThreadBackup.java:93)
[01:59:37] [Thread-26/INFO]: Turned on world auto-saving

E: Has not happened recently. Setting this to resolved even if there was no feedback on what caused it.
 
Last edited:

mti_

New Member
Jul 29, 2019
126
0
0
Version:
1.0.0

What is the bug:
Worked fine before. Suddenly fails to backup.

[01:59:34] [Thread-26/INFO]: §dStarting server backup, expect lag!
[01:59:34] [Thread-26/INFO]: Saving...
[01:59:34] [Thread-26/INFO]: commands.save.flushStart
[01:59:35] [Thread-26/INFO]: commands.save.flushEnd
[01:59:35] [Thread-26/INFO]: Saved the world
[01:59:35] [Thread-26/INFO]: Turned off world auto-saving
[01:59:35] [Thread-26/INFO] [FTBLib]: Backing up 544 files...
[01:59:35] [Thread-26/INFO] [FTBLib]: Compressing 544 files!
[01:59:35] [Thread-26/INFO] [FTBLib]: [0 | 0.00%]: world/cofh/EnderFrequencies.cfg
[01:59:37] [Thread-26/INFO]: §4Failed to save world! (java.io.FileNotFoundException)
[01:59:37] [Thread-26/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.io.FileNotFoundException: ./world/level.dat_new (No such file or directory)
[01:59:37] [Thread-26/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.io.FileInputStream.open(Native Method)
[01:59:37] [Thread-26/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.io.FileInputStream.<init>(FileInputStream.java:146)
[01:59:37] [Thread-26/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at latmod.ftbu.world.ThreadBackup.run(ThreadBackup.java:93)
[01:59:37] [Thread-26/INFO]: Turned on world auto-saving
Known Fix:

Has worked since but has failed again on random occasion.
 

mti_

New Member
Jul 29, 2019
126
0
0
Only seems to fail on random occasion now.

du -h | grep 4.0K
returns

4.0K ./2015-11-03-01-59-34
4.0K ./2015-11-03-01-15-30
4.0K ./2015-11-04-15-56-07

which is 3 failed attempts out of all saves I have to reference.
I save at an interval of 30min and I assume you currently have the maximum number of backups that can be saved capped at 100, correct?
 

mti_

New Member
Jul 29, 2019
126
0
0
I have checked the syslog and found the following:

kernel: [243411.886092] {5}[Hardware Error]: Hardware error from APEI Generic Hardware Er
ror Source: 1
kernel: [243411.902782] {5}[Hardware Error]: It has been corrected by h/w and requires no
further action
kernel: [243411.919820] {5}[Hardware Error]: event severity: corrected
kernel: [243411.930955] {5}[Hardware Error]: Error 0, type: corrected
kernel: [243411.942112] {5}[Hardware Error]: fru_text: CorrectedErr
kernel: [243411.952899] {5}[Hardware Error]: section_type: memory error
This happens everytime there is a (successful) backup.

Until eventually this happens:
kernel:[245158.251364] {6}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 0
kernel:[245158.683076] {6}[Hardware Error]: event severity: fatal
kernel:[245158.695566] {6}[Hardware Error]: Error 0, type: fatal
kernel:[245159.123838] {6}[Hardware Error]: fru_text: UncorrectedErr
kernel:[245159.351546] {6}[Hardware Error]: section_type: memory error
kernel:[245159.379012] Kernel panic - not syncing: Fatal hardware error!
kernel:[245160.024586] Kernel Offset: 0x0 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffff9fffffff)
Which makes the entire hardware box unresponsive and in need of a hard reset. Furthermore this corrupts the current world file.
This has happened twice now.

Unfortunately this means that FTBUtilities backup is currently not only unreliable but has the potential to corrupt world files and stall entire servers.
Until this is resolved I would like to see AromaCore distributed by default again since it appears that it now includes 2 items that will not allow it to run server side only.
 

Zaflis

New Member
Jul 29, 2019
184
0
0
Is there anything else important in FTBUtilities? If not, i could just remove it from mods and put AromaBackup in place. That mod has never failed me yet. I didn't find any config for FTBUtilities to disable backups.

Code:
[09:58:00] [Thread-27/INFO]: ºdStarting server backup, expect lag!
[09:58:00] [Thread-27/INFO]: Turned off world auto-saving
[09:58:00] [Thread-27/INFO]: Saving...
[09:58:00] [Thread-27/INFO]: commands.save.flushStart
[09:58:00] [Thread-27/INFO]: commands.save.flushEnd
[09:58:00] [Thread-27/INFO]: Saved the world
[09:58:00] [Thread-27/INFO] [FTBU Backups]: Backing up 136 files...
[09:58:00] [Thread-27/INFO] [FTBU Backups]: Compressing 136 files!
[09:58:00] [Thread-27/INFO] [FTBU Backups]: [0 | 0,00%]: world\AE2\compass\-1858.dat
[09:58:00] [Thread-27/INFO]: º4Failed to save world! (java.io.IOException)
[09:58:00] [Thread-27/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.io.IOException: Stream closed
[09:58:00] [Thread-27/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:      at java.util.zip.ZipOutputStream.ensureOpen(Unknown Source)
[09:58:00] [Thread-27/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:      at java.util.zip.ZipOutputStream.putNextEntry(Unknown Source)
[09:58:00] [Thread-27/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]:      at latmod.ftbu.world.ThreadBackup.run(ThreadBackup.java:94)
[09:58:00] [Thread-27/INFO]: Turned on world auto-saving

This is on FTB Infinity evolved 2.3.0 in expert mode.
 

mti_

New Member
Jul 29, 2019
126
0
0
In
Code:
~/local/ftbu/config.json
set
Code:
"backupTimer": 0,
No need to get rid of FTBU completely to add Aroma.
Unfortunately, last time I tried Aroma Core (dependency) added an item which requires your users to manuallay edit the modpack which made it a no-go for me, personally. What a shame (and not the best practise to add items to your core mod that supports server-side only tools).

On an unrelated note Id like to add that Id like to keep more than 100 backups which currently seems to be the cap. I backup every 30 minutes which results in me being able to store just over 2 days worth of backups. This means that problems in remote areas of the map/bases and different dimensions might be caught too late for me to fix if I (as a sole server admin) can not get on every day due to work or w/e.
 
Last edited:

LatvianModder

FTB Mod Developer
Team Member
FTB Mod Dev
Jul 29, 2019
18
0
1
27
Latvia
latvian.dev
This was fixed in 2.3.something. And the reason Aroma added item was the reason we had to make our own system, because server owners need to be able to add and remove server utility mods whenever they want without interacting with clients. Morpheus, for example