Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Bug: Auto logout with and without inactivity - 28.0.5

Bug: Auto logout with and without inactivity - 28.0.5

Scheduled Pinned Locked Moved Solved Nextcloud
27 Posts 10 Posters 2.2k Views 10 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • daebakD Offline
    daebakD Offline
    daebak
    wrote on last edited by daebak
    #1

    After the latest update from 28.0.4 to 28.0.5, there’s an auto logout problem with or without activity.

    I also tried to add these parameters

    ‘session_lifetime’ => 86400, ‘session_keepalive’ => true, ‘auto_logout’ => false,
    

    in the config.php but nothing, the problem persists.

    I reported this bug:

    https://github.com/nextcloud/server/issues/45132

    the response:

    Please try to apply #45093. it is for 29, but the changes can be done for 28 as well until the backport is done.

    https://github.com/nextcloud/server/pull/45093

    Has anyone else encountered this problem?

    Thank you.

    BUSINESS DEVELOPER
    https://antoniodonofrio.com

    1 Reply Last reply
    3
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @daebak thanks for reporting upstream. Let's see, I just logged in into my nextcloud. Will report back in 1 hour or so.

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        So far.. mine is still logged in after 45 mins.

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          OK, so for me it does not log out, even with no activity. Maybe this is something browser related or plugin related.

          1 Reply Last reply
          0
          • daebakD Offline
            daebakD Offline
            daebak
            wrote on last edited by
            #5

            @girish Thank you! It's not regular, in some cases it happens during use. For example, in the clinic where downtime is rare, it happened 3 or 4 times to accounts even just switching from file to calendar. I did a new installation and I noticed that if the browser window is minimized, if I reopen it after a while it requires login.

            BUSINESS DEVELOPER
            https://antoniodonofrio.com

            1 Reply Last reply
            0
            • daebakD Offline
              daebakD Offline
              daebak
              wrote on last edited by
              #6

              It's not a matter of plugins or browsers. New installation and incognito browser.

              BUSINESS DEVELOPER
              https://antoniodonofrio.com

              1 Reply Last reply
              0
              • M Offline
                M Offline
                msbt
                App Dev
                wrote on last edited by msbt
                #7

                Happens to me as well, using Firefox on Ubuntu, the only special plugin I have is the news extension which times out rather quickly, I haven't timed it since I'm not watching it, but at some point it always goes Request unauthorized. Are you logged in?.

                1 Reply Last reply
                1
                • necrevistonnezrN Offline
                  necrevistonnezrN Offline
                  necrevistonnezr
                  wrote on last edited by
                  #8

                  I have the same issue...

                  1 Reply Last reply
                  1
                  • E Offline
                    E Offline
                    EntityPacket
                    wrote on last edited by
                    #9

                    Same issue here. Literally logs me out all the time, every day and sometimes multiple times per day. Has this be acknowledged as a new bug?

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Phase
                      wrote on last edited by
                      #10

                      Same issue for me. It's literally impossible to upload big files with my slow Internet Connection because I get logged out while uploading.

                      1 Reply Last reply
                      0
                      • nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #11

                        I can't reproduce this here either. Not sure if this is related but maybe to narrow down the potential error angle, does this happen with Cloudron user management enabled? And if so does the same happen for the Nextcloud local admin account?

                        1 Reply Last reply
                        0
                        • necrevistonnezrN Offline
                          necrevistonnezrN Offline
                          necrevistonnezr
                          wrote on last edited by necrevistonnezr
                          #12
                          • User management set to "All users from this Cloudron"
                            Bildschirmfoto 2024-05-06 um 12.34.06.png
                          • Normal user: Logout happens even in an "incognito" browser window (Edge, Brave)
                          • Admin: stays logged in (for the last ~30 mins; Edit: stays logged in even after ~90 mins)

                          So at least for me, it seems restricted to "normal" users.

                          1 Reply Last reply
                          1
                          • necrevistonnezrN Offline
                            necrevistonnezrN Offline
                            necrevistonnezr
                            wrote on last edited by
                            #13

                            Seems to be a common problem now: https://help.nextcloud.com/t/web-interface-forcing-logout-after-upgrade-to-28-0-5/189651

                            https://github.com/nextcloud/server/pull/45093 will me merged now, apparently

                            1 Reply Last reply
                            2
                            • nebulonN Offline
                              nebulonN Offline
                              nebulon
                              Staff
                              wrote on last edited by
                              #14

                              @necrevistonnezr well spotted, thanks for sharing. Seems merged already, so hopefully this fixes the issue then with the next release.

                              1 Reply Last reply
                              2
                              • daebakD Offline
                                daebakD Offline
                                daebak
                                wrote on last edited by
                                #15

                                As I opened this post, I already indicated that I had opened an issue on GitHub, the one mentioned in the previous comment.

                                https://github.com/nextcloud/server/issues/45132#issuecomment-2098151745

                                Now, whoever applied the fix, which is hoped to be released in the next release, encountered this problem:

                                "for us #45093 did fix the auto logout error but Nextcloud Office / Collabora Code could not access the files any more, so we had to choose what’s more important, NC Office or a reliable Talk App.

                                A general question: Does the Maintenance and Release Schedule, in this case for 28.0.6 (2024-05-23) and 29.0.1 (2024-05-23), also apply to critical issues like that or are hotfixes rolled out via the Updater earlier?".

                                I don’t know if this can also cause problems with OnlyOffice. I believe that must be very careful when performing the update, at least try the operation of the main applications.

                                BUSINESS DEVELOPER
                                https://antoniodonofrio.com

                                1 Reply Last reply
                                1
                                • tshirt-chihuahuT Offline
                                  tshirt-chihuahuT Offline
                                  tshirt-chihuahu
                                  wrote on last edited by tshirt-chihuahu
                                  #16

                                  This is awful. Nextcloud calendar has become (effectively) unusable. Has anyone found a workaround? @nebulon were you able to figure out why you could not reproduce? Perhaps that's a potential workaround....

                                  1 Reply Last reply
                                  0
                                  • girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #17

                                    Think we are looking for the answer to https://github.com/nextcloud/server/issues/45132#issuecomment-2098151745 . If the patch will be part of next release or not. If it will be, then we should have a new package next week.

                                    1 Reply Last reply
                                    0
                                    • jdaviescoatesJ jdaviescoates referenced this topic on
                                    • marcusquinnM Offline
                                      marcusquinnM Offline
                                      marcusquinn
                                      wrote on last edited by
                                      #18

                                      Looks like there could be a fix coming downstream...

                                      The PR was merged for 28.0.6: https://github.com/nextcloud/server/milestone/265?closed=1

                                      https://github.com/nextcloud/server/issues/45132#issuecomment-2121047422

                                      Web Design https://www.evergreen.je
                                      Development https://brandlight.org
                                      Life https://marcusquinn.com

                                      1 Reply Last reply
                                      1
                                      • necrevistonnezrN Offline
                                        necrevistonnezrN Offline
                                        necrevistonnezr
                                        wrote on last edited by necrevistonnezr
                                        #19

                                        I can't stress enough, how super annoying this is when you're actually trying to work with the web interface.
                                        It'a major f*ck-up by Nextcloud and really bad that they did not release an emergency fix.
                                        Let's me question the whole use of the system.

                                        jdaviescoatesJ 1 Reply Last reply
                                        0
                                        • girishG Offline
                                          girishG Offline
                                          girish
                                          Staff
                                          wrote on last edited by
                                          #20

                                          It says 28.0.6 is expected today - https://github.com/nextcloud/documentation/milestone/258 but there are still some tasks open. Anyone know the nextcloud release date for this patch release? 🤞

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search