Hi all, I have an issue which I think aligns with my upgrade to TrueNAS-SCALE-24.10.2. Since I did this the Truenas WebGUI is logging out intermittently even while working in the GUI. For example if I am using the shell for installs etc then I could be in the middle something and then the gui logouts out and then back in clearing my shell!
I did some basic troubleshooting and restarted the NAS, then rebooted the Middleware, which seemed to have improved the problem, but today it is back again causing a problem.
I also reset my session login time to see if that fixed things, but no.
Im not sure how I can diagnose the issue on Truenas, any help would be appreciated as it is now causing a real problem. I checked the bug list and expected to see many issue like this but i do not, so the issue probably resides with something I am doing but I cannot figure out how to fix.
Only using a NAS and Truenas Scael for the past couple of months so not an expert.
Go to settings->advanced and check your session timeout parameter. Mine is set for 20 minutes. If that is not it, try a different browser as well. I use Brave and the session time out works great for me.
The GUI will log you out automatically, this is by design.
You can change the time in System Settings → Advanced → Access.
Having said that, I still recommend to avoid doing anything but the most trivial information gathering in the built-in web-shell, because it’s somewhat volatile by nature.
If you need a more stable shell connection, use SSH.
And/or consider using tmux.
Thanks Theo & neofusion, to clarify, my session time is 1 day. I have changed this multiple times. My issue is that this is not a timed-out logout, the GUI is logging out even when I am interacting with it - eg, typing in the shell and then logout with shell cleared. I dont know where to look for petential problems or how to diagnose.
A shot in the dark but potentially a network interruption could cause this?
When I access the UI via a vpn and change the connection or when I switch from wired ethernet to wifi on my laptop, the UI window will often refresh and log me out?
As @neofusion said though, if you’re doing extensive actions in the shell, an SSH session is preferable to the web shell.