tar: Damaged tar archive

Started by ColeTrain, January 21, 2025, 05:24:59 AM

Previous topic - Next topic

Hi, the situation is, I updated to 24.7.12.  Everything seemed fine.
[I needed to move some plugs around]
Pressed "shutdown" on the GUI.  GUI said it was shutting down.
A minute or so went by.
it had not shut down so I used the terminal screen "5 Power off the system"
[did my stuff]
went to turn it back on.  As said in this post.
    tar: Retrying... 
    tar: Damaged tar archive 
    tar: Retrying... 
    tar: Damaged tar archive 
    tar: Retrying...`

https://forum.opnsense.org/index.php?topic=15735.0


As this thread said control-c saved the day.  It just booted.
As the thread said, I have now, (not before) "System: Settings: Miscellaneous and set "disable" for all periodic backups."

I am on the "hobbyist" side of the experience fence here.  I am scared to death to reboot.  I powered off to add a UPS, so that is good, but one day I will have to update.  Perhaps my double "shut down" didn't let the periodic backup work?

DO YOU THINK ALL IS SAFE?  Or should I reinstall and restore configs?  I don't have a broken device do I? I have not touched it as its working.

Thank you in advance.

First of all, save the current config stratight away just in case. I trust it is obvious to save it to somewhere not the OPN machine itself.
In my opinion you want to find out now not later after more configuration changes, so I would reboot now and have ready an available install image and a machine you can work from. No internet will be fine if you have downloaded the image and can then create a live installer ie liveusb.

Better to turn off backups in System: Settings: Misc -- likely caused by a damaged netflow backup


January 25, 2025, 06:05:17 AM #4 Last Edit: January 27, 2025, 04:47:13 AM by ColeTrain
Quote from: franco on January 21, 2025, 11:32:48 AMBetter to turn off backups in System: Settings: Misc -- likely caused by a damaged netflow backup

Quote from: cookiemonster on January 21, 2025, 10:45:23 AMyou want to find out now not later

Well, I turned off backups as above.  had a backup and installer ready. The reboot went without any issue.

Dare I try turning the backup back on?  Or just leave it off forever?

Quote from: franco on January 21, 2025, 11:32:48 AMBetter to turn off backups in System: Settings: Misc -- likely caused by a damaged netflow backup

I also encountered this damaged netflow backup problem. It was preventing the firewall's ability to boot. I manually deleted the /conf/netflow.tgz and cleaned out /var/netflow. I'm turning off the "Capture Local" netflow setting that saves data locally because this is just too dangerous to have such a situation where the firewall can fail like this.

IMHO best run only the netflow collector on OPNsense and push the data to an external system built for the task like ElastiFlow.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)