Hey, at least it's not a post about OAuth...
(Rocky 9 vm, oSticket 1.17 with OSticket Awesome)
We upgraded MariaDb on our helpdesk vm this morning. This requires uninstalling it and reinstalling it, leaving the databases and grants as they were. It's a fairly straightforward process that we've done a few dozen times before and all went well from the db side.
However, 500 errors from osticket afterwards with no useful error messages from Apache in any of its logs. I enabled show_errors in php and restarted the vm, and got this when accessing any page;
Fatal error: Uncaught Error: Class "Mailer" not found in /var/www/html/osticket/bootstrap.php:318 Stack trace: #0 /var/www/html/osticket/bootstrap.php(204): Bootstrap::croak() #1 /var/www/html/osticket/main.inc.php(28): Bootstrap::connect() #2 /var/www/html/osticket/client.inc.php(21): require_once('...') #3 /var/www/html/osticket/index.php(16): require('...') #4 {main} thrown in /var/www/html/osticket/bootstrap.php on line 318
I've double checked no packages got removed that weren't directly related (Log below) but this feels environmental and am wondering what might have changed.
We were under pressure to get this back up so reverted to a pre-update snapshot.
We'll need to take another run at this at some point, so has anyone met something like this before and might be able to share some hints?
Thanks
2022-10-28T08:01:09+0100 DEBUG --> Finding unneeded leftover dependencies
2022-10-28T08:01:09+0100 DEBUG ---> Package mariadb.x86_64 3:10.5.16-2.el9_0 will be erased
2022-10-28T08:01:09+0100 DEBUG ---> Package mariadb-backup.x86_64 3:10.5.16-2.el9_0 will be erased
2022-10-28T08:01:09+0100 DEBUG ---> Package mariadb-common.x86_64 3:10.5.16-2.el9_0 will be erased
2022-10-28T08:01:09+0100 DEBUG ---> Package mariadb-errmsg.x86_64 3:10.5.16-2.el9_0 will be erased
2022-10-28T08:01:09+0100 DEBUG ---> Package mariadb-gssapi-server.x86_64 3:10.5.16-2.el9_0 will be erased
2022-10-28T08:01:09+0100 DEBUG ---> Package mariadb-server.x86_64 3:10.5.16-2.el9_0 will be erased
2022-10-28T08:01:09+0100 DEBUG ---> Package mariadb-server-utils.x86_64 3:10.5.16-2.el9_0 will be erased
2022-10-28T08:01:09+0100 DEBUG ---> Package mysql-selinux.noarch 1.0.5-1.el9_0 will be erased
2022-10-28T08:01:09+0100 DEBUG ---> Package perl-DBD-MariaDB.x86_64 1.21-16.el9_0 will be erased
2022-10-28T08:01:09+0100 DEBUG ---> Package perl-File-Copy.noarch 2.34-479.el9 will be erased
2022-10-28T08:01:09+0100 DEBUG ---> Package perl-Sys-Hostname.x86_64 1.23-479.el9 will be erased
2022-10-28T08:01:09+0100 DEBUG --> Finished dependency resolution
2022-10-28T08:01:29+0100 DEBUG --> Starting dependency resolution
2022-10-28T08:01:29+0100 DEBUG ---> Package ndctl-libs.x86_64 71.1-6.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package daxctl-libs.x86_64 71.1-6.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package socat.x86_64 1.7.4.1-5.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package libpmem.x86_64 1.10.1-2.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package perl-Sys-Hostname.x86_64 1.23-479.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package perl-File-Copy.noarch 2.34-479.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package boost-program-options.x86_64 1.75.0-6.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package MariaDB-client.x86_64 10.6.10-1.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package MariaDB-common.x86_64 10.6.10-1.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package MariaDB-server.x86_64 10.6.10-1.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package MariaDB-shared.x86_64 10.6.10-1.el9 will be installed
2022-10-28T08:01:29+0100 DEBUG ---> Package mariadb-connector-c.x86_64 3.2.6-1.el9_0 will be obsoleted
2022-10-28T08:01:29+0100 DEBUG ---> Package mariadb-connector-c-config.noarch 3.2.6-1.el9_0 will be obsoleted
2022-10-28T08:01:29+0100 DEBUG ---> Package galera-4.x86_64 26.4.12-1.el9 will be installed
```
perl-DBD-MariaDB installed manually after this.