Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis extension missing #1326

Open
jpylypiw opened this issue Apr 12, 2024 · 1 comment
Open

redis extension missing #1326

jpylypiw opened this issue Apr 12, 2024 · 1 comment

Comments

@jpylypiw
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Non-Docker Issues
Development

No branches or pull requests

2 participants