I am updating a server from V4.5.0.3 to V4.5.0-7
After updating if I try to make any change to the config I get a Fatal Error: Uncaught Error Class “Redis” not found
Can anyone point me to what I may have missed?
Thanks
Here is the full error:
Fatal error : Uncaught Error: Class “Redis” not found in /usr/share/vitalpbx/www/includes/components/Cache/RedisCache.php:0 Stack trace: #0 /usr/share/vitalpbx/www/includes/components/Cache/RedisCache.php(0): Cache\RedisCache::connect() #1 /usr/share/vitalpbx/www/modules/extensions/Models/Extension.php(0): Cache\RedisCache::delete() #2 /usr/share/vitalpbx/www/modules/extensions/Models/Extension.php(0): modules\extensions\Models\Extension::_cleanCache() #3 /usr/share/vitalpbx/www/modules/extensions/DBStorage.php(0): modules\extensions\Models\Extension->save() #4 /usr/share/vitalpbx/www/modules/extensions/DBStorage.php(0): modules\extensions\DBStorage::putExtension() #5 /usr/share/vitalpbx/www/modules/extensions/DBStorage.php(0): modules\extensions\DBStorage::save() #6 /usr/share/vitalpbx/www/modules/extensions/extensions.php(0): modules\extensions\DBStorage::put() #7 /usr/share/vitalpbx/www/includes/app/Core.php(0): modules\extensions\extensions->put() #8 /usr/share/vitalpbx/www/includes/app/Core.php(0): app\Core->loadModuleAction() #9 /usr/share/vitalpbx/www/includes/app/Core.php(0): app\Core->_loadModule() #10 /usr/share/vitalpbx/www/index.php(0): app\Core->run() #11 {main} thrown in /usr/share/vitalpbx/www/includes/components/Cache/RedisCache.php on line 0
Do the update via the command line using the commands below.
apt clean all
apt update
apt upgrade -y
I have updated with the provided commands, Now I have an issue with ioncube and the page won’t load, can you help?
Script error: the ionCube Loader for PHP needs to be installed. The ionCube Loader is the industry standard PHP extension for running protected PHP code, and can usually be added easily to a PHP installation. For Loaders please visit get-loader.ioncube.com and for an instructional video please see http://ioncu.be/LV
The package is in the repo!
apt install php-ioncube-loader -y
Then, reload the PHP-FPM service.
systemctl reload php8.2-fpm.service
apt install php-ioncube-loader -y
It says it is already installed
php-ioncube-loader is already the newest version (14.4.0).
I reloaded and restarted the service but the page won’t load
systemctl status php8.2-fpm.service
● php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.2-fpm.service; enabled; preset: enabled)
I can start over if needed
Thanks
OK I have found the issue, somehow there was another version of php running. I have it fixed. Thank you for the help
How exactly solved? Thanks
This server was one I spun up during 4.5 training class. I’m not sure how or why but a different version of php was running after I upgraded. I disabled the service for php version I think 8.3 and restarted php8.2 that allowed the pages to load without the icocube loader error. However, after that I still had the regis error and I didn’t want to bother with this server since it seemed to be somewhat of a botched install. So I started clean and I have set up a new 4.5.0-7 and it seems good.
Thanks for the help
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.