linuxserver / Heimdall

An Application dashboard and launcher
MIT License
7.46k stars 540 forks source link

redis extension missing #1326

Open jpylypiw opened 2 months ago

jpylypiw commented 2 months ago

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!

LinuxServer-CI commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.