Bug 2364630

Summary: Upgrade to cacti 1.2.30 breaks config.php symlink
Product: [Fedora] Fedora EPEL Reporter: Blair Harrison <blair>
Component: cactiAssignee: Orphan Owner <extras-orphan>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: extras-orphan, imlinux+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

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.