Bug 2091514
| Summary: | Any changes to the config using web interface results in BackupPC failing | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | ceredigj |
| Component: | BackupPC | Assignee: | Richard Shaw <hobbes1069> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 36 | CC: | g.devel, hobbes1069, ifettich |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | BackupPC-4.4.0-8.fc36 BackupPC-4.4.0-8.fc37 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-01 09:40:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I haven't updated yet to Fedora 36 but I'm installing in a virtual machine right now. Purely a guess that it's the problem, but it looks like curly braces {} are being replaced with ().
Upstream issue submitted. There was an earlier issue reported on github but no progress. https://github.com/backuppc/backuppc/issues/457 https://github.com/backuppc/backuppc/issues/466 has a solution. It is a small patch that can easily be done manually till things get sorted out by packagers as well. FEDORA-2022-4068ae6010 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-4068ae6010 FEDORA-2022-5248dee7a8 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5248dee7a8 FEDORA-2022-5248dee7a8 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-5248dee7a8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-5248dee7a8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-4068ae6010 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-4068ae6010` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4068ae6010 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-4068ae6010 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2022-5248dee7a8 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: Any changes to BackuppC's configuration using the web interface results in BackupPC exiting with an error. This problem does not occur on Fedora 34 with BackupPC 4.4.0 & Perl v5.32.1. It appears that arrays are being changed into strings. Apologise in advance as this is my first hand written bug report. Version-Release number of selected component (if applicable): BackupPC 4.4.0 & Perl v5.34.1 How reproducible: Very Steps to Reproduce: Any change to the configuration using the web interface Actual results: Web interface reports error: Not an ARRAY reference at /usr/share/BackupPC/lib/BackupPC/CGI/Lib.pm line 468. Log file states: Can't use string ("23") as an ARRAY ref while "strict refs" in use at /usr/share/BackupPC/bin/BackupPC line 868. Expected results: Additional info: