Hi
Nextcloud version: 25.0.4snap1
Operating system and version: Ubuntu 18.04.2 LTS
Apache or nginx version: Apache (fpm-fcgi) I don’t know how to view his version
PHP version: 8.1.16
The issue you are facing:
I have the latest snap version of nextcloud. The update is automatic. Users and groups are pulled from AD.
The problem is: access restriction based on local groups works, but based on groups from AD does not work. A user accessed through an AD group gets an invitation to accept this access, but the “accept share” or “reject share” buttons just don’t work. When clicking on them you get the message “Something happened. Unable to accept the share.”.
I searched the forum and found old threads from 2019 that described a similar problem. There were links to a githab that suggested to manually fix the nextcloud code. But as I understand, after the next automatic update these edits will be rewritten…
Is this the first time you’ve seen this error? :
Yes, I just recently enabled the import of groups from AD
Steps to replicate it:
- Give access to the share to the group from AD.
- A member of this group goes to Shares, Pending shares, and sees an invitation to “accept share”, clicks on it
- Gets the error “Something happened. Unable to accept the share.”
The output of your Nextcloud log in Admin > Logging:
what level of logging is required?
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
{
"apps_paths": [
{
"path": "\/snap\/nextcloud\/current\/htdocs\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps",
"url": "\/extra-apps",
"writable": true
}
],
"supportedDatabases": [
"mysql"
],
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***.***.***",
"***.***.***.***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "25.0.4.1",
"overwrite.cli.url": "http:\/\/***.***.***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"twofactor_enforced": "false",
"twofactor_enforced_groups": [
"admin"
],
"twofactor_enforced_excluded_groups": [],
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"maintenance": false,
"loglevel": 0
}