Groups showing correct number of users but no list

Hi,

Just created 2 users and put them in 1 group

Please copy the questions you are giving the answers to. I can't figure out what "none, yes, none" means.

Are you trying to create local groups and users or LDAP groups and users?

Apologies Dmitry

I have a fresh installation using PHP 7.2, MySql and Ubuntu 18. When I created groups and assigned users to it, the number would update but opening the group showed nothing at all.

Having just gone back in, the numbers no longer show either. See the screenshot below. This is the same for both LDAP and Database added users.

This is how our users are currently set up. There should be three users showing in the group (1 x Database, 2 x LDAP).

Can you show me the users tab with "everyone"?

I recreated the group with a different name using an alternate admin user. Still the same result.

Okay, let me understand what you are trying to do.

You have domain users (LDAP) or local users. And you are trying to put them in local groups or domain (LDAP) groups?

Can you try the following:

create user1 and user2 - local users.

then create 2 groups -local groups. group1 and group2.

then put the user1 in group1 and user2 in group2 and click on the tabs.

Created the test users (locally) with same result. They end up in the groups BUT the groups remain blank and the numbers also don't populate.

FYI, I've logged on to the DB and found that it's throwing this error currently:

I just noticed that I still have 16.04 for testing. I will test with 18.04 and get back to you.

1 Like

Thank you Dmitry, it's very much appreciated.

I have since performed a complete, fresh install with the latest versions of Ubuntu, MySQL and PHP 7.2 and can confirm the issue is still there.

Looking at the PHPmyadmin, most of the tables are flagging the error about implementing countable objects. I have a feeling that if I reverted to an older version of PHP then this will resolve the issue.

Can you provide the owncloud.log file after you encountered this error again?

By the way, Ubuntu 18.04 is not yet recommended for ownCloud

https://doc.owncloud.com/server/10.0/admin_manual/installation/system_requirements.html

Hi Dmitry,

Please see attached: https://we.tl/vr2MTg1BOK

I would have used our system but it’s locked down for internal testing currently and the upload on this reports its bigger than 3mb (it isn’t…).

Tom

I just had a quick look, but you have many errors in your log.

What I have found so far - encryption - maybe you want to check that.

Impersonate and LDAP. Please check your configuration on those things.

I have the same problem in WebUI that specific local groups doesn’t list their members. In my opinion it’s a problem with spaces/blanks in (local) group names. All my groups with one or more spaces/blanks in name are not list their members; all others do. The problem can also reproduce at command line:

For example there is a group with groupname it test an 2 members.
sudo -u www-data php occ group:list-members it test - return an error
sudo -u www-data php occ group:list-members “it test” - return the 2 group-member

With groupname in apostrophe the result is ok. Can I change the relevant command for WebUI request?

There is an another entry in this forum to a similar issue: Groups show number but not show list

With regards,
Lars

You are correct. This is an issue with special characters in group name.

This has been identified as a bug and will be fixed.

Til then - the workaround is not to create groups with special characters in group name.

Hi Dmitry,

what about the fix for the problem with special characters in group names? Until now, I can’t see a topic in the changelog. The problem still exists in 10.0.9.5.

With regards

What happened was, the fix did not make it in the current release, and will be included in the next one.

I can, however, give you the patch to fix your problem. Would that be an option?

1 Like

Thanks for this offer. I only wanted to hear what’s up with the fix. I think I can wait for the next update und until there I use occ command as workaround.

Yeah. In 10.0.10 the problem was fixed. It works.

1 Like