Closed htwsaaraub closed 3 years ago
I managed to fix this issue at the Moment by running a shell script by Cron for Syncing (new) LDAP Users and manage this files.
occ user:sync "OCA\User_LDAP\User_Proxy" -m remove occ files:scan $user --repair (for all users, running through a loop)
After this, the user folders are created properly.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.
Steps to reproduce
Expected behaviour
User should be logged in.
Actual behaviour
Web Error Page is displayed.
User Folder $user/files is not created. Only the cache Folder is available. If the missing Folder $user/files is created manuelly and the correct file system permissions are set, the user can log in. Also, if the user is deleted through the Users Page in the Web UI, the user can log in correct.
It is reproduceable if the Folder $user/files is deleted, the user getting the error Page at login.
I checked the permissions of the folder data. This looks correct. drwxr-x--- 404 www-data www-data 20480 Jun 25 12:09 data
Also the User Folder permissions are set correct. drwxr-xr-x 4 www-data www-data 4096 Jun 25 12:09 XXXXX
Also the Cache Folder. drwxr-xr-x 2 www-data www-data 4096 Jun 25 12:09 cache
Server configuration
List of activated apps:
Are you using external storage, if yes which one: smb
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)
Client configuration
Browser: Google Chrome Version 75.0.3770.100 (Offizieller Build) (64-Bit)
Operating system:
Logs
ownCloud log (data/owncloud.log)