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

Got error cachePath when installing on kubernetes #96

Open
mhwahyudi opened this issue Aug 1, 2022 · 0 comments
Open

Got error cachePath when installing on kubernetes #96

mhwahyudi opened this issue Aug 1, 2022 · 0 comments

Comments

@mhwahyudi
Copy link

Hi Devs,

I got errors like below when I starting the image from docker and installing on kubernetes. Is there any advice or maybe there is someone that ever got same error like me.

Image: https://hub.docker.com/r/dreamfactorysoftware/dreamfactory/tags

I use environment like below:
SERVERNAME:
DB_DRIVER: pgsql
DB_HOST: host-db
DB_USERNAME: dreamfactory
DB_PASSWORD: password
DB_DATABASE: dreamfactory
CACHE_DRIVER: redis
CACHE_HOST: host-redis
CACHE_DATABASE: '0'
CACHE_PORT: '6379'
APP_KEY: api_key

Error:

#5 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(770): Illumina...PHP message: PHP Fatal error:  Uncaught InvalidArgumentException: Please provide a valid cache path. in /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/View/Compilers/Compiler.php:36
Stack trace:
#0 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/View/ViewServiceProvider.php(92): Illuminate\View\Compilers\Compiler->__construct()
#1 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Container/Container.php(799): Illuminate\View\ViewServiceProvider->Illuminate\View\{closure}()
#2 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Container/Container.php(681): Illuminate\Container\Container->build()
#3 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(785): Illuminate\Container\Container->resolve()
#4 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Container/Container.php(629): Illuminate\Foundation\Application->resolve()
#5 /opt/dreamfactory/vendor/laravel/framework/src/Illumin`

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant