⚠️ This issue respects the following points: ⚠️
Bug description
When provisioning a new user via OpenID Connect user backend into a group that has group shares the user is not created properly.
Steps to reproduce
- Configure OIDC Plugin with group provisioning
- Create a share that is shared with that group
- Login with an fresh OIDC user
Expected behavior
User should login successfully
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"skeletondirectory": "",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 1.5
},
"oidc_login_auto_redirect": true,
"default_phone_region": "DE",
"maintenance_window_start": 4,
"sharing.interal_shares_accepted": true,
"sharing.enable_share_accept": false,
"sharing.force_share_accept": false,
"sharing.enable_share_mail": true,
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "34.0.2.1",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"htaccess.RewriteBase": "\/",
"maintenance": false,
"loglevel": 0,
"theme": "",
"config_preset": 7,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": true,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl",
"updater.secret": "***REMOVED SENSITIVE VALUE***",
"updater.release.channel": "stable"
}
}
List of activated Apps
Enabled:
- activity: 7.0.0
- admin_audit: 1.24.0
- app_api: 34.0.0
- appstore: 1.0.0
- bruteforcesettings: 7.0.0
- circles: 34.0.0
- cloud_federation_api: 1.18.0
- comments: 1.24.0
- dav: 1.39.0
- deck: 1.18.3
- encryption: 2.22.0
- federatedfilesharing: 1.24.0
- files: 2.6.0
- files_downloadlimit: 5.2.0
- files_lock: 34.0.1
- files_pdfviewer: 7.0.0-dev.0
- files_reminders: 1.7.0
- files_sharing: 1.26.0
- files_trashbin: 1.24.0
- files_versions: 1.27.0
- logreader: 7.0.0
- lookup_server_connector: 1.22.0
- notifications: 7.0.0-dev.1
- oauth2: 1.22.0
- office: 1.0.0
- password_policy: 6.0.0-dev.0
- privacy: 6.0.0-dev.1
- profile: 1.3.0
- provisioning_api: 1.24.0
- recommendations: 7.0.0
- related_resources: 5.0.0-dev.0
- richdocuments: 11.1.0
- richdocumentscode: 26.4.104
- serverinfo: 6.0.0
- settings: 1.17.0
- sharebymail: 1.24.0
- support: 6.0.0
- survey_client: 6.0.0-dev.0
- systemtags: 1.24.0
- text: 8.0.0
- theming: 2.9.0
- twofactor_backupcodes: 1.23.0
- twofactor_totp: 16.0.0
- updatenotification: 1.24.0
- user_oidc: 8.10.1
- user_status: 1.14.0
- viewer: 7.0.0-dev.0
- webhook_listeners: 1.6.0
- workflowengine: 2.16.0
Nextcloud Signing status
Nextcloud Logs
{"reqId":"saqcUgKKPX71dVDquee3","level":3,"time":"2026-07-27T20:53:11+00:00","remoteAddr":"2003:c1:4f4a:9900:5104:9ba6:6a03:f2d","user":"admin@<email>","app":"index","method":"GET","url":"/apps/files/","scriptName":"/index.php","message":"The root directory of the user's files is missing","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0.1 Safari/605.1.15","version":"34.0.2.1","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"The root directory of the user's files is missing","Code":0,"Trace":[{"file":"/var/www/html/apps/files/lib/Controller/ViewController.php","line":81,"function":"getStorageInfo","class":"OC_Helper","type":"::"},{"file":"/var/www/html/apps/files/lib/Controller/ViewController.php","line":174,"function":"getStorageInfo","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":165,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":78,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":324,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":1172,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/lib/private/legacy/OC_Helper.php","Line":180,"message":"The root directory of the user's files is missing","exception":"{\"class\":\"OCP\\Files\\NotFoundException\",\"message\":\"The root directory of the user's files is missing\",\"code\":0,\"file\":\"/var/www/html/lib/private/legacy/OC_Helper.php:180\",\"trace\":\"#0 /var/www/html/apps/files/lib/Controller/ViewController.php(81): OC_Helper::getStorageInfo()\\n#1 /var/www/html/apps/files/lib/Controller/ViewController.php(174): OCA\\Files\\Controller\\ViewController->getStorageInfo()\\n#2 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(165): OCA\\Files\\Controller\\ViewController->index()\\n#3 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(78): OC\\AppFramework\\Http\\Dispatcher->executeController()\\n#4 /var/www/html/lib/private/AppFramework/App.php(137): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#5 /var/www/html/lib/private/Route/Router.php(324): OC\\AppFramework\\App::main()\\n#6 /var/www/html/lib/base.php(1172): OC\\Route\\Router->match()\\n#7 /var/www/html/index.php(25): OC::handleRequest()\\n#8 {main}\"}","CustomMessage":"The root directory of the user's files is missing"},"id":"6a67c69d28663"}
Additional info
No response
Bug description
When provisioning a new user via OpenID Connect user backend into a group that has group shares the user is not created properly.
Steps to reproduce
Expected behavior
User should login successfully
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
{ "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***", "***REMOVED SENSITIVE VALUE***" ], "skeletondirectory": "", "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 1.5 }, "oidc_login_auto_redirect": true, "default_phone_region": "DE", "maintenance_window_start": 4, "sharing.interal_shares_accepted": true, "sharing.enable_share_accept": false, "sharing.force_share_accept": false, "sharing.enable_share_mail": true, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "34.0.2.1", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "htaccess.RewriteBase": "\/", "maintenance": false, "loglevel": 0, "theme": "", "config_preset": 7, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauth": true, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "ssl", "updater.secret": "***REMOVED SENSITIVE VALUE***", "updater.release.channel": "stable" } }List of activated Apps
Nextcloud Signing status
Nextcloud Logs
{"reqId":"saqcUgKKPX71dVDquee3","level":3,"time":"2026-07-27T20:53:11+00:00","remoteAddr":"2003:c1:4f4a:9900:5104:9ba6:6a03:f2d","user":"admin@<email>","app":"index","method":"GET","url":"/apps/files/","scriptName":"/index.php","message":"The root directory of the user's files is missing","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0.1 Safari/605.1.15","version":"34.0.2.1","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"The root directory of the user's files is missing","Code":0,"Trace":[{"file":"/var/www/html/apps/files/lib/Controller/ViewController.php","line":81,"function":"getStorageInfo","class":"OC_Helper","type":"::"},{"file":"/var/www/html/apps/files/lib/Controller/ViewController.php","line":174,"function":"getStorageInfo","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":165,"function":"index","class":"OCA\\Files\\Controller\\ViewController","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":78,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/lib/private/Route/Router.php","line":324,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/lib/base.php","line":1172,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/lib/private/legacy/OC_Helper.php","Line":180,"message":"The root directory of the user's files is missing","exception":"{\"class\":\"OCP\\Files\\NotFoundException\",\"message\":\"The root directory of the user's files is missing\",\"code\":0,\"file\":\"/var/www/html/lib/private/legacy/OC_Helper.php:180\",\"trace\":\"#0 /var/www/html/apps/files/lib/Controller/ViewController.php(81): OC_Helper::getStorageInfo()\\n#1 /var/www/html/apps/files/lib/Controller/ViewController.php(174): OCA\\Files\\Controller\\ViewController->getStorageInfo()\\n#2 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(165): OCA\\Files\\Controller\\ViewController->index()\\n#3 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(78): OC\\AppFramework\\Http\\Dispatcher->executeController()\\n#4 /var/www/html/lib/private/AppFramework/App.php(137): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#5 /var/www/html/lib/private/Route/Router.php(324): OC\\AppFramework\\App::main()\\n#6 /var/www/html/lib/base.php(1172): OC\\Route\\Router->match()\\n#7 /var/www/html/index.php(25): OC::handleRequest()\\n#8 {main}\"}","CustomMessage":"The root directory of the user's files is missing"},"id":"6a67c69d28663"}Additional info
No response