Bug 2364630 - Upgrade to cacti 1.2.30 breaks config.php symlink
Summary: Upgrade to cacti 1.2.30 breaks config.php symlink
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: cacti
Version: epel9
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-07 07:11 UTC by Blair Harrison
Modified: 2025-07-18 01:26 UTC (History)
2 users (show)

Fixed In Version: cacti-1.2.30-2.el9 cacti-1.2.30-2.el8
Clone Of:
Environment:
Last Closed: 2025-07-18 00:26:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Blair Harrison 2025-05-07 07:11:26 UTC
Description of problem:

When upgrading the package to 1.2.30, the config.php symlink from /etc/cacti/db.php to /usr/share/cacti/include.config.php is removed.
This results in a broken install, with the login screen displaying 

FATAL: Connection to Cacti database failed. Please ensure:

the PHP MySQL module is installed and enabled.
the database is running.
the credentials in config.php are valid.


Version-Release number of selected component (if applicable):

1.2.30

How reproducible:

Have not had time to actually try and reproduce, but I found a reference to this on the cacti forum already so someone else has experienced this - 

https://forums.cacti.net/viewtopic.php?t=63936

Steps to Reproduce:
1. install old version 1.2.27-1.el9 , configure as usual

2. install new version 1.2.30-1.el9


Actual results:
Install is broken after upgrade

Expected results:
Version upgrade should not break install

Additional info:
This took approx 25 minutes to diagnose what had gone wrong, since I hadn't changed the database configuration, and the file at /etc/cacti/db.php was intact.

Comment 1 Fedora Update System 2025-07-08 04:15:42 UTC
FEDORA-EPEL-2025-0c7ba662c8 (cacti-1.2.30-2.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-0c7ba662c8

Comment 2 Fedora Update System 2025-07-10 14:41:02 UTC
FEDORA-EPEL-2025-5ff38e1211 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-5ff38e1211

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2025-07-10 15:10:38 UTC
FEDORA-EPEL-2025-0c7ba662c8 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-0c7ba662c8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2025-07-18 00:26:00 UTC
FEDORA-EPEL-2025-0c7ba662c8 (cacti-1.2.30-2.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2025-07-18 01:26:32 UTC
FEDORA-EPEL-2025-5ff38e1211 (cacti-1.2.30-2.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.