Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com.
Getting help
In order to help you as efficiently as possible, please fill in as much of the below requested information as you can.
The Basics
-
Nextcloud Server version:
31.0.4.1
-
Operating system and version:
Ubuntu 22.04.5 LTS (jammy)
-
Web server and version:
Apache/2.4.52 (Ubuntu)
-
Reverse proxy and version:
No reverse proxy in use
(Please confirm if this is true) -
PHP version:
8.3.20
-
Is this the first time you’ve seen this error?
Yes
-
When did this problem seem to first start?
After updating to 31.0.4
-
Installation method:
Manual (archive extraction)
-
Are you using Cloudflare, mod_security, or similar?
No
(Please confirm)
Summary of the issue you are facing:
I have bookmarked my Nextcloud dashboard. I’m logged in and everything works fine initially.
However, after some time — typically a day — when I revisit the bookmark, I get a message saying:
“Password expired – try to reset it.”
If I clear the browser history or cache, the problem goes away temporarily, but this is not a long-term solution.
I’ve confirmed that this started after the 31.0.4 update.
Session settings were missing in config.php
, so I added the following:
'remember_login_cookie_lifetime' => 1296000,
'session_lifetime' => 86400,
'session_keepalive' => true,