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: NEW
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-05-07 07:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
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.


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