Here is my setup:
You are running version 1.12.6 of Open-AudIT.
Your Host is: openaudit, and it's OS is Linux.
Your database platform is mysql (version 5.7.12).
Your web server is Apache/2.4.18 (Fedora) PHP/5.6.22 .
Your PHP version is 5.6.22 and it's running in timezone America/New_York.
I am running Fedora 23 and I ran into some problems initially installing Open-Audit regarding mysql. The installer never seems to believe that I have mysql installed, though it clearly is, as can be seen above. I was able to get Open-Audit 1.12.6 running with no issue and I have been using it for a few months. I am preparing to expand our usage of it, as well as grow into the full Enterprise version, so I was performing an upgrade today.
As I ran the installer, unfortunately it also failed to detect mysql. I proceeded through the installation and it seemed to complete correctly. I was able to connect to the interface and received instruction to upgrade the database. This is where the failure occurred (see below):
Quote:
A Database Error Occurred
Error Number: 1452
Cannot add or update a child row: a foreign key constraint fails (`openaudit`.`#sql-8c0_b00`, CONSTRAINT `audit_log_system_id` FOREIGN KEY (`system_id`) REFERENCES `system` (`id`) ON DELETE CASCADE)
ALTER TABLE audit_log ADD CONSTRAINT audit_log_system_id FOREIGN KEY (system_id) REFERENCES system (id) ON DELETE CASCADE
Filename: controllers/admin.php
Line Number: 5312
After this happened, I was no longer able to connect to the Open-Audit interface at all. I am now receiving the following error:
Quote:
A Database Error Occurred
Error Number: 1054
Unknown column 'system_id' in 'field list'
/* M_oa_config::load_config */ SELECT count(system_id) as device_count FROM system WHERE man_status = 'production'
Filename: models/m_oa_config.php
Line Number: 166
Can you offer any suggestions? Thanks,
-Nick