plugins icon indicating copy to clipboard operation
plugins copied to clipboard

os-git-backup: Backups silently fail, web UI claims everything works

Open andanotheruser opened this issue 6 months ago • 0 comments

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

  • [x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
  • [x] I have searched the existing issues, open and closed, and I'm convinced that mine is new. (similar to https://github.com/opnsense/plugins/issues/4143, but not sure it's the same issue)
  • [x] The title contains the plugin to which this issue belongs

Describe the bug A clear and concise description of what the bug is, including last known working version (if any).

Backups silently fail after setting them up via web UI. Yet the web UI would claim:

Backup successful, current file list:

config.xml

No changes were pushed to Git.

Backus would actually get pushed to Git after running this command:

git config push.autoSetupRemote true

Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)

To Reproduce Steps to reproduce the behavior:

  1. Set up backup to Git via web UI
  2. Click Setup/Test Git
  3. web UI claims everything is fine
  4. nothing pushed to git

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

Changes are pushed to Git.

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

Image

Relevant log files If applicable, information from log files supporting your claim.

Couldn't find any log files containing errors regarding this issue.

Additional context Add any other context about the problem here.

andanotheruser avatar Jun 04 '25 11:06 andanotheruser