poc.api.sesahub.safran.sesa-systems-digital.com
Open in
urlscan Pro
54.37.80.240
Public Scan
URL:
https://poc.api.sesahub.safran.sesa-systems-digital.com/
Submission: On September 28 via api from US — Scanned from FR
Submission: On September 28 via api from US — Scanned from FR
Form analysis
0 forms found in the DOMText Content
You're seeing this page because you haven't configured any homepage URL and debug mode is enabled. WELCOME TO SYMFONY 6.3.12 /var/www/html/api/ Your application is now ready and you can start working on it. DOCUMENTATION Guides, components, references TUTORIALS Create your first page COMMUNITY Connect, get help, or contribute Loading… Loading the web debug toolbar… Attempt #1 Cancel Unable to create the storage directory (/var/www/html/api/var/cache/dev/profiler/a3/50). (500 Internal Server Error) SYMFONY EXCEPTION Symfony Docs RUNTIMEEXCEPTION HTTP 500 INTERNAL SERVER ERROR UNABLE TO CREATE THE STORAGE DIRECTORY (/VAR/WWW/HTML/API/VAR/CACHE/DEV/PROFILER/A3/50). Exception Logs 3 Stack Trace EXCEPTION RUNTIMEEXCEPTION in vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php (line 131) 126. $profileIndexed = is_file($file); 127. if (!$profileIndexed) { 128. // Create directory 129. $dir = \dirname($file); 130. if (!is_dir($dir) && false === @mkdir($dir, 0777, true) && !is_dir($dir)) { 131. throw new \RuntimeException(sprintf('Unable to create the storage directory (%s).', $dir)); 132. } 133. } 134. 135. $profileToken = $profile->getToken(); 136. // when there are errors in sub-requests, the parent and/or children tokens in vendor/symfony/http-kernel/Profiler/Profiler.php -> write (line 104) 99. if ($collector instanceof LateDataCollectorInterface) { 100. $collector->lateCollect(); 101. } 102. } 103. 104. if (!($ret = $this->storage->write($profile)) && null !== $this->logger) { 105. $this->logger->warning('Unable to store the profiler information.', ['configured_storage' => $this->storage::class]); 106. } 107. 108. return $ret; 109. } in vendor/symfony/http-kernel/EventListener/ProfilerListener.php -> saveProfile (line 135) 130. } 131. } 132. 133. // save profiles 134. foreach ($this->profiles as $request) { 135. $this->profiler->saveProfile($this->profiles[$request]); 136. } 137. 138. $this->profiles = new \SplObjectStorage(); 139. $this->parents = new \SplObjectStorage(); 140. } in vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> onKernelTerminate (line 116) 111. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); 112. 113. $e = $this->stopwatch->start($this->name, 'event_listener'); 114. 115. try { 116. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); 117. } finally { 118. if ($e->isStarted()) { 119. $e->stop(); 120. } 121. } in vendor/symfony/event-dispatcher/EventDispatcher.php -> __invoke (line 220) 215. 216. foreach ($listeners as $listener) { 217. if ($stoppable && $event->isPropagationStopped()) { 218. break; 219. } 220. $listener($event, $eventName, $this); 221. } 222. } 223. 224. /** 225. * Sorts the internal list of listeners for the given event by priority. in vendor/symfony/event-dispatcher/EventDispatcher.php -> callListeners (line 56) 51. } else { 52. $listeners = $this->getListeners($eventName); 53. } 54. 55. if ($listeners) { 56. $this->callListeners($listeners, $eventName, $event); 57. } 58. 59. return $event; 60. } 61. in vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 139) 134. try { 135. $this->beforeDispatch($eventName, $event); 136. try { 137. $e = $this->stopwatch->start($eventName, 'section'); 138. try { 139. $this->dispatcher->dispatch($event, $eventName); 140. } finally { 141. if ($e->isStarted()) { 142. $e->stop(); 143. } 144. } in vendor/symfony/http-kernel/HttpKernel.php -> dispatch (line 115) 110. /** 111. * @return void 112. */ 113. public function terminate(Request $request, Response $response) 114. { 115. $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE); 116. } 117. 118. /** 119. * @internal 120. */ in vendor/symfony/http-kernel/Kernel.php -> terminate (line 157) 152. if (false === $this->booted) { 153. return; 154. } 155. 156. if ($this->getHttpKernel() instanceof TerminableInterface) { 157. $this->getHttpKernel()->terminate($request, $response); 158. } 159. } 160. 161. /** 162. * @return void in vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php -> terminate (line 39) 34. { 35. $response = $this->kernel->handle($this->request); 36. $response->send(); 37. 38. if ($this->kernel instanceof TerminableInterface) { 39. $this->kernel->terminate($this->request, $response); 40. } 41. 42. return 0; 43. } 44. } in vendor/autoload_runtime.php -> run (line 29) 24. $app = $app(...$args); 25. 26. exit( 27. $runtime 28. ->getRunner($app) 29. ->run() 30. ); 31. require_once('/var/www/html/api/vendor/autoload_runtime.php') in public/index.php (line 6) 1. <?php 2. 3. use App\Kernel; 4. 5. 6. require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; 7. 8. 9. return function (array $context) { 10. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); 11. }; LOGS 3 Level * Emergency * Alert * Critical * Error * Warning * Notice * Info * Debug Channel * deprecation * event * request * php Message INFO 11:22:50 deprecation User Deprecated: Since symfony/serializer 6.3: Not implementing the "NormalizerInterface::getSupportedTypes()" in "App\Serializer\MediaObjectDenormalizer" is deprecated. { "exception": {} } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest". { "event": "kernel.request", "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest" } ERROR 11:22:50 request Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET http://poc.api.sesahub.safran.sesa-systems-digital.com/"" at /var/www/html/api/vendor/symfony/http-kernel/EventListener/RouterListener.php line 127 { "exception": {} } DEBUG 11:22:50 event Notified event "kernel.exception" to listener "ApiPlatform\Symfony\Validator\EventListener\ValidationExceptionListener::onKernelException". { "event": "kernel.exception", "listener": "ApiPlatform\\Symfony\\Validator\\EventListener\\ValidationExceptionListener::onKernelException" } DEBUG 11:22:50 event Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::logKernelException". { "event": "kernel.exception", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::logKernelException" } DEBUG 11:22:50 event Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelException". { "event": "kernel.exception", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelException" } DEBUG 11:22:50 event Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelException". { "event": "kernel.exception", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelException" } DEBUG 11:22:50 event Listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelException" stopped propagation of the event "kernel.exception". { "event": "kernel.exception", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelException" } DEBUG 11:22:50 event Listener "ApiPlatform\Symfony\EventListener\ExceptionListener::onKernelException" was not called for event "kernel.exception". { "event": "kernel.exception", "listener": "ApiPlatform\\Symfony\\EventListener\\ExceptionListener::onKernelException" } DEBUG 11:22:50 event Listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onKernelException" was not called for event "kernel.exception". { "event": "kernel.exception", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onKernelException" } INFO 11:22:50 deprecation User Deprecated: Version detection logic for MySQL will change in DBAL 4. Please specify the version as the server reports it, e.g. "5.7.40" instead of "5.7". (AbstractMySQLDriver.php:82 called by AbstractDriverMiddleware.php:68, https://github.com/doctrine/dbal/pull/5779, package doctrine/orm) { "exception": {} } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelResponse". { "event": "kernel.response", "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "ApiPlatform\Hydra\EventListener\AddLinkHeaderListener::onKernelResponse". { "event": "kernel.response", "listener": "ApiPlatform\\Hydra\\EventListener\\AddLinkHeaderListener::onKernelResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "App\EventListener\CorsSubscriber::onResponse". { "event": "kernel.response", "listener": "App\\EventListener\\CorsSubscriber::onResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener::onKernelResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Symfony\Component\WebLink\EventListener\AddLinkHeaderListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\WebLink\\EventListener\\AddLinkHeaderListener::onKernelResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "ApiPlatform\HttpCache\EventListener\AddHeadersListener::onKernelResponse". { "event": "kernel.response", "listener": "ApiPlatform\\HttpCache\\EventListener\\AddHeadersListener::onKernelResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CacheableResponseVaryListener::onResponse". { "event": "kernel.response", "listener": "Nelmio\\CorsBundle\\EventListener\\CacheableResponseVaryListener::onResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::removeCspHeader" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Bundle\\WebProfilerBundle\\EventListener\\WebDebugToolbarListener::onKernelResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DisallowRobotsIndexingListener::onResponse" } DEBUG 11:22:50 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelResponse" } DEBUG 11:22:50 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelFinishRequest" } DEBUG 11:22:50 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelFinishRequest" } DEBUG 11:22:50 event Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelFinishRequest" } DEBUG 11:22:50 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelFinishRequest" } CRITICAL 11:22:50 request Uncaught PHP Exception RuntimeException: "Unable to create the storage directory (/var/www/html/api/var/cache/dev/profiler/a3/50)." at /var/www/html/api/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 131 { "exception": {} } DEBUG 11:22:50 php Warning: mkdir(): No space left on device { "exception": { "severity": 2, "file": "/var/www/html/api/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php", "line": 130, "trace": [ { "file": "/var/www/html/api/vendor/symfony/http-kernel/Profiler/Profiler.php", "line": 104, "function": "write", "class": "Symfony\\Component\\HttpKernel\\Profiler\\FileProfilerStorage", "type": "->" } ], "count": 1 } } DEBUG 11:22:50 event Notified event "kernel.terminate" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelTerminate". { "event": "kernel.terminate", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelTerminate" } CRITICAL 11:22:50 php Uncaught Exception: Unable to create the storage directory (/var/www/html/api/var/cache/dev/profiler/a3/50). { "exception": {} } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest". { "event": "kernel.request", "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". { "event": "kernel.request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "App\EventListener\DeserializeListener::onKernelRequest". { "event": "kernel.request", "listener": "App\\EventListener\\DeserializeListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize" } DEBUG 11:22:50 event Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest" } DEBUG 11:22:50 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". { "event": "kernel.controller", "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController" } DEBUG 11:22:50 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". { "event": "kernel.controller", "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController" } DEBUG 11:22:50 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments". { "event": "kernel.controller_arguments", "listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments" } DEBUG 11:22:50 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments". { "event": "kernel.controller_arguments", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments" } DEBUG 11:22:50 event Notified event "kernel.controller_arguments" to listener "ContainerTWYeAzi\RequestPayloadValueResolverGhost3590451::onKernelControllerArguments". { "event": "kernel.controller_arguments", "listener": "ContainerTWYeAzi\\RequestPayloadValueResolverGhost3590451::onKernelControllerArguments" } DEBUG 11:22:50 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments". { "event": "kernel.controller_arguments", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments" } STACK TRACE RuntimeException RuntimeException: Unable to create the storage directory (/var/www/html/api/var/cache/dev/profiler/a3/50). at vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:131 at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->write(object(Profile)) (vendor/symfony/http-kernel/Profiler/Profiler.php:104) at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile(object(Profile)) (vendor/symfony/http-kernel/EventListener/ProfilerListener.php:135) at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher)) (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher)) (vendor/symfony/event-dispatcher/EventDispatcher.php:220) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener)), 'kernel.terminate', object(TerminateEvent)) (vendor/symfony/event-dispatcher/EventDispatcher.php:56) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate') (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate') (vendor/symfony/http-kernel/HttpKernel.php:115) at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response)) (vendor/symfony/http-kernel/Kernel.php:157) at Symfony\Component\HttpKernel\Kernel->terminate(object(Request), object(Response)) (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:39) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:29) at require_once('/var/www/html/api/vendor/autoload_runtime.php') (public/index.php:6) Loading… Loading the web debug toolbar… Attempt #1 Cancel Unable to create the storage directory (/var/www/html/api/var/cache/dev/profiler/24/ac). (500 Internal Server Error) SYMFONY EXCEPTION Symfony Docs RUNTIMEEXCEPTION HTTP 500 INTERNAL SERVER ERROR UNABLE TO CREATE THE STORAGE DIRECTORY (/VAR/WWW/HTML/API/VAR/CACHE/DEV/PROFILER/24/AC). Exception Stack Trace Exception Stack Trace EXCEPTION RUNTIMEEXCEPTION in /var/www/html/api/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php (line 131) 126. $profileIndexed = is_file($file); 127. if (!$profileIndexed) { 128. // Create directory 129. $dir = \dirname($file); 130. if (!is_dir($dir) && false === @mkdir($dir, 0777, true) && !is_dir($dir)) { 131. throw new \RuntimeException(sprintf('Unable to create the storage directory (%s).', $dir)); 132. } 133. } 134. 135. $profileToken = $profile->getToken(); 136. // when there are errors in sub-requests, the parent and/or children tokens in /var/www/html/api/vendor/symfony/http-kernel/Profiler/Profiler.php -> write (line 104) 99. if ($collector instanceof LateDataCollectorInterface) { 100. $collector->lateCollect(); 101. } 102. } 103. 104. if (!($ret = $this->storage->write($profile)) && null !== $this->logger) { 105. $this->logger->warning('Unable to store the profiler information.', ['configured_storage' => $this->storage::class]); 106. } 107. 108. return $ret; 109. } in /var/www/html/api/vendor/symfony/http-kernel/EventListener/ProfilerListener.php -> saveProfile (line 135) 130. } 131. } 132. 133. // save profiles 134. foreach ($this->profiles as $request) { 135. $this->profiler->saveProfile($this->profiles[$request]); 136. } 137. 138. $this->profiles = new \SplObjectStorage(); 139. $this->parents = new \SplObjectStorage(); 140. } in /var/www/html/api/vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> onKernelTerminate (line 116) 111. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); 112. 113. $e = $this->stopwatch->start($this->name, 'event_listener'); 114. 115. try { 116. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); 117. } finally { 118. if ($e->isStarted()) { 119. $e->stop(); 120. } 121. } in /var/www/html/api/vendor/symfony/event-dispatcher/EventDispatcher.php -> __invoke (line 220) 215. 216. foreach ($listeners as $listener) { 217. if ($stoppable && $event->isPropagationStopped()) { 218. break; 219. } 220. $listener($event, $eventName, $this); 221. } 222. } 223. 224. /** 225. * Sorts the internal list of listeners for the given event by priority. in /var/www/html/api/vendor/symfony/event-dispatcher/EventDispatcher.php -> callListeners (line 56) 51. } else { 52. $listeners = $this->getListeners($eventName); 53. } 54. 55. if ($listeners) { 56. $this->callListeners($listeners, $eventName, $event); 57. } 58. 59. return $event; 60. } 61. in /var/www/html/api/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 139) 134. try { 135. $this->beforeDispatch($eventName, $event); 136. try { 137. $e = $this->stopwatch->start($eventName, 'section'); 138. try { 139. $this->dispatcher->dispatch($event, $eventName); 140. } finally { 141. if ($e->isStarted()) { 142. $e->stop(); 143. } 144. } in /var/www/html/api/vendor/symfony/http-kernel/HttpKernel.php -> dispatch (line 115) 110. /** 111. * @return void 112. */ 113. public function terminate(Request $request, Response $response) 114. { 115. $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE); 116. } 117. 118. /** 119. * @internal 120. */ in /var/www/html/api/vendor/symfony/http-kernel/HttpKernel.php -> terminate (line 142) 137. } 138. 139. $response->sendHeaders(); 140. $response->sendContent(); 141. 142. $this->terminate($request, $response); 143. } 144. 145. /** 146. * Handles a request to convert it to a response. 147. * in /var/www/html/api/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php -> terminateWithException (line 74) 69. if ($hasRun) { 70. throw $e; 71. } 72. 73. $hasRun = true; 74. $kernel->terminateWithException($e, $request); 75. }; 76. } 77. } elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) { 78. $output = $event->getOutput(); 79. if ($output instanceof ConsoleOutputInterface) { in /var/www/html/api/vendor/symfony/error-handler/ErrorHandler.php :: Symfony\Component\HttpKernel\EventListener\{closure} (line 537) 532. $this->exceptionHandler = null; 533. } 534. 535. try { 536. if (null !== $exceptionHandler) { 537. $exceptionHandler($exception); 538. 539. return; 540. } 541. $handlerException ??= $exception; 542. } catch (\Throwable $handlerException) { ErrorHandler->handleException(object(RuntimeException)) STACK TRACE RuntimeException RuntimeException: Unable to create the storage directory (/var/www/html/api/var/cache/dev/profiler/24/ac). at /var/www/html/api/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:131 at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->write(object(Profile)) (/var/www/html/api/vendor/symfony/http-kernel/Profiler/Profiler.php:104) at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile(object(Profile)) (/var/www/html/api/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:135) at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher)) (/var/www/html/api/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher)) (/var/www/html/api/vendor/symfony/event-dispatcher/EventDispatcher.php:220) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener)), 'kernel.terminate', object(TerminateEvent)) (/var/www/html/api/vendor/symfony/event-dispatcher/EventDispatcher.php:56) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate') (/var/www/html/api/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate') (/var/www/html/api/vendor/symfony/http-kernel/HttpKernel.php:115) at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response)) (/var/www/html/api/vendor/symfony/http-kernel/HttpKernel.php:142) at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(RuntimeException), object(Request)) (/var/www/html/api/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:74) at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(RuntimeException)) (/var/www/html/api/vendor/symfony/error-handler/ErrorHandler.php:537) at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(RuntimeException))