Nextcloud version (14.0.6):
Operating system and version (Debian 9.8):
Apache or nginx version (Apache 2.4.25):
PHP version (7.0.33):
The issue you are facing:
I use the LDAP integration for my Users / Groups.
I also created some groups directly in NC which are not in the LDAP.
When I now add a few users to one of this NC groups and make one of them group admin for it, I can’t log in as group admin and remove other users, which are also in the group.
The error message is:
An error occured during the request. Unable to proceed.
Cannot remove user from this group as this is the only remaining group you are SubAdmin of
Which doesn’t make any sense. I don’t want to remove myself from the group, but someone else.
I also can’t add users to the group, which are not group members yet, since I can’t see them.
Is this the first time you’ve seen this error? (Y):
Steps to replicate it:
- Install NC 14.0.6
- Enable LDAP Integration
- create a group inside Nextcloud
- add two users to the new group.
- Make one of them group admin and log in as that user
- Try to remove the other user from the group
- Try to add other users to the group
The log file only complains about missing icons, but I post the most recent entries anyway.
The output of your Nextcloud log in Admin > Logging:
{"reqId":"8DbF905nU3g9lnK3LpCy","level":3,"time":"2019-05-07T09:08:28+00:00","remoteAddr":"1.1.1.1","user":"nextcloud_admin","app":"index","method":"GET","url":"\/nextcloud\/index.php\/apps\/external\/icons\/user.png?v=d4c83d19","message":{"Exception":"OCP\\Files\\NotFoundException","Message":"\/appdata_ocndiqlcli5h\/external\/icons","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Folder.php","line":133,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["\/appdata_ocndiqlcli5h\/external\/icons"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":107,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->","args":["icons"]},{"file":"\/var\/www\/nextcloud\/apps\/external\/lib\/Controller\/IconController.php","line":144,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["icons"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"showIcon","class":"OCA\\External\\Controller\\IconController","type":"->","args":["user.png"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\External\\Controller\\IconController"},"showIcon"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\External\\Controller\\IconController"},"showIcon"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\External\\Controller\\IconController","showIcon",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"icon":"user.png","_route":"external.icon.showIcon"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"icon":"user.png","_route":"external.icon.showIcon"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"icon":"user.png","_route":"external.icon.showIcon"}]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/external\/icons\/user.png"]},{"file":"\/var\/www\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Root.php","Line":202,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"14.0.6.0"}
{"reqId":"Y59nh4OUeo6qQUYR1FMY","level":3,"time":"2019-05-07T09:08:28+00:00","remoteAddr":"1.1.1.1","user":"nextcloud_admin","app":"index","method":"GET","url":"\/nextcloud\/index.php\/apps\/external\/icons\/external.svg?v=d4c83d19","message":{"Exception":"OCP\\Files\\NotFoundException","Message":"\/appdata_ocndiqlcli5h\/external\/icons","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Folder.php","line":133,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["\/appdata_ocndiqlcli5h\/external\/icons"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":107,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->","args":["icons"]},{"file":"\/var\/www\/nextcloud\/apps\/external\/lib\/Controller\/IconController.php","line":144,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["icons"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"showIcon","class":"OCA\\External\\Controller\\IconController","type":"->","args":["external.svg"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\External\\Controller\\IconController"},"showIcon"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\External\\Controller\\IconController"},"showIcon"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\External\\Controller\\IconController","showIcon",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"icon":"external.svg","_route":"external.icon.showIcon"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"icon":"external.svg","_route":"external.icon.showIcon"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"icon":"external.svg","_route":"external.icon.showIcon"}]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/external\/icons\/external.svg"]},{"file":"\/var\/www\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Root.php","Line":202,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"14.0.6.0"}
{"reqId":"JkYqP9e3epW4HztEsDin","level":3,"time":"2019-05-07T09:08:29+00:00","remoteAddr":"1.1.1.1","user":"nextcloud_admin","app":"index","method":"GET","url":"\/nextcloud\/index.php\/apps\/external\/icons\/cropped-favicon-7.png?v=d4c83d19","message":{"Exception":"OCP\\Files\\NotFoundException","Message":"\/appdata_ocndiqlcli5h\/external\/icons","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Folder.php","line":133,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["\/appdata_ocndiqlcli5h\/external\/icons"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":107,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->","args":["icons"]},{"file":"\/var\/www\/nextcloud\/apps\/external\/lib\/Controller\/IconController.php","line":144,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["icons"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"showIcon","class":"OCA\\External\\Controller\\IconController","type":"->","args":["cropped-favicon-7.png"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\External\\Controller\\IconController"},"showIcon"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\External\\Controller\\IconController"},"showIcon"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\External\\Controller\\IconController","showIcon",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"icon":"cropped-favicon-7.png","_route":"external.icon.showIcon"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"icon":"cropped-favicon-7.png","_route":"external.icon.showIcon"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"icon":"cropped-favicon-7.png","_route":"external.icon.showIcon"}]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/external\/icons\/cropped-favicon-7.png"]},{"file":"\/var\/www\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Root.php","Line":202,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"14.0.6.0"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'bR1B2lXjilkhdw8rhbwkuhu8rh2389r29ufwbfdkwjFeKNr',
'secret' => '1OELZ56DBANRu0jhduw23u8wifhwoin232k2ldk2jdlh23ipHvzCmror2',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'cloud.company.com',
),
'datadirectory' => '/mnt/cloud',
'dbtype' => 'pgsql',
'version' => '14.0.6.0',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'xp5xFGK6424%&$/GHJ124ll9',
'installed' => true,
'instanceid' => 'ocnjgkidsjfh',
'maintenance' => false,
);
The output of your Apache/nginx/system log in /var/log/apache2/error.log
:
[Tue May 07 06:25:01.810048 2019] [mpm_prefork:notice] [pid 17211] AH00163: Apache/2.4.25 (Debian) OpenSSL/1.0.2r configured -- resuming normal operations
[Tue May 07 06:25:01.810073 2019] [core:notice] [pid 17211] AH00094: Command line: '/usr/sbin/apache2'