Failed to start session

Support intro

longer
example
here

Some or all of the below information will be requested if it isn't supplied; for fastest response please provide as much as you can :heart:

Nextcloud version: 24.0.3.2
Operating system and version: Arch Linux 5.16.10-arch1-1 # x86_64 GNU/Linux
nginx version (eg, Apache 2.4.25): nginx-1.22.0-2
PHP version (eg, 7.4): PHP-8.1.8-1

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. Open the Website

When i open my URL is comming this

Interner Serverfehler

Der Server konnte die Anfrage nicht fertig stellen.

Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an Deinen Server-Administrator.

Weitere Details können im Server-Protokoll gefunden werden.
Technische Details

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '...',
  'passwordsalt' => '...',
  'secret' => '...',
  'trusted_domains' => 
  array (
    0 => 'localhost',
  ),
  'datadirectory' => '/srv/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '24.0.3.2',
  'overwrite.cli.url' => '...',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '...',
  'dbpassword' => '...',
  'installed' => true,
  'activity_expire_days' => '1',
  'maintenance' => true,
  'theme' => '',
  'loglevel' => 1,
  'data-fingerprint' => '...',
);

The output of your Apache/nginx/system log in /var/log/____:

no error in access.log / error.log

The output of /srv/nextcloud/data/nextcloud.log

{"reqId":"Qlvq1Kkfhxk42Wz9kj4A","level":1,"time":"2022-07-24T12:55:38+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Deprecated event type for \\OC\\Repair::step: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"--","version":"24.0.3.2","data":[]}
{"reqId":"Qlvq1Kkfhxk42Wz9kj4A","level":1,"time":"2022-07-24T12:55:38+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Deprecated event type for \\OC\\Repair::step: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"--","version":"24.0.3.2","data":[]}
{"reqId":"BlNZU9UEmAe0FiWmxKsl","level":3,"time":"2022-07-24T12:56:06+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"FvoMKJbvGJCJDmCoMHsc","level":3,"time":"2022-07-24T12:56:06+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/js/core/merged-template-prepend.js?v=6a58cdbe-0","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"NIAU4tvIcAnloOYPjaee","level":3,"time":"2022-07-24T13:06:57+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"SaCCqsqx5OaH90hqWrcv","level":3,"time":"2022-07-24T13:11:06+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"PYbXRkRMIdMBrfmMWIg6","level":3,"time":"2022-07-24T13:21:58+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"9jcCqNuV18kXTgRgpQAR","level":3,"time":"2022-07-24T13:26:07+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"yjPsqWciYra01BdkBJSG","level":3,"time":"2022-07-24T13:36:59+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"BGe6lGGPOS6NCxeLI0NF","level":3,"time":"2022-07-24T13:41:08+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"WYJBtyTCwCDzBNcQIurP","level":3,"time":"2022-07-24T13:52:00+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"MxWAfy7fKwIFJeOy0sgo","level":3,"time":"2022-07-24T13:52:37+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.62","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"2A3C0WePb7fyCqPF1vN6","level":3,"time":"2022-07-24T13:56:09+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"U75iJSQNnvrvEGlnO97s","level":3,"time":"2022-07-24T14:01:10+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.62","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"EN4Ez3Z15bieZ2zXRYvd","level":3,"time":"2022-07-24T14:07:01+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"fzagLDj1lUKLIuernZ2f","level":3,"time":"2022-07-24T14:11:10+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"cRsGgGU5yuDVqaxYrEa5","level":3,"time":"2022-07-24T14:22:02+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"hjpF9P0Wxubi1Aj00pCZ","level":3,"time":"2022-07-24T14:26:11+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"1jLTCAbbrcIqaPeeJwA2","level":3,"time":"2022-07-24T14:37:03+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"lDFQkKD0Tsrr290DvhFt","level":3,"time":"2022-07-24T14:41:12+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"TzlLh1Enx7gcqiTtgwN6","level":3,"time":"2022-07-24T14:43:01+00:00","remoteAddr":"79.237.103.40","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.62","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/nextcloud/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->"},{"file":"/srv/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::"},{"file":"/srv/nextcloud/index.php","line":34,"args":["/srv/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/nextcloud/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}

Running into the same error. Happened after editing config.php to add an entry to trusted_domains.


{"reqId":"7LxGC0oAQ3B4DZFumclw","level":3,"time":"2022-09-06T19:36:02+00:00","remoteAddr":"10.0.0.2","user":"--","app":"base","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0","version":"24.0.4.1","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/var/www/html/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->","args":["occa6vvi9b4e"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/ocs/v1.php","line":31,"args":["/var/www/html/lib/base.php"],"function":"require_once"},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}

Running via docker stack:

version: '3.9'

services:

  postgresql_db:
    image: postgres
    restart: always
    environment:
      POSTGRES_PASSWORD: EXAMPLE_PASSWORD
      PGDATA: /var/lib/postgresql/data
    networks:
      - dockernet
    ports:
      - 5432:5432
    volumes:
      - pgdata:/var/lib/postgresql/data:rw

  adminer:
    image: adminer
    restart: always
    networks:
      - dockernet
    ports:
      - 8380:8080

  nextcloud:
    image: nextcloud
    restart: always
    depends_on:
      - postgresql_db
    environment:
      - POSTGRES_DB=nextcloud
      - POSTGRES_USER=nextcloud
      - POSTGRES_PASSWORD=EXAMPLE_PASS
      - POSTGRES_HOST=postgresql_db
      - NEXTCLOUD_ADMIN_USER=ncadmin
      - NEXTCLOUD_ADMIN_PASSWORD=EXAMPLE_PASS
      - MAIL_DOMAIN=example.com
      - MAIL_FROM_ADDRESS=nextcloud@example.com
      
    networks:
      - dockernet
    ports:
      - 9000:80
    volumes:
      - nextcloud:/var/www/html
      - nc_apps:/var/www/html/custom_apps
      - nc_config:/var/www/html/config
      - nc_data:/var/www/html/data
      - nc_theme:/var/www/html/themes/mytheme

networks:
  dockernet:
    external: true

volumes:
  pgdata:
    name: postgres-pgdata
    external: true
  nextcloud:
    name: nextcloud
    external: true
  nc_apps:
    name: nc_apps
    external: true
  nc_config:
    name: nc_config
    external: true
  nc_data:
    name: nc_data
    external: true
  nc_theme:
    name: nc_theme
    external: true