Skip to content

Got error cachePath when installing on kubernetes #96

Description

@mhwahyudi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions