Heimdall icon indicating copy to clipboard operation
Heimdall copied to clipboard

redis extension missing

Open jpylypiw opened this issue 2 months ago • 1 comments

Hello everyone! I am currently deploying Heimdall in Kubernetes and trying to connect the app stateless to databases. MySQL works fine, but with the Redis connection I get an error.

The following log is displayed in the output of the container:

   LogicException 
  Please make sure the PHP Redis extension is installed and enabled.
  at /app/www/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:81
     77▕     protected function createClient(array $config)
     78▕     {
     79▕         return tap(new Redis, function ($client) use ($config) {
     80▕             if ($client instanceof RedisFacade) {
  ➜  81▕                 throw new LogicException(
     82▕                     extension_loaded('redis')
     83▕                         ? 'Please remove or rename the Redis facade alias in your "app" configuration file in order to avoid collision with the PHP Redis extension.'
     84▕                         : 'Please make sure the PHP Redis extension is installed and enabled.'
     85▕                 );
      +16 vendor frames 
  17  /app/www/app/Providers/AppServiceProvider.php:41
      App\Jobs\ProcessApps::dispatch()
      +7 vendor frames 
  25  [internal]:0
      Illuminate\Foundation\Application::Illuminate\Foundation\{closure}()

When I run the command to list PHP modules, the following modules are displayed:

root@heimdall-server-6d5cfd478b-2q6gk:/# php -m
[PHP Modules]
Core
ctype
curl
date
dom
fileinfo
filter
hash
iconv
intl
json
libxml
mbstring
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
Phar
random
readline
Reflection
session
SimpleXML
SPL
standard
tokenizer
xml
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Can you check if the module is installed? Thank you very much!

jpylypiw avatar Apr 12 '24 15:04 jpylypiw