os-git-backup: Backups silently fail, web UI claims everything works
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:
- Set up backup to Git via web UI
- Click
Setup/Test Git - web UI claims everything is fine
- 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.
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.