You are not logged in error

Nextcloud version : 28.0.2
Linuxserver Nextcloud image

The issue you are facing:
Latest Nextcloud docker image hosted on vps, no any visible error message in the setting menu. This issue happens at least twice a week, but most of the time everything works fine. When it happens, I would try several times on the log in page with “Temporary error message” before succeeding to sign in, but then everything takes for ever to load with multiple error messages appearing like “you are not logged in” or “unable to proceed” and in some rare cases I get “maintenance mode”. A I mentioned, these errors don’t persist and it happens that I leave NC for 10 minutes and I come back and everything would work with no issues. I tried Nextcloud’s official Docker image, then tried linuxserver image and am getting the same error.

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

Steps to replicate it:

  1. Sign in to my nextcloud instance
  2. Gets the following message “Temporary Error”
  3. After many tries, I sign in finally bt get “You are not logged in” error message. However, I am logged in.
  4. When getting this error, many apps just stop working.

The output of your Nextcloud log in Admin > Logging:

{"reqId":"eVDelrRbUvVRRXPOb8Gv","level":3,"time":"2024-02-08T16:06:28+00:00","remoteAddr":"193.55.99.159","user":"Wael","app":"index","method":"GET","url":"/core/preview?fileId=40&x=250&y=250","message":"Could not get appdata folder for preview","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for preview","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Files/AppData/AppData.php","line":147,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/app/www/public/lib/private/Preview/Storage/Root.php","line":74,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/app/www/public/lib/private/Preview/Generator.php","line":607,"function":"newFolder","class":"OC\\Preview\\Storage\\Root","type":"->"},{"file":"/app/www/public/lib/private/Preview/Generator.php","line":133,"function":"getPreviewFolder","class":"OC\\Preview\\Generator","type":"->"},{"file":"/app/www/public/lib/private/Preview/Generator.php","line":110,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->"},{"file":"/app/www/public/lib/private/PreviewManager.php","line":187,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->"},{"file":"/app/www/public/core/Controller/PreviewController.php","line":173,"function":"getPreview","class":"OC\\PreviewManager","type":"->"},{"file":"/app/www/public/core/Controller/PreviewController.php","line":141,"function":"fetchPreview","class":"OC\\Core\\Controller\\PreviewController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getPreviewByFileId","class":"OC\\Core\\Controller\\PreviewController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/www/public/lib/private/Files/AppData/AppData.php","Line":108,"message":"Could not get appdata folder for preview","exception":{},"CustomMessage":"Could not get appdata folder for preview"}}
{"reqId":"FdD4R09jt0h3nTYM6fD4","level":3,"time":"2024-02-08T16:47:42+00:00","remoteAddr":"92.184.97.86","user":"Wael","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/notifications/api/v2/push","message":"Exception thrown: OCP\\Files\\NotFoundException","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.0.1","version":"28.0.2.5","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"/appdata_ocxjo4gkn9j3/identityproof/user-Wael","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Files/Node/LazyFolder.php","line":161,"function":"get","class":"OC\\Files\\Node\\Root","type":"->"},{"file":"/app/www/public/lib/private/Files/AppData/AppData.php","line":132,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/app/www/public/lib/private/Security/IdentityProof/Manager.php","line":115,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/app/www/public/lib/private/Security/IdentityProof/Manager.php","line":133,"function":"retrieveKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->"},{"file":"/config/www/nextcloud/apps/notifications/lib/Controller/PushController.php","line":130,"function":"getKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"registerDevice","class":"OCA\\Notifications\\Controller\\PushController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/ocs/v1.php","line":65,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/ocs/v2.php","line":23,"args":["/app/www/public/ocs/v1.php"],"function":"require_once"}],"File":"/app/www/public/lib/private/Files/Node/Root.php","Line":207,"CustomMessage":"Exception thrown: OCP\\Files\\NotFoundException"}}
{"reqId":"8uEne5IDaPnIaeCNJQoz","level":3,"time":"2024-02-08T21:26:00+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /config/www/nextcloud/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"7j9Vx116TNGfeHn11MzO","level":3,"time":"2024-02-10T00:26:36+00:00","remoteAddr":"100.98.129.60","user":"--","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/dashboard/api/v1/widgets","message":"Could not decrypt or decode encrypted session data","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.0.1","version":"28.0.2.5","exception":{"Exception":"Exception","Message":"HMAC does not match.","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Security/Crypto.php","line":119,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":90,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":67,"function":"initializeSession","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/private/Session/CryptoWrapper.php","line":112,"function":"__construct","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/base.php","line":449,"function":"wrapSession","class":"OC\\Session\\CryptoWrapper","type":"->"},{"file":"/app/www/public/lib/base.php","line":705,"function":"initSession","class":"OC","type":"::"},{"file":"/app/www/public/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/app/www/public/ocs/v1.php","line":31,"args":["/app/www/public/lib/base.php"],"function":"require_once"},{"file":"/app/www/public/ocs/v2.php","line":23,"args":["/app/www/public/ocs/v1.php"],"function":"require_once"}],"File":"/app/www/public/lib/private/Security/Crypto.php","Line":158,"message":"Could not decrypt or decode encrypted session data","exception":{},"CustomMessage":"Could not decrypt or decode encrypted session data"}}
{"reqId":"mQnkxlTQ9OYJOQDMGcKt","level":3,"time":"2024-02-10T00:26:36+00:00","remoteAddr":"100.98.129.60","user":"--","app":"no app in context","method":"REPORT","url":"/remote.php/dav/files/Wael","message":"Could not decrypt or decode encrypted session data","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.0.1","version":"28.0.2.5","exception":{"Exception":"Exception","Message":"HMAC does not match.","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Security/Crypto.php","line":119,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":90,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":67,"function":"initializeSession","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/private/Session/CryptoWrapper.php","line":112,"function":"__construct","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/base.php","line":449,"function":"wrapSession","class":"OC\\Session\\CryptoWrapper","type":"->"},{"file":"/app/www/public/lib/base.php","line":705,"function":"initSession","class":"OC","type":"::"},{"file":"/app/www/public/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/app/www/public/remote.php","line":119,"args":["/app/www/public/lib/base.php"],"function":"require_once"}],"File":"/app/www/public/lib/private/Security/Crypto.php","Line":158,"message":"Could not decrypt or decode encrypted session data","exception":{},"CustomMessage":"Could not decrypt or decode encrypted session data"}}
{"reqId":"o2BMGZP0i1nLJK9cciEj","level":3,"time":"2024-02-10T00:26:36+00:00","remoteAddr":"100.98.129.60","user":"--","app":"no app in context","method":"GET","url":"/index.php/avatar/Wael/384","message":"Could not decrypt or decode encrypted session data","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.0.1","version":"28.0.2.5","exception":{"Exception":"Exception","Message":"HMAC does not match.","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Security/Crypto.php","line":119,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":90,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":67,"function":"initializeSession","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/private/Session/CryptoWrapper.php","line":112,"function":"__construct","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/base.php","line":449,"function":"wrapSession","class":"OC\\Session\\CryptoWrapper","type":"->"},{"file":"/app/www/public/lib/base.php","line":705,"function":"initSession","class":"OC","type":"::"},{"file":"/app/www/public/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/app/www/public/index.php","line":37,"args":["/app/www/public/lib/base.php"],"function":"require_once"}],"File":"/app/www/public/lib/private/Security/Crypto.php","Line":158,"message":"Could not decrypt or decode encrypted session data","exception":{},"CustomMessage":"Could not decrypt or decode encrypted session data"}}
{"reqId":"SaSiDYWw9ivz5zlEB2gN","level":3,"time":"2024-02-10T11:52:48+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /config/www/nextcloud/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"E7cCa2v8JVEtdjybpJBM","level":3,"time":"2024-02-10T12:03:49+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /config/www/nextcloud/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"AAas6xd6fzG1SSgQIxwg","level":3,"time":"2024-02-10T12:03:58+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /config/www/nextcloud/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}

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

<?php
$CONFIG = array (
  'datadirectory' => '/data',
  'instanceid' => '************',
  'passwordsalt' => '*********',
  'secret' => '***********',
  'trusted_domains' => 
  array (
    0 => 'cloud.mydomain.com',
  ),
  'dbtype' => 'mysql',
  'version' => '28.0.2.5',
  'overwrite.cli.url' => 'http://cloud.mydomain.com',
  'overwriteprotocol' => 'https',
  'dbname' => 'nextcloud',
  'dbhost' => 'db',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '**********',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => array(
  'host' => 'redis',
     'port' => 6379,
     'timeout' => 0.0,
     'password' => '************',
  ),
  'mail_from_address' => 'mail',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'mydomain.com',
  'mail_smtphost' => 'mail.gandi.net',
  'mail_smtpauth' => 1,
  'mail_smtpport' => '587',
  'mail_smtpname' => 'mail@mydomain.com',
  'mail_smtppassword' => '**********',
  'auth.bruteforce.protection.enabled' => true,
  'maintenance_window_start' => 1,
  'default_phone_region' => 'FR',
  'enable_previews' => true,
  'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\BMP',
    4 => 'OC\\Preview\\XBitmap',
    5 => 'OC\\Preview\\Movie',
    6 => 'OC\\Preview\\PDF',
    7 => 'OC\\Preview\\MP3',
    8 => 'OC\\Preview\\TXT',
    9 => 'OC\\Preview\\MarkDown',
  ),

);

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

the file is empty

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

{"reqId":"eVDelrRbUvVRRXPOb8Gv","level":3,"time":"2024-02-08T16:06:28+00:00","remoteAddr":"193.55.99.159","user":"Wael","app":"index","method":"GET","url":"/core/preview?fileId=40&x=250&y=250","message":"Could not get appdata folder for preview","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for preview","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Files/AppData/AppData.php","line":147,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/app/www/public/lib/private/Preview/Storage/Root.php","line":74,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/app/www/public/lib/private/Preview/Generator.php","line":607,"function":"newFolder","class":"OC\\Preview\\Storage\\Root","type":"->"},{"file":"/app/www/public/lib/private/Preview/Generator.php","line":133,"function":"getPreviewFolder","class":"OC\\Preview\\Generator","type":"->"},{"file":"/app/www/public/lib/private/Preview/Generator.php","line":110,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->"},{"file":"/app/www/public/lib/private/PreviewManager.php","line":187,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->"},{"file":"/app/www/public/core/Controller/PreviewController.php","line":173,"function":"getPreview","class":"OC\\PreviewManager","type":"->"},{"file":"/app/www/public/core/Controller/PreviewController.php","line":141,"function":"fetchPreview","class":"OC\\Core\\Controller\\PreviewController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getPreviewByFileId","class":"OC\\Core\\Controller\\PreviewController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/www/public/lib/private/Files/AppData/AppData.php","Line":108,"message":"Could not get appdata folder for preview","exception":{},"CustomMessage":"Could not get appdata folder for preview"}}
{"reqId":"FdD4R09jt0h3nTYM6fD4","level":3,"time":"2024-02-08T16:47:42+00:00","remoteAddr":"92.184.97.86","user":"Wael","app":"no app in context","method":"POST","url":"/ocs/v2.php/apps/notifications/api/v2/push","message":"Exception thrown: OCP\\Files\\NotFoundException","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.0.1","version":"28.0.2.5","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"/appdata_ocxjo4gkn9j3/identityproof/user-Wael","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Files/Node/LazyFolder.php","line":161,"function":"get","class":"OC\\Files\\Node\\Root","type":"->"},{"file":"/app/www/public/lib/private/Files/AppData/AppData.php","line":132,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/app/www/public/lib/private/Security/IdentityProof/Manager.php","line":115,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/app/www/public/lib/private/Security/IdentityProof/Manager.php","line":133,"function":"retrieveKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->"},{"file":"/config/www/nextcloud/apps/notifications/lib/Controller/PushController.php","line":130,"function":"getKey","class":"OC\\Security\\IdentityProof\\Manager","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"registerDevice","class":"OCA\\Notifications\\Controller\\PushController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/ocs/v1.php","line":65,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/ocs/v2.php","line":23,"args":["/app/www/public/ocs/v1.php"],"function":"require_once"}],"File":"/app/www/public/lib/private/Files/Node/Root.php","Line":207,"CustomMessage":"Exception thrown: OCP\\Files\\NotFoundException"}}
{"reqId":"8uEne5IDaPnIaeCNJQoz","level":3,"time":"2024-02-08T21:26:00+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /config/www/nextcloud/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"7j9Vx116TNGfeHn11MzO","level":3,"time":"2024-02-10T00:26:36+00:00","remoteAddr":"100.98.129.60","user":"--","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/dashboard/api/v1/widgets","message":"Could not decrypt or decode encrypted session data","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.0.1","version":"28.0.2.5","exception":{"Exception":"Exception","Message":"HMAC does not match.","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Security/Crypto.php","line":119,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":90,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":67,"function":"initializeSession","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/private/Session/CryptoWrapper.php","line":112,"function":"__construct","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/base.php","line":449,"function":"wrapSession","class":"OC\\Session\\CryptoWrapper","type":"->"},{"file":"/app/www/public/lib/base.php","line":705,"function":"initSession","class":"OC","type":"::"},{"file":"/app/www/public/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/app/www/public/ocs/v1.php","line":31,"args":["/app/www/public/lib/base.php"],"function":"require_once"},{"file":"/app/www/public/ocs/v2.php","line":23,"args":["/app/www/public/ocs/v1.php"],"function":"require_once"}],"File":"/app/www/public/lib/private/Security/Crypto.php","Line":158,"message":"Could not decrypt or decode encrypted session data","exception":{},"CustomMessage":"Could not decrypt or decode encrypted session data"}}
{"reqId":"mQnkxlTQ9OYJOQDMGcKt","level":3,"time":"2024-02-10T00:26:36+00:00","remoteAddr":"100.98.129.60","user":"--","app":"no app in context","method":"REPORT","url":"/remote.php/dav/files/Wael","message":"Could not decrypt or decode encrypted session data","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.0.1","version":"28.0.2.5","exception":{"Exception":"Exception","Message":"HMAC does not match.","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Security/Crypto.php","line":119,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":90,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":67,"function":"initializeSession","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/private/Session/CryptoWrapper.php","line":112,"function":"__construct","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/base.php","line":449,"function":"wrapSession","class":"OC\\Session\\CryptoWrapper","type":"->"},{"file":"/app/www/public/lib/base.php","line":705,"function":"initSession","class":"OC","type":"::"},{"file":"/app/www/public/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/app/www/public/remote.php","line":119,"args":["/app/www/public/lib/base.php"],"function":"require_once"}],"File":"/app/www/public/lib/private/Security/Crypto.php","Line":158,"message":"Could not decrypt or decode encrypted session data","exception":{},"CustomMessage":"Could not decrypt or decode encrypted session data"}}
{"reqId":"o2BMGZP0i1nLJK9cciEj","level":3,"time":"2024-02-10T00:26:36+00:00","remoteAddr":"100.98.129.60","user":"--","app":"no app in context","method":"GET","url":"/index.php/avatar/Wael/384","message":"Could not decrypt or decode encrypted session data","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.0.1","version":"28.0.2.5","exception":{"Exception":"Exception","Message":"HMAC does not match.","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Security/Crypto.php","line":119,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":90,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":67,"function":"initializeSession","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/private/Session/CryptoWrapper.php","line":112,"function":"__construct","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/base.php","line":449,"function":"wrapSession","class":"OC\\Session\\CryptoWrapper","type":"->"},{"file":"/app/www/public/lib/base.php","line":705,"function":"initSession","class":"OC","type":"::"},{"file":"/app/www/public/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/app/www/public/index.php","line":37,"args":["/app/www/public/lib/base.php"],"function":"require_once"}],"File":"/app/www/public/lib/private/Security/Crypto.php","Line":158,"message":"Could not decrypt or decode encrypted session data","exception":{},"CustomMessage":"Could not decrypt or decode encrypted session data"}}
{"reqId":"SaSiDYWw9ivz5zlEB2gN","level":3,"time":"2024-02-10T11:52:48+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /config/www/nextcloud/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"E7cCa2v8JVEtdjybpJBM","level":3,"time":"2024-02-10T12:03:49+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /config/www/nextcloud/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"AAas6xd6fzG1SSgQIxwg","level":3,"time":"2024-02-10T12:03:58+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /config/www/nextcloud/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ROeUBqnyzx7779pJnei8","level":3,"time":"2024-02-10T12:12:07+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /config/www/nextcloud/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"uzc80XoRyYvGu1yUfOR6","level":3,"time":"2024-02-10T12:12:11+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /config/www/nextcloud/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}

This is my nextcloud.yml docker config:

version: '3.8'

services:
  db:
    image: mariadb:latest
    restart: always
    command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
    volumes:
      - /docker/db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=**************
      - MYSQL_PASSWORD=***************
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
  
  redis:
    image: redis:latest
    container_name: nc_redis
    restart: always
    ports: 
      - 6379:6379
    command: redis-server --requirepass ************
  
  app:
    image: lscr.io/linuxserver/nextcloud:latest
    container_name: nextcloud
    restart: always
    ports:
      - 8080:80
    links:
      - db
      - redis
    volumes:
      - /docker/nextcloud:/var/www/html
    environment:
      - MYSQL_PASSWORD=*************
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_HOST=db
      - REDIS_HOST=redis
      - REDIS_HOST_PASSWORD=************
    depends_on:
      - db
      - redis

Screenshot:

  • Your Docker Compose doesn’t reflect a valid config for the LinuxServer image[1]
  • Your Nextcloud config is mixing both http and https modes
  • You haven’t defined a persistent data volume for the image you are using (the one you have defined would probably work for the micro-services image[2] but not the LS image).

I tried Nextcloud’s official Docker image, then tried linuxserver image and am getting the same error.

First, which “official” image? The AIO image? The micro-services image?

Second, can you elaborate on how you tried an alternative image?

  • How, precisely, did you test? Were you testing from scratch (i.e a new install or by trying to adapt/integrate your existing Nextcloud config/Compose/data)?

Additional context

In your case, you appear to sort of be mixing a Compose for the official micro-services image[2] with the LinuxServer[1] image. This won’t work because each image has unique parameters (see their respective documentation for details).

You may want to make sure your data is backed up fully then cleanly review your setup, possibly cleanly rebuilding the installation from scratch with the image of your choice following the appropriate approach for the given image.

[1] https://docs.linuxserver.io/images/docker-nextcloud/#collaborative-editing
[2] GitHub - nextcloud/docker: ⛴ Docker image of Nextcloud

Thanks for your reply. Indeed, I had a hybrid yml docker compose file and maybe that was partially the reason of some errors. However, I made a new fresh installation with the nextcloud:latest image as following:

version: '3'

services:
  nextcloud:
    image: nextcloud
    container_name: nextcloud
    restart: unless-stopped
    networks: 
      - cloud
    depends_on:
      - nextclouddb
      - redis
    ports:
      - 8080:80
    volumes:
      - /nc/html:/var/www/html
      - /nc/custom_apps:/var/www/html/custom_apps
      - /nc/config:/var/www/html/config
      - /nc/data:/var/www/html/data
    environment:
      - PUID=1000
      - PGID=1000
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_PASSWORD=**************
      - MYSQL_HOST=nextclouddb
      - REDIS_HOST=redis
      - REDIS_HOST_PASSWORD=**************

  nextclouddb:
    image: mariadb
    container_name: nextcloud-db
    restart: unless-stopped
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    networks: 
      - cloud
    volumes:
      - /nc/nextclouddb:/var/lib/mysql
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Paris
      - MYSQL_RANDOM_ROOT_PASSWORD=true
      - MYSQL_PASSWORD=***********
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      
  redis:
    image: redis:alpine
    container_name: redis
    restart: unless-stopped
    volumes:
      - /nc/redis:/data  
    networks: 
      - cloud
    command: redis-server --requirepass ***************

networks:
  cloud:
    name: cloud
    driver: bridge

and I am still getting some login errors, redis failed and mysql access errors, here is the logging from the settings:

{"reqId":"iaRLsmTW1xFyQH8mMUDI","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"core","method":"GET","url":"/","message":"Exception thrown: RedisException","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","exception":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":76,"function":"get","class":"Redis","type":"->","args":["7e53f7be043c17316d21ecc7be666a67/user_backend_map75645f61812001636b2c91d66159cf117bb1f371"]},{"file":"/var/www/html/lib/private/Memcache/WithLocalCache.php","line":24,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["75645f61812001636b2c91d66159cf117bb1f371"]},{"file":"/var/www/html/lib/private/User/Manager.php","line":164,"function":"get","class":"OC\\Memcache\\WithLocalCache","type":"->","args":["75645f61812001636b2c91d66159cf117bb1f371"]},{"file":"/var/www/html/lib/private/User/Session.php","line":902,"function":"get","class":"OC\\User\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1151,"function":"loginWithCookie","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"handleLogin","class":"OC","type":"::","args":[["OC\\AppFramework\\Http\\Request"]]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":76,"CustomMessage":"Exception thrown: RedisException"}}
{"reqId":"iaRLsmTW1xFyQH8mMUDI","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"core","method":"GET","url":"/","message":"Exception thrown: RedisException","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","exception":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":76,"function":"get","class":"Redis","type":"->","args":["7e53f7be043c17316d21ecc7be666a67/imagePath-826f2196321478af6805af768cd7c3f4-core-favicon.ico"]},{"file":"/var/www/html/lib/private/URLGenerator.php","line":203,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["core-favicon.ico"]},{"file":"/var/www/html/lib/private/legacy/template/functions.php","line":249,"function":"imagePath","class":"OC\\URLGenerator","type":"->","args":["core","favicon.ico"]},{"file":"/var/www/html/core/templates/layout.guest.php","line":20,"function":"image_path","args":["core","favicon.ico"]},{"file":"/var/www/html/lib/private/Template/Base.php","line":180,"args":["/var/www/html/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/html/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->","args":["/var/www/html/core/templates/layout.guest.php",null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":139,"function":"fetchPage","class":"OC\\Template\\Base","type":"->","args":[null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":170,"function":"fetchPage","class":"OC_Template","type":"->","args":[null]},{"file":"/var/www/html/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":291,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/html/index.php","line":104,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[["RedisException"],500]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":76,"CustomMessage":"Exception thrown: RedisException"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/favicon.ico","message":"session_start(): php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/favicon.ico","message":"session_start(): Redis connection not available at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/favicon.ico","message":"session_start(): Failed to read session data: redis (path: tcp://redis:6379?auth=HX7RS1E5snpyS) at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/favicon.ico","message":"session_start(): php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/favicon.ico","message":"session_start(): Redis connection not available at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/favicon.ico","message":"session_start(): Failed to read session data: redis (path: tcp://redis:6379?auth=HX7RS1E5snpyS) at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/favicon.ico","message":"Redis::pconnect(): php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution at /var/www/html/lib/private/RedisFactory.php#117","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":4,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"no app in context","method":"GET","url":"/favicon.ico","message":"Could not boot workflowengine: php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","exception":{"Exception":"RedisException","Message":"php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution","Code":0,"Trace":[{"file":"/var/www/html/lib/private/RedisFactory.php","line":117,"function":"pconnect","class":"Redis","type":"->","args":["redis",6379,0,null,0,0]},{"file":"/var/www/html/lib/private/RedisFactory.php","line":158,"function":"create","class":"OC\\RedisFactory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":70,"function":"getInstance","class":"OC\\RedisFactory","type":"->","args":[]},{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":76,"function":"getCache","class":"OC\\Memcache\\Redis","type":"->","args":[]},{"file":"/var/www/html/apps/workflowengine/lib/Manager.php","line":113,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["events"]},{"file":"/var/www/html/apps/workflowengine/lib/AppInfo/Application.php","line":71,"function":"getAllConfiguredEvents","class":"OCA\\WorkflowEngine\\Manager","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":45,"function":"registerRuleListeners","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->","args":[["OC\\EventDispatcher\\EventDispatcher"],["OC\\AppFramework\\DependencyInjection\\DIContainer"],["OC\\AppFramework\\ScopedPsrLogger"]]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[["Closure"]]},{"file":"/var/www/html/apps/workflowengine/lib/AppInfo/Application.php","line":63,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[["Closure"]]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->","args":[["OC\\AppFramework\\Bootstrap\\BootContext"]]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":434,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["workflowengine"]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":213,"function":"loadApp","class":"OC\\App\\AppManager","type":"->","args":["workflowengine"]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":125,"function":"loadApps","class":"OC\\App\\AppManager","type":"->","args":[["filesystem","logging"]]},{"file":"/var/www/html/lib/base.php","line":1052,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem","logging"]]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/RedisFactory.php","Line":117,"message":"Could not boot workflowengine: php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution","exception":{},"CustomMessage":"Could not boot workflowengine: php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/favicon.ico","message":"session_start(): php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/favicon.ico","message":"session_start(): Redis connection not available at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/favicon.ico","message":"session_start(): Failed to read session data: redis (path: tcp://redis:6379?auth=HX7RS1E5snpyS) at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"index","method":"GET","url":"/favicon.ico","message":"Redis server went away","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","exception":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":76,"function":"get","class":"Redis","type":"->","args":["7e53f7be043c17316d21ecc7be666a67/user_backend_map75645f61812001636b2c91d66159cf117bb1f371"]},{"file":"/var/www/html/lib/private/Memcache/WithLocalCache.php","line":24,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["75645f61812001636b2c91d66159cf117bb1f371"]},{"file":"/var/www/html/lib/private/User/Manager.php","line":164,"function":"get","class":"OC\\Memcache\\WithLocalCache","type":"->","args":["75645f61812001636b2c91d66159cf117bb1f371"]},{"file":"/var/www/html/lib/private/User/Session.php","line":902,"function":"get","class":"OC\\User\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1151,"function":"loginWithCookie","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"handleLogin","class":"OC","type":"::","args":[["OC\\AppFramework\\Http\\Request"]]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":76,"message":"Redis server went away","exception":{},"CustomMessage":"Redis server went away"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"core","method":"GET","url":"/favicon.ico","message":"Exception thrown: RedisException","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","exception":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":76,"function":"get","class":"Redis","type":"->","args":["7e53f7be043c17316d21ecc7be666a67/user_backend_map75645f61812001636b2c91d66159cf117bb1f371"]},{"file":"/var/www/html/lib/private/Memcache/WithLocalCache.php","line":24,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["75645f61812001636b2c91d66159cf117bb1f371"]},{"file":"/var/www/html/lib/private/User/Manager.php","line":164,"function":"get","class":"OC\\Memcache\\WithLocalCache","type":"->","args":["75645f61812001636b2c91d66159cf117bb1f371"]},{"file":"/var/www/html/lib/private/User/Session.php","line":902,"function":"get","class":"OC\\User\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1151,"function":"loginWithCookie","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"handleLogin","class":"OC","type":"::","args":[["OC\\AppFramework\\Http\\Request"]]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":76,"CustomMessage":"Exception thrown: RedisException"}}
{"reqId":"ajbMegvgP7LnMVAB62C9","level":3,"time":"2024-02-11T23:41:39+00:00","remoteAddr":"90.92.8.165","user":"--","app":"core","method":"GET","url":"/favicon.ico","message":"Exception thrown: RedisException","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","exception":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":76,"function":"get","class":"Redis","type":"->","args":["7e53f7be043c17316d21ecc7be666a67/imagePath-826f2196321478af6805af768cd7c3f4-core-favicon.ico"]},{"file":"/var/www/html/lib/private/URLGenerator.php","line":203,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["core-favicon.ico"]},{"file":"/var/www/html/lib/private/legacy/template/functions.php","line":249,"function":"imagePath","class":"OC\\URLGenerator","type":"->","args":["core","favicon.ico"]},{"file":"/var/www/html/core/templates/layout.guest.php","line":20,"function":"image_path","args":["core","favicon.ico"]},{"file":"/var/www/html/lib/private/Template/Base.php","line":180,"args":["/var/www/html/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/html/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->","args":["/var/www/html/core/templates/layout.guest.php",null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":139,"function":"fetchPage","class":"OC\\Template\\Base","type":"->","args":[null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":170,"function":"fetchPage","class":"OC_Template","type":"->","args":[null]},{"file":"/var/www/html/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":291,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/html/index.php","line":104,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[["RedisException"],500]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":76,"CustomMessage":"Exception thrown: RedisException"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":3,"time":"2024-02-11T23:41:58+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"session_start(): php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":3,"time":"2024-02-11T23:41:58+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"session_start(): Redis connection not available at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":3,"time":"2024-02-11T23:41:58+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"session_start(): Failed to read session data: redis (path: tcp://redis:6379?auth=HX7RS1E5snpyS) at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":3,"time":"2024-02-11T23:41:58+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"session_start(): php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":3,"time":"2024-02-11T23:41:58+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"session_start(): Redis connection not available at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":3,"time":"2024-02-11T23:41:58+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"session_start(): Failed to read session data: redis (path: tcp://redis:6379?auth=HX7RS1E5snpyS) at /var/www/html/lib/private/Session/Internal.php#213","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":3,"time":"2024-02-11T23:41:58+00:00","remoteAddr":"90.92.8.165","user":"--","app":"PHP","method":"GET","url":"/index.php/204","message":"Redis::pconnect(): php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution at /var/www/html/lib/private/RedisFactory.php#117","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":4,"time":"2024-02-11T23:41:59+00:00","remoteAddr":"90.92.8.165","user":"--","app":"no app in context","method":"GET","url":"/index.php/204","message":"Could not boot workflowengine: php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","exception":{"Exception":"RedisException","Message":"php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution","Code":0,"Trace":[{"file":"/var/www/html/lib/private/RedisFactory.php","line":117,"function":"pconnect","class":"Redis","type":"->","args":["redis",6379,0,null,0,0]},{"file":"/var/www/html/lib/private/RedisFactory.php","line":158,"function":"create","class":"OC\\RedisFactory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":70,"function":"getInstance","class":"OC\\RedisFactory","type":"->","args":[]},{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":76,"function":"getCache","class":"OC\\Memcache\\Redis","type":"->","args":[]},{"file":"/var/www/html/apps/workflowengine/lib/Manager.php","line":113,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["events"]},{"file":"/var/www/html/apps/workflowengine/lib/AppInfo/Application.php","line":71,"function":"getAllConfiguredEvents","class":"OCA\\WorkflowEngine\\Manager","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":45,"function":"registerRuleListeners","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->","args":[["OC\\EventDispatcher\\EventDispatcher"],["OC\\AppFramework\\DependencyInjection\\DIContainer"],["OC\\AppFramework\\ScopedPsrLogger"]]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[["Closure"]]},{"file":"/var/www/html/apps/workflowengine/lib/AppInfo/Application.php","line":63,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[["Closure"]]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->","args":[["OC\\AppFramework\\Bootstrap\\BootContext"]]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":434,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["workflowengine"]},{"file":"/var/www/html/lib/private/App/AppManager.php","line":213,"function":"loadApp","class":"OC\\App\\AppManager","type":"->","args":["workflowengine"]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":125,"function":"loadApps","class":"OC\\App\\AppManager","type":"->","args":[["filesystem","logging"]]},{"file":"/var/www/html/lib/base.php","line":1052,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem","logging"]]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/RedisFactory.php","Line":117,"message":"Could not boot workflowengine: php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution","exception":{},"CustomMessage":"Could not boot workflowengine: php_network_getaddresses: getaddrinfo for redis failed: Temporary failure in name resolution"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":3,"time":"2024-02-11T23:41:59+00:00","remoteAddr":"90.92.8.165","user":"--","app":"index","method":"GET","url":"/index.php/204","message":"Redis server went away","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","exception":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":76,"function":"get","class":"Redis","type":"->","args":["7e53f7be043c17316d21ecc7be666a67/OC\\Security\\Bruteforce\\Backend\\MemoryCacheBackendbb6cdfba83ee506e587f4d60d762ed16b0678e01"]},{"file":"/var/www/html/lib/private/Security/Bruteforce/Backend/MemoryCacheBackend.php","line":55,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["bb6cdfba83ee506e587f4d60d762ed16b0678e01"]},{"file":"/var/www/html/lib/private/Security/Bruteforce/Backend/MemoryCacheBackend.php","line":80,"function":"getExistingAttempts","class":"OC\\Security\\Bruteforce\\Backend\\MemoryCacheBackend","type":"->","args":["bb6cdfba83ee506e587f4d60d762ed16b0678e01"]},{"file":"/var/www/html/lib/private/Security/Bruteforce/Throttler.php","line":206,"function":"getAttempts","class":"OC\\Security\\Bruteforce\\Backend\\MemoryCacheBackend","type":"->","args":["90.92.8.165/32",1707651719,"login"]},{"file":"/var/www/html/lib/private/Security/Bruteforce/Throttler.php","line":217,"function":"getAttempts","class":"OC\\Security\\Bruteforce\\Throttler","type":"->","args":["90.92.8.165","login"]},{"file":"/var/www/html/lib/private/Security/Bruteforce/Throttler.php","line":290,"function":"getDelay","class":"OC\\Security\\Bruteforce\\Throttler","type":"->","args":["90.92.8.165","login"]},{"file":"/var/www/html/lib/private/User/Session.php","line":432,"function":"sleepDelayOrThrowOnMax","class":"OC\\Security\\Bruteforce\\Throttler","type":"->","args":["90.92.8.165","login"]},{"file":"/var/www/html/lib/private/User/Session.php","line":592,"function":"logClientIn","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1154,"function":"tryBasicAuthLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"handleLogin","class":"OC","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":76,"message":"Redis server went away","exception":{},"CustomMessage":"Redis server went away"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":3,"time":"2024-02-11T23:41:59+00:00","remoteAddr":"90.92.8.165","user":"--","app":"core","method":"GET","url":"/index.php/204","message":"Exception thrown: RedisException","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","exception":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":76,"function":"get","class":"Redis","type":"->","args":["7e53f7be043c17316d21ecc7be666a67/OC\\Security\\Bruteforce\\Backend\\MemoryCacheBackendbb6cdfba83ee506e587f4d60d762ed16b0678e01"]},{"file":"/var/www/html/lib/private/Security/Bruteforce/Backend/MemoryCacheBackend.php","line":55,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["bb6cdfba83ee506e587f4d60d762ed16b0678e01"]},{"file":"/var/www/html/lib/private/Security/Bruteforce/Backend/MemoryCacheBackend.php","line":80,"function":"getExistingAttempts","class":"OC\\Security\\Bruteforce\\Backend\\MemoryCacheBackend","type":"->","args":["bb6cdfba83ee506e587f4d60d762ed16b0678e01"]},{"file":"/var/www/html/lib/private/Security/Bruteforce/Throttler.php","line":206,"function":"getAttempts","class":"OC\\Security\\Bruteforce\\Backend\\MemoryCacheBackend","type":"->","args":["90.92.8.165/32",1707651719,"login"]},{"file":"/var/www/html/lib/private/Security/Bruteforce/Throttler.php","line":217,"function":"getAttempts","class":"OC\\Security\\Bruteforce\\Throttler","type":"->","args":["90.92.8.165","login"]},{"file":"/var/www/html/lib/private/Security/Bruteforce/Throttler.php","line":290,"function":"getDelay","class":"OC\\Security\\Bruteforce\\Throttler","type":"->","args":["90.92.8.165","login"]},{"file":"/var/www/html/lib/private/User/Session.php","line":432,"function":"sleepDelayOrThrowOnMax","class":"OC\\Security\\Bruteforce\\Throttler","type":"->","args":["90.92.8.165","login"]},{"file":"/var/www/html/lib/private/User/Session.php","line":592,"function":"logClientIn","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1154,"function":"tryBasicAuthLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"handleLogin","class":"OC","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":76,"CustomMessage":"Exception thrown: RedisException"}}
{"reqId":"cQju34wBrQKZ57czzbO8","level":3,"time":"2024-02-11T23:41:59+00:00","remoteAddr":"90.92.8.165","user":"--","app":"core","method":"GET","url":"/index.php/204","message":"Exception thrown: RedisException","userAgent":"Mozilla/5.0 (Linux) mirall/3.11.0git (Nextcloud, fedora-6.7.4-200.fc39.x86_64 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","exception":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Memcache/Redis.php","line":76,"function":"get","class":"Redis","type":"->","args":["7e53f7be043c17316d21ecc7be666a67/imagePath-826f2196321478af6805af768cd7c3f4-core-favicon.ico"]},{"file":"/var/www/html/lib/private/URLGenerator.php","line":203,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["core-favicon.ico"]},{"file":"/var/www/html/lib/private/legacy/template/functions.php","line":249,"function":"imagePath","class":"OC\\URLGenerator","type":"->","args":["core","favicon.ico"]},{"file":"/var/www/html/core/templates/layout.guest.php","line":20,"function":"image_path","args":["core","favicon.ico"]},{"file":"/var/www/html/lib/private/Template/Base.php","line":180,"args":["/var/www/html/core/templates/layout.guest.php"],"function":"include"},{"file":"/var/www/html/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\\Template\\Base","type":"->","args":["/var/www/html/core/templates/layout.guest.php",null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":139,"function":"fetchPage","class":"OC\\Template\\Base","type":"->","args":[null]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":170,"function":"fetchPage","class":"OC_Template","type":"->","args":[null]},{"file":"/var/www/html/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":291,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/html/index.php","line":104,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[["RedisException"],500]}],"File":"/var/www/html/lib/private/Memcache/Redis.php","Line":76,"CustomMessage":"Exception thrown: RedisException"}}
{"reqId":"4WYrm8R4L4snitY8cJZ6","level":2,"time":"2024-02-11T23:45:38+00:00","remoteAddr":"100.98.129.60","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/wael/obsidian/","message":"Login failed: 'Wael' (Remote IP: '100.98.129.60')","userAgent":"App/114 CFNetwork/1492.0.1 Darwin/23.3.0","version":"28.0.2.5","data":{"app":"core"}}
{"reqId":"0RXUXk9hd7SYzy94UKCq","level":2,"time":"2024-02-11T23:45:39+00:00","remoteAddr":"100.98.129.60","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/wael/obsidian/","message":"Login failed: 'Wael' (Remote IP: '100.98.129.60')","userAgent":"App/114 CFNetwork/1492.0.1 Darwin/23.3.0","version":"28.0.2.5","data":{"app":"core"}}
{"reqId":"XKZrUAATIydlRv2WxFLg","level":2,"time":"2024-02-11T23:50:12+00:00","remoteAddr":"100.98.129.60","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: Wael (Remote IP: 100.98.129.60)","userAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Mobile/15E148 Safari/604.1","version":"28.0.2.5","data":[]}
{"reqId":"N9ftHPzC29gDAnVf5Kuk","level":3,"time":"2024-02-12T08:26:49+00:00","remoteAddr":"100.98.129.60","user":"--","app":"no app in context","method":"GET","url":"/apps/theming/icon?v=64a0bbf1","message":"Could not decrypt or decode encrypted session data","userAgent":"com.apple.WebKit.Networking/8617.2.4.10.8 CFNetwork/1492.0.1 Darwin/23.3.0","version":"28.0.2.5","exception":{"Exception":"Exception","Message":"HMAC does not match.","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Security/Crypto.php","line":119,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Session/CryptoSessionData.php","line":90,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Session/CryptoSessionData.php","line":67,"function":"initializeSession","class":"OC\\Session\\CryptoSessionData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Session/CryptoWrapper.php","line":112,"function":"__construct","class":"OC\\Session\\CryptoSessionData","type":"->","args":[["OC\\Session\\Internal"],["OC\\Security\\Crypto"],"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":449,"function":"wrapSession","class":"OC\\Session\\CryptoWrapper","type":"->","args":[["OC\\Session\\Internal"]]},{"file":"/var/www/html/lib/base.php","line":705,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1200,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":37,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Security/Crypto.php","Line":158,"message":"Could not decrypt or decode encrypted session data","exception":{},"CustomMessage":"Could not decrypt or decode encrypted session data"}}
{"reqId":"IjZkBrpEoFDdUDAJwoZJ","level":2,"time":"2024-02-12T08:27:02+00:00","remoteAddr":"100.98.129.60","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: wael (Remote IP: 100.98.129.60)","userAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/122.2  Mobile/15E148 Safari/605.1.15","version":"28.0.2.5","data":[]}
{"reqId":"rkaFBnrtCxSxgtYxsPJP","level":3,"time":"2024-02-12T10:19:37+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /var/www/html/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"r3XpMYArWqx5vfZ8FxIq","level":3,"time":"2024-02-12T10:20:04+00:00","remoteAddr":"100.66.63.118","user":"--","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status","message":"TypeError: OCA\\UserStatus\\Controller\\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /var/www/html/apps/user_status/lib/Controller/UserStatusController.php#54","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","version":"28.0.2.5","data":{"app":"PHP"}}

and here is my config.php

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'redis',
    'password' => '******************',
    'port' => 6379,
  ),
  'upgrade.disable-web' => true,
  'instanceid' => 'ockagipo68kv',
  'passwordsalt' => '*********************',
  'secret' => '**************',
  'trusted_domains' => 
  array (
    0 => 'cloud.tld.com',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '28.0.2.5',
  'overwrite.cli.url' => 'http://cloud.tld.com',
  'dbname' => 'nextcloud',
  'dbhost' => 'nextclouddb',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '************',
  'installed' => true,
  'overwriteprotocol' => 'https',
  'maintenance_window_start' => 1,
  'mail_from_address' => 'mail',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'waeltahhan.com',
  'mail_smtphost' => 'mail.gandi.net',
  'mail_smtpauth' => 1,
  'mail_smtpport' => '587',
  'mail_smtpname' => 'mail@waeltahhan.com',
  'mail_smtppassword' => '**********************',
  'auth.bruteforce.protection.enabled' => true,
  'maintenance' => false,
  'loglevel' => 2,
  'enable_previews' => true,
  'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\BMP',
    4 => 'OC\\Preview\\XBitmap',
    5 => 'OC\\Preview\\Movie',
    6 => 'OC\\Preview\\PDF',
    7 => 'OC\\Preview\\MP3',
    8 => 'OC\\Preview\\TXT',
    9 => 'OC\\Preview\\MarkDown',
   10 => 'OC\\Preview\\MP4',
  ),
);

I couldn’t notice what is wrong with these parameters that is causing the constant and persistent errors. Any hints or advises would be appreciated

Comments on the fresh installation

  • Please use the output of occ config:list system to see your real configuration (since you’re using the Docker image there are multiple configuration files, which bring in the environment variables from Compose. The config.php by itself may not represent your live config)
  • Your provided config.php appears to include remnants not from a fresh installation, but from post-installation customization (e.g. overwriteprotocol, the listed trusted_domains, etc.). If you’re able, try to reproduce with a truly fresh installation without using your prior config, and only using your Compose file. (Obviously be careful with your existing config and data - backups/etc)
  • Your errors indicate DNS errors in your Docker environment. redis should be resolvable in a standard Docker environment with the Compose you provided, unless the redis container is not fully functioning or maybe the Compose doesn’t represent what’s really running (such as if the old containers were not removed prior to or after adjusting your Compose). Until the redis matter is addressed, Nextcloud will have problems.
  • I see you have PUID/PGID in your environment; that is from Linuxserver.io Docker image and not used by the micro-servers Docker image. It does indicate, however, that you may be trying to run Nextcloud under a non-default UID. If you wish to do this with the micro-services image, you must use Docker’s built-in user support

Comments on your original issue

  • Have you kept your Linuxserver.io config up to date? (the container logs warn upon boot-up if your Nginx/etc configs are out of date; you can also see their changelog in their docs for some hints). They’ve made significant changes to the configs twice in the past year.
  • Since you appear to be using https, this line should be fixed: 'overwrite.cli.url' => 'http://cloud.tld.com', (change to https...)

So you have basically have two choices:

  • Debug your original situation / try to clean up your installation
  • Establish a clean/tested/streamlined installation (using the image of your choice) and then migrate your database and data into the tested/functioning environment