Nextcloud version (eg, 12.0.2): 17.0.3.1
Operating system and version (eg, Ubuntu 17.04): CentOS 7
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.6
PHP version (eg, 7.1): 7.2.27
The issue you are facing:
I updated our NC installation from 17.0.2 to 17.0.3 and now our Logs are being flooded with the message Could not autodetect the UUID attribute and I have no idea why, because the checks in the LDAP setting are working fine and people can login and work perfectly fine as well.
Is this the first time you’ve seen this error? (Y/N): Y
The output of your Nextcloud log in Admin > Logging:
{"reqId":"XjwNfTbypvTqjFeKPeznbAAAABE","level":3,"time":"2020-02-06T12:58:38+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"user.name","app":"user_ldap","method":"PROPFIND","url":"/remote.php/dav/files/user.name/","message":"Could not autodetect the UUID attribute","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.2stable (build 20191224) (Nextcloud)","version":"17.0.3.1","id":"5e3c0d7f08b05"}
{"reqId":"XjwNfTbypvTqjFeKPeznbAAAABE","level":3,"time":"2020-02-06T12:58:38+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"user.name","app":"user_ldap","method":"PROPFIND","url":"/remote.php/dav/files/user.name/","message":"Could not autodetect the UUID attribute","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.2stable (build 20191224) (Nextcloud)","version":"17.0.3.1","id":"5e3c0d7f08b2b"}
{"reqId":"XjwNfTbypvTqjFeKPeznbAAAABE","level":3,"time":"2020-02-06T12:58:38+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"user.name","app":"user_ldap","method":"PROPFIND","url":"/remote.php/dav/files/user.name/","message":"Could not autodetect the UUID attribute","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.2stable (build 20191224) (Nextcloud)","version":"17.0.3.1","id":"5e3c0d7f08b46"}
{"reqId":"XjwNfTbypvTqjFeKPeznbAAAABE","level":3,"time":"2020-02-06T12:58:38+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"user.name","app":"user_ldap","method":"PROPFIND","url":"/remote.php/dav/files/user.name/","message":"Could not autodetect the UUID attribute","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.2stable (build 20191224) (Nextcloud)","version":"17.0.3.1","id":"5e3c0d7f08b5e"}
{"reqId":"XjwNfTbypvTqjFeKPeznbAAAABE","level":3,"time":"2020-02-06T12:58:38+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"user.name","app":"user_ldap","method":"PROPFIND","url":"/remote.php/dav/files/user.name/","message":"Could not autodetect the UUID attribute","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.2stable (build 20191224) (Nextcloud)","version":"17.0.3.1","id":"5e3c0d7f08b7b"}
{"reqId":"XjwNfTbypvTqjFeKPeznbAAAABE","level":3,"time":"2020-02-06T12:58:38+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"user.name","app":"user_ldap","method":"PROPFIND","url":"/remote.php/dav/files/user.name/","message":"Could not autodetect the UUID attribute","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.2stable (build 20191224) (Nextcloud)","version":"17.0.3.1","id":"5e3c0d7f08b93"}
{"reqId":"XjwNfTbypvTqjFeKPeznbAAAABE","level":3,"time":"2020-02-06T12:58:38+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"user.name","app":"user_ldap","method":"PROPFIND","url":"/remote.php/dav/files/user.name/","message":"Could not autodetect the UUID attribute","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.6.2stable (build 20191224) (Nextcloud)","version":"17.0.3.1","id":"5e3c0d7f08b93"}
Removed the sensitive data (remote address, and the username) - Judging by the useragent, it looks like the Nextcloud desktop client.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '***instance_id***',
'passwordsalt' => '***salty***',
'secret' => '***secret***',
'trusted_domains' =>
array (
0 => '***domain1***',
1 => '***domain2***',
2 => '***domain3***',
),
'trusted_proxies' =>
array (
0 => '***proxy1***',
1 => '***proxy2***',
),
'datadirectory' => '/mnt/nextcloud-data',
'dbtype' => 'mysql',
'version' => '17.0.3.1',
'overwrite.cli.url' => 'https://nextcloud.url.com/',
'proxy' => '***myproxy***',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => '***db_password***',
'installed' => true,
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => '***mail_setting***',
'mail_domain' => '***mail_setting***',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => '***mail_setting***',
'mail_smtpport' => '***mail_setting***',
'mail_smtpname' => '***mail_setting***',
'mail_smtppassword' => '***mail_setting***',
'maintenance' => false,
'log_rotate_size' => 10485760,
'theme' => '',
'loglevel' => 2,
'lost_password_link' => 'disabled',
'simpleSignUpLink.shown' => false,
'updater.release.channel' => 'stable',
'mysql.utf8mb4' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'updater.secret' => '***updater_secret***',
);
Output of occ ldap:show-config
+-------------------------------+------------------------------------------------------------+
| Configuration | s01 |
+-------------------------------+------------------------------------------------------------+
| hasMemberOfFilterSupport | |
| homeFolderNamingRule | |
| lastJpegPhotoLookup | 0 |
| ldapAgentName | uid=diradmin,cn=users,dc=ldap,dc=do_name,dc=com |
| ldapAgentPassword | *** |
| ldapAttributesForGroupSearch | |
| ldapAttributesForUserSearch | |
| ldapBackupHost | backupdlap.url.com |
| ldapBackupPort | ldapport |
| ldapBase | dc=ldap,dc=do_name,dc=com |
| ldapBaseGroups | cn=groups,dc=ldap,dc=do_name,dc=com |
| ldapBaseUsers | cn=users,dc=ldap,dc=do_name,dc=com |
| ldapCacheTTL | 600 |
| ldapConfigurationActive | 1 |
| ldapDefaultPPolicyDN | |
| ldapDynamicGroupMemberURL | |
| ldapEmailAttribute | mail |
| ldapExperiencedAdmin | 1 |
| ldapExpertUUIDGroupAttr | |
| ldapExpertUUIDUserAttr | |
| ldapExpertUsernameAttr | uid |
| ldapExtStorageHomeAttribute | |
| ldapGidNumber | gidNumber |
| ldapGroupDisplayName | cn |
| ldapGroupFilter | (&(|(objectclass=posixGroup))(|(cn=ldap_group))) |
| ldapGroupFilterGroups | ldap_group |
| ldapGroupFilterMode | 0 |
| ldapGroupFilterObjectclass | posixGroup |
| ldapGroupMemberAssocAttr | memberUid |
| ldapHost | ldaphost.url.com |
| ldapIgnoreNamingRules | |
| ldapLoginFilter | (&(|(objectclass=posixAccount))(|(uid=%uid)(|(uid=%uid)))) |
| ldapLoginFilterAttributes | uid |
| ldapLoginFilterEmail | 0 |
| ldapLoginFilterMode | 0 |
| ldapLoginFilterUsername | 1 |
| ldapNestedGroups | 0 |
| ldapOverrideMainServer | |
| ldapPagingSize | 500 |
| ldapPort | 389 |
| ldapQuotaAttribute | |
| ldapQuotaDefault | |
| ldapTLS | 0 |
| ldapUserAvatarRule | default |
| ldapUserDisplayName | cn |
| ldapUserDisplayName2 | |
| ldapUserFilter | (|(objectclass=posixAccount)) |
| ldapUserFilterGroups | |
| ldapUserFilterMode | 0 |
| ldapUserFilterObjectclass | posixAccount |
| ldapUuidGroupAttribute | auto |
| ldapUuidUserAttribute | auto |
| turnOffCertCheck | 0 |
| turnOnPasswordChange | 0 |
| useMemberOfToDetectMembership | 1 |
+-------------------------------+------------------------------------------------------------+
Does anyone have any idea what is causing this and does anyone have a solution to it?
Thanks in advance