# Nextcloud randomly logs out in browsers

**URL:** <https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107>\
**Category:** ℹ️ Support\
**Tags:** nc27\
**Created:** [June 28, 2023, 2:09pm UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107 "2023-06-28T14:09:54Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![icassassin](https://help.nextcloud.com/letter_avatar/icassassin/32/6_22734026db12803ebb3e059622ac3534.png) [@icassassin](https://help.nextcloud.com/u/icassassin)\
**Post date:** [May 6, 2024, 8:01pm UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/21 "2024-05-06T20:01:37Z")

</div>

Just to chime in and say I’m having random logging out issues again since updating to 28.0.5. I have not re-enabled preloading in Chrome.

---

<div class="post-metadata">

**Author:** ![karolg](https://help.nextcloud.com/user_avatar/help.nextcloud.com/karolg/32/61808_2.png) [@karolg](https://help.nextcloud.com/u/karolg)\
**Post date:** [May 18, 2024, 12:29pm UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/22 "2024-05-18T12:29:04Z")

</div>

I’m also having random logouts, even during using the Nextcloud I’m randlomly logged out. Nextcloud v 29.0.0. I wasn’t able to fix this issue with any mentioned config.php tweaks.

---

<div class="post-metadata">

**Author:** ![SysKeeper](https://help.nextcloud.com/letter_avatar/syskeeper/32/6_22734026db12803ebb3e059622ac3534.png) [@SysKeeper](https://help.nextcloud.com/u/SysKeeper)\
**Post date:** [May 18, 2024, 12:29pm UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/23 "2024-05-18T12:29:46Z")

</div>

> [@e-raser](#):
>
> EDIT: probably [[Bug]: Auto logout with and without inactivity - 28.0.5 & 29.0.0 · Issue #45132 · nextcloud/server · GitHub ](https://github.com/nextcloud/server/issues/45132) applies (introduced with 28.0.5).

Please see this edit

---

<div class="post-metadata">

**Author:** ![karolg](https://help.nextcloud.com/user_avatar/help.nextcloud.com/karolg/32/61808_2.png) [@karolg](https://help.nextcloud.com/u/karolg)\
**Post date:** [May 19, 2024, 11:23am UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/24 "2024-05-19T11:23:30Z")

</div>

Thank you, seems the issue with logouts has been fixed.

---

<div class="post-metadata">

**Author:** ![Chewie](https://help.nextcloud.com/letter_avatar/chewie/32/6_22734026db12803ebb3e059622ac3534.png) [@Chewie](https://help.nextcloud.com/u/Chewie)\
**Post date:** [May 19, 2024, 3:05pm UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/25 "2024-05-19T15:05:20Z")

</div>

I’m having the same issue with 28.0.5.  
What’s the best way to fix this in a production environment?  
How can I upgrade to 28.0.6rc1? Or can I downgrade to 28.0.4 safely?

---

<div class="post-metadata">

**Author:** ![SysKeeper](https://help.nextcloud.com/letter_avatar/syskeeper/32/6_22734026db12803ebb3e059622ac3534.png) [@SysKeeper](https://help.nextcloud.com/u/SysKeeper)\
**Post date:** [May 19, 2024, 6:12pm UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/26 "2024-05-19T18:12:34Z")

</div>

I‘d suggest to just wait for Thursday, that’s when 28.0.6 is planned: [Maintenance and Release Schedule · nextcloud/server Wiki · GitHub](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule#currently-maintained-versions)

Otherwise you can switch to beta channel and get the rc or just apply the PR manually: [Patching Nextcloud — Nextcloud latest Administration Manual latest documentation](https://docs.nextcloud.com/server/latest/admin_manual/issues/applying_patch.html)

---

<div class="post-metadata">

**Author:** ![e-raser](https://help.nextcloud.com/user_avatar/help.nextcloud.com/e-raser/32/7563_2.png) [@e-raser](https://help.nextcloud.com/u/e-raser)\
**Post date:** [May 30, 2024, 4:20pm UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/27 "2024-05-30T16:20:26Z")

</div>

28.0.6 released some while ago and fixed this (for me, as the manual patch before did).

---

<div class="post-metadata">

**Author:** ![Taira](https://help.nextcloud.com/user_avatar/help.nextcloud.com/taira/32/33069_2.png) [@Taira](https://help.nextcloud.com/u/Taira)\
**Post date:** [July 8, 2024, 8:55pm UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/28 "2024-07-08T20:55:32Z")

</div>

I’ve actually yet to solve this problem. It’s still occurring for me as of Nextcloud 29.0.3. I’ve just been living with it for all this time. Interestingly, since then Nextcloud has reported a “temporary error” when I try logging in after it happens. When I enter the same login credentials again, I get logged in, but I am logged out again with times between varying wildly. I’ve had it happen multiple weeks apart, and I’ve had it happen mere minutes apart. Still looking for a solution to this.

---

<div class="post-metadata">

**Author:** ![yan12125](https://help.nextcloud.com/letter_avatar/yan12125/32/6_22734026db12803ebb3e059622ac3534.png) [@yan12125](https://help.nextcloud.com/u/yan12125)\
**Post date:** [September 12, 2024, 7:57pm UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/29 "2024-09-12T19:57:52Z")

</div>

Jumping in as I have been affected by a quite similar issue, and the issue persists with 29.0.6. [Tried to log in "user" but could not verify token · Issue #37492 · nextcloud/server · GitHub](https://github.com/nextcloud/server/issues/37492) may be related.

---

<div class="post-metadata">

**Author:** ![Florentin68](https://help.nextcloud.com/user_avatar/help.nextcloud.com/florentin68/32/7827_2.png) [@Florentin68](https://help.nextcloud.com/u/Florentin68)\
**Post date:** [September 13, 2024, 7:32pm UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/30 "2024-09-13T19:32:31Z")

</div>

I have no more problems since I moved my config to Nextcloud AIO.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [January 16, 2025, 9:08am UTC](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107/31 "2025-01-16T09:08:44Z")

</div>



[Previous page](https://help.nextcloud.com/t/nextcloud-randomly-logs-out-in-browsers/165107.md?page=1)
