Leider habe ich das problem das beim update ein fehler kommt
Kann jemand sehen woran das liegen kann
ErrorException
ErrorException:
Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/tmp/.priv) failed: Permission denied (13)
at vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:87
at Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->gc()
(vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:64)
at Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc()
at session_start()
(vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:172)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
(vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:311)
at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag()
(vendor/symfony/http-foundation/Session/Session.php:222)
at Symfony\Component\HttpFoundation\Session\Session->getBag()
(vendor/symfony/http-foundation/Session/Session.php:242)
at Symfony\Component\HttpFoundation\Session\Session->getAttributeBag()
(vendor/symfony/http-foundation/Session/Session.php:64)
at Symfony\Component\HttpFoundation\Session\Session->has()
(Listener/InstallerLocaleListener.php:45)
at Shopware\WebInstaller\Listener\InstallerLocaleListener->detectLanguage()
(Listener/InstallerLocaleListener.php:28)
at Shopware\WebInstaller\Listener\InstallerLocaleListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:260)
at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}()
(vendor/symfony/event-dispatcher/EventDispatcher.php:220)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:157)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:197)
at Symfony\Component\HttpKernel\Kernel->handle()
(index.php/:30)
at Phar::webPhar()
(/homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php:56)
info
16:06:42
Matched route „configure“.
{
„route“: „configure“,
„route_parameters“: {
„_route“: „configure“,
„step“: 1,
„_controller“: „Shopware\WebInstaller\Controller\PhpConfigController::index“
},
„request_uri“: „Shopware Recovery“,
„method“: „POST“
}
critical
16:06:42
Uncaught PHP Exception ErrorException: „Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/tmp/.priv) failed: Permission denied (13)“ at StrictSessionHandler.php line 87
{
„exception“: {}
}
in [vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php#L87)(line 87)
return $this->handler->close();
}
- ``
public function gc(int $maxlifetime): int|false
{
return $this->handler->gc($maxlifetime);
}
}
- ``
in [vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php#L64)-> gc (line 64)
return $this->handler->destroy($sessionId);
}
- ``
public function gc(int $maxlifetime): int|false
{
return $this->handler->gc($maxlifetime);
}
- ``
public function validateId(#[\SensitiveParameter] string $sessionId): bool
{
return !$this->handler instanceof \SessionUpdateTimestampHandlerInterface || $this->handler->validateId($sessionId);
SessionHandlerProxy->gc()
in [vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php#L172)session_start (line 172)
// the session ID in the header is invalid, create a new one
session_id(session_create_id());
}
- ``
// ok to try and start the session
if (!session_start()) {
throw new \RuntimeException('Failed to start the session.');
}
- ``
$this->loadSession();
- ``
in [vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php#L311)-> start (line 311)
}
- ``
if (!$this->started && $this->saveHandler->isActive()) {
$this->loadSession();
} elseif (!$this->started) {
$this->start();
}
- ``
return $this->bags[$name];
}
- ``
in [vendor/symfony/http-foundation/Session/Session.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/http-foundation/Session/Session.php#L222)-> getBag (line 222)
$this->storage->registerBag(new SessionBagProxy($bag, $this->data, $this->usageIndex, $this->usageReporter));
}
- ``
public function getBag(string $name): SessionBagInterface
{
$bag = $this->storage->getBag($name);
- ``
return method_exists($bag, 'getBag') ? $bag->getBag() : $bag;
}
- ``
/**
in [vendor/symfony/http-foundation/Session/Session.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/http-foundation/Session/Session.php#L242)-> getBag (line 242)
*
* Note that this method was added to help with IDE autocompletion.
*/
private function getAttributeBag(): AttributeBagInterface
{
return $this->getBag($this->attributeName);
}
}
- ``
in [vendor/symfony/http-foundation/Session/Session.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/http-foundation/Session/Session.php#L64)-> getAttributeBag (line 64)
return $this->storage->start();
}
- ``
public function has(string $name): bool
{
return $this->getAttributeBag()->has($name);
}
- ``
public function get(string $name, mixed $default = null): mixed
{
return $this->getAttributeBag()->get($name, $default);
Session->has()in [Listener/InstallerLocaleListener.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/Listener/InstallerLocaleListener.php#L45)(line 45)
InstallerLocaleListener->detectLanguage()in [Listener/InstallerLocaleListener.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/Listener/InstallerLocaleListener.php#L28)(line 28)
#[AsEventListener(RequestEvent::class, priority: 15)]
public function __invoke(RequestEvent $event): void
{
$request = $event->getRequest();
- ``
$locale = $this->detectLanguage($request);
$request->attributes->set('_locale', $locale);
$request->setLocale($locale);
}
- ``
private function detectLanguage(Request $request): string
in [vendor/symfony/event-dispatcher/EventDispatcher.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/event-dispatcher/EventDispatcher.php#L260)-> __invoke (line 260)
$closure = static function (...$args) use (&$listener, &$closure) {
if ($listener[0] instanceof \Closure) {
$listener[0] = $listener[0]();
$listener[1] ??= '__invoke';
}
($closure = $listener(...))(...$args);
};
} else {
$closure = $listener instanceof WrappedListener ? $listener : $listener(...);
}
}
in [vendor/symfony/event-dispatcher/EventDispatcher.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/event-dispatcher/EventDispatcher.php#L220):: Symfony\Component\EventDispatcher{closure} (line 220)
- ``
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
- ``
/**
* Sorts the internal list of listeners for the given event by priority.
in [vendor/symfony/event-dispatcher/EventDispatcher.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/event-dispatcher/EventDispatcher.php#L56)-> callListeners (line 56)
} else {
$listeners = $this->getListeners($eventName);
}
- ``
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
- ``
return $event;
}
- ``
in [vendor/symfony/http-kernel/HttpKernel.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/http-kernel/HttpKernel.php#L157)-> dispatch (line 157)
*/
private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response
{
// request
$event = new RequestEvent($this, $request, $type);
$this->dispatcher->dispatch($event, KernelEvents::REQUEST);
- ``
if ($event->hasResponse()) {
return $this->filterResponse($event->getResponse(), $request, $type);
}
- ``
in [vendor/symfony/http-kernel/HttpKernel.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/http-kernel/HttpKernel.php#L76)-> handleRaw (line 76)
in [vendor/symfony/http-kernel/Kernel.php ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/vendor/symfony/http-kernel/Kernel.php#L197)-> handle (line 197)
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
- ``
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
- ``
Kernel->handle()in [index.php/ ](file://phar:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php/index.php#L30)(line 30)
- ``
$request = Request::createFromGlobals();
- ``
@ignore_user_abort(true);
- ``
$response = $kernel->handle($request);
- ``
$response->send();
- ``
$kernel->terminate($request, $response);
- ``
Phar::webPhar()in [/homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php ](file:///homepages/42/d654425739/htdocs/naturstein-reinhard/public/shopware-installer.phar.php#L56)(line 56)
}
- ``
return 'index.php';
}
- ``
Phar::webPhar(
null,
'index.php',
null,
[
'php' => Phar::PHP,