-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 20.0.0.8 to 21.0.3 - Some users can't login - internal server error #28229
Comments
Got the same here, ldap user and external smb storage, updated from 20.0.8 to 20.0.11 to 21.0.3 . My database / especially oc_filecache table size seems to have exploded from ~7GB to the ~30GB and has filled my filesystem, thus provoking the errors. Currently investigating the size "explosion" but unfortunately I have completely deleted oc_filecache table without intending to (still have nightly backup for the last 7 days). |
I suppose this is still happening on NC21.0.4? |
I don't know for my part, removed the smb external storage for the moment to confirm it's not happening without it and indeed, no problems since 11 days ago. I'll need to re-enable it at the start of september I'll try to keep in touch. |
I'm having the same issue, apart from my users getting a 504 Gateway Timeout from nginx rather than an "internal server error" after almost exactly a minute of spinning wheel after entering password. Sometimes, one of my user accounts will pop up a TFA prompt after the one minute delay, but not always. Nextcloud version : 21.0.4, 21.0.4.1 Interestingly, the account on my system which has several SMB external storage folders set up is more likely to be able to log in than the one that has none. |
So interestingly, I had a period where I was able to log in after a PHP update. Sorry, I didn't capture the details here. But my PHP has just updated to PHP 8.0.11, and I'm back to getting login failures (504 Gateway Timeout). So maybe looking at what changed between PHP 8.0.9 -> 8.0.10 -> 8.0.11 may be helpful? Switching to back to PHP 7.4.24 makes no difference. I'll also note that other websites I run that run on PHP and use LDAP authentication work perfectly, without even any delay in logging in. I don't appear to have any LDAP issues anywhere else. Clearly, something that Nextcloud is doing when accessing the LDAP server is messing up. Disabling SMB external storage does not allow my accounts to login. Nextcloud version now: 21.0.4 This is a really annoying thing to be getting no dev feedback on. I've now lost the ability to sync my calendars to my phone, because I tried clearing and resetting my DAVx5 connection after failures to sync new calendars/task lists. None of my user accounts can log on, so we're relying on already connected sessions. Can someone give me some idea of what I can do to get this working, at least? |
Upgrading to Nextcloud 21.0.5.1 has me able to log in again, though strangely, the notification-based TFA seems to not be working, only TOTP (of the options I have enabled). I couldn't see anything in the release notes mentioning LDAP or other authentication issues, though. |
Can anybody confirm that it is fixed with NC 21.0.5.1 ? |
So i tried my luck.. and its the same on all new Nextcloud versions. ( 20.0.13, 21.0.5, 22.02 ) The error messages are always the same:
Any help would be great! |
any news ? |
I can confirm its happening in 20.0.13, 21.05 and 22.0.2 |
Steps to reproduce
Expected behaviour
Users can login and no smb problems
Actual behaviour
Some of our users can't login anymore
Server configuration
Operating system:
Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-80-generic x86_64)
Web server:
nginx/1.18.0 (Ubuntu)
Database:
psql (PostgreSQL) 12.7 (Ubuntu 12.7-0ubuntu0.20.04.1)
PHP version:
PHP 7.4.3
Nextcloud version: (see Nextcloud admin page)
21.0.3
Updated from an older Nextcloud/ownCloud or fresh install:
20.0.0.8
Where did you install Nextcloud from:
Install / update from auto-updater.
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
smb
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Safari Version 14.1.1
Firefox 89.0.2
Brave Version 1.26.77
Operating system:
MacOS BigSur 11.4
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Summery / Error Description
We use nextcloud with external smb storage (users home folder ) and ldap users.
The smb storage is authenticated from the corresponding user -->smb configured with "global login information insert by user".
With Nextcloud 20.0.0.8 this works well.
After Upgrade to any version higher than 20.0.0.8 we have the problem that around 30 % of our users can't login anymore and only gets message "internal server error".
For all other users nextcloud is working as expected.
There is no difference between the users.. same groups, same permissions etc.
Nginx and php error logs are empty. Only information which is logged when this error occurs is in nextcloud.log
Maybe it has something to do with the error report #26697 ?
The text was updated successfully, but these errors were encountered: