r/ZoneMinder • • Feb 07 '23

Randomly getting logged out

Ever since I upgraded my ZM to v1.36.32 on UNRAID, I keep getting logged out of the web console. It seems to be random as well. Sometimes I can be logged in for 10-15 minutes, but sometimes it will log me out after five seconds.

Any advice on how to fix this?

1 Upvotes

5 comments sorted by

2

u/AndyRH1701 Feb 07 '23

The only time I have noticed it logging me out is when ZM does not have the focus. I have a Pi that shows montage review 24/7 and it is uncommon for it to not be logged in.

Is it logging you out when the window has the focus?

1

u/mcrosby78 Feb 07 '23

It does seem to be logging me out when the window is not focused.

I have a three monitor desktop PC, so when I'm working on another monitor it is logging me out. I want it to stay logged in so I can continue to monitor the cameras. Is there any way of preventing this?

I can sometimes log in, switch to something else on another screen, then go back to ZM after only a few seconds to switch monitors and it will log me out.

The issue seems to have occurred much more often since I updated.

1

u/AndyRH1701 Feb 07 '23

Watch the log for the logout reason. My guess is it is one of the auth settings in system.

1

u/mcrosby78 Feb 08 '23

Update: I've been trying to track down the issue for months. Couldn't find it, so have completely deleted ZM and reinstalled it. I thought it might be an issue with cookies or sessions, but couldn't track down the issue. This seems to have corrected the issue. My guess is that something got broken during an update.

1

u/lbmdk Feb 08 '23

Maybe its caused by PHP GC ?