campsych / concerto-platform

Concerto Platform - Open-Source Online Adaptive Testing Platform
https://concertoplatform.com/
Apache License 2.0
153 stars 88 forks source link

[Error] Unable to create the "cache" #351

Open RayFabian-RF opened 1 year ago

RayFabian-RF commented 1 year ago

Hello, I am trying to run my own Concerto in VM. I already follow step by-step in Concerto Documentation with Nginx as a web server. I already run my Symfony. Note: I have minimum knowledge in Server Setup Screen Shot 2022-12-27 at 00 28 17

Concerto Platform version

Running in Concerto 5.0-dev

Expected behavior

Running application after setting up my own virtual web

Actual behavior

2022/12/26 17:25:37 [error] 33622#33622: *7 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught RuntimeException: Unable to create the "cache" directory (/var/www/concerto/var/cache/prod). in /var/www/concerto/vendor/symfony/symfony/src/Symfony/Component/H>
Stack trace:
#0 /var/www/concerto/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(642): Symfony\Component\HttpKernel\Kernel->buildContainer()
#1 /var/www/concerto/app/AppKernel.php(70): Symfony\Component\HttpKernel\Kernel->initializeContainer()
#2 /var/www/concerto/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(135): AppKernel->initializeContainer()
#3 /var/www/concerto/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(195): Symfony\Component\HttpKernel\Kernel->boot()
#4 /var/www/concerto/web/app.php(24): Symfony\Component\HttpKernel\Kernel->handle()

Is there any solution or pointing direction what should I do from here?