benotes icon indicating copy to clipboard operation
benotes copied to clipboard

Docker Install Errors Out With "Invalid Cache Path" When Running "php artisan install --only-user" Inside Container

Open Majoraslayer opened this issue 7 months ago • 7 comments

I'm following the guide here for a Docker install --> https://benotes.org/docs/installation/docker

Note, I'm running on Debian Bullseye. When I reach the step to run "php artisan install --only-user" inside of the container, I get the following output:

   InvalidArgumentException

  Please provide a valid cache path.

  at vendor/laravel/framework/src/Illuminate/View/Compilers/Compiler.php:36
     32▕      */
     33▕     public function __construct(Filesystem $files, $cachePath)
     34▕     {
     35▕         if (! $cachePath) {
  ➜  36▕             throw new InvalidArgumentException('Please provide a valid cache path.');
     37▕         }
     38▕
     39▕         $this->files = $files;
     40▕         $this->cachePath = $cachePath;

      +20 vendor frames
  21  [internal]:0
      Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(Facade\Ignition\IgnitionServiceProvider))

      +5 vendor frames
  27  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

Majoraslayer avatar Jul 12 '24 15:07 Majoraslayer