Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration backup file date issues (diag_confbak.php) #202

Closed
jschellevis opened this issue Jun 1, 2015 · 1 comment
Closed

Configuration backup file date issues (diag_confbak.php) #202

jschellevis opened this issue Jun 1, 2015 · 1 comment
Labels
bug Production bug

Comments

@jschellevis
Copy link
Member

From Forum by Gpac (https://forum.opnsense.org/index.php?topic=526.msg1740#msg1740)

My platform : Alix SD3 (time is lost when power-off).
OPNsense release : 15.1.11.1 nano

System made automatically some backups before syncing time with NTP server => these backups appears dated 1/1/2000 from CLI with file names config-946685???.xml

From web GUI they appear "Unknown" date.

From GUI trying to remove those with "Unknown" do not work (I think because malformation of URL which didn't get proper backup file no : https://192.168.2.1/diag_confbak.php?rmver=)

From GUI trying to remove those with a date works bizarrely :

  • clicking on the "x" seems to work (we go to confirmation screen)
  • file is actually removed from the disk & GUI says "Deleted Backup...", but stays with the confirmation screen.
    If you click on "Config History" to reload the list of backups, the deleted backup is still present in the list.
@jschellevis jschellevis added the bug Production bug label Jun 1, 2015
@AdSchellevis
Copy link
Member

code tried to remove filename by revision id in the file it self, if for some reason they are not 100% in sync this fails.
Changed to search by revision id and put some quick fixes in the gui part.
For details, see 949542d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Production bug
Development

No branches or pull requests

2 participants