This is really getting annoying, I’ve been trying to disable random apps but nothing seems to affect it. What else should I be looking at, or is this just purely a bug with NC 28.0.5?
In the past, I’ve generally been told to report stuff on GitHub. However, there are several problems with that, including the fact that the system is exploded into many different projects and I don’t usually know which project the problem is happening in.
If it’s a bug impacting Server, report it in the server repository.
However I’d expect a ton of reports if this was happening across the board and I’m not seeing that.
One of the easiest ways I’m aware of to generate the behavior you’re seeing is to have a reverse proxy in place with inappropriate caching. A common one is NPM w/ the Asset Caching option on (it needs to be off).
My test system (NC29) is proxied via my “production” system (NC28) via Apache. Neither had a problem (at least a year old or more) until the recent round of changes.
Had the same problem which started immediately after updating to 28.0.5. That fix (PR 45093) seems to be working for me–no forced log-offs in over 30 minutes whereas before it was logging me off at least every 5 minutes
So, I don’t know what you mean by “apply” exactly, but I replaced the “lib/private/Authentication/Token/PublicKeyTokenProvider.php” file with the file from the GitHub repo that has the fix and for now it seems to be working. Thanks for the suggestion.
How would I copy this file to my server? Mine is a virtual machine running on VMware Player. Since the ubuntu server has no GUI, just command line, I can’t download a file from a browser.
Also, as I’m not as experienced with obtaining the files, I don’t even see how to acquire it from the GitHub link
I apologize for not being well versed with ubuntu. SFTP worked well to get me connected, however even though I logged in with my Ubuntu admin account, lib/private doesn’t exist for me, and some folders I can’t seem to access due to SFTP reporting access denied.
I’m not logging in as ‘root’ which I suspect is the issue. But I don’t recall ever being prompted for a password for the root user when I deployed my Nextcloud VM.
I managed to replace my file with the PR file, and so far it seems stable. I was hit with the logout multiple times this AM prior to the PR, but hoping this clears the issue.
Many thanks to @SysKeeper for pointing out the PR in the first place. Hopefully that will solve it for other people experiencing the issue as well.
We experienced the logout problem too after the update from 28.0.4 to 28.0.5.
After reading a lot of articles I restored a backup version of 28.0.4 of lib/private/Authentication/Token/PublicKeyTokenProvider.php file. Downside is that php occ integrity:check-core is raising a problem with this file, Right now I have no solution for that.