which cloudron user has admin rights in nextcloud?
-
when leaving the nextcloud user management to cloudron, which user has admin rights within nextcloud?
we assigned a cloudron superadmin to a group which has operator rights in a nextcloud instance, but all we see is the user settings, not the settings for the whole system.
-
-
ok, I try to add an existing user from the cloudron LDAP but this fails:
sudo -u www-data php -f /app/code/occ group:adduser admin cloudronadmin -n
gives
user not found
the user exists in nextcloud (he can log in and a directory with this name exists on the data volume)
-
@perler
It's all documented right here: https://docs.cloudron.io/apps/nextcloud/#resetting-admin-passwordIf you follow the docs there should be no issue.
-
@perler said in which cloudron user has admin rights in nextcloud?:
ok, I try to add an existing user from the cloudron LDAP but this fails:
Why are you trying to add an existing user into nextcloud? Maybe I misunderstood something.edit: don't mind me. you are adding the user to a group. Have you tried https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/user_configuration.html#granting-administrator-privileges-to-a-user already?
-
@BrutalBirdie
ok, resetting the password is not the problem, this works@girish
adding the LDAP user to the admin group in the nextcloud UI is working as well, but doing it with occ isn't working as described. is the LDAP username different from the one displayed in nextcloud? -
@perler strange, it does work for me.
root@7e3894d6-df34-46e1-aa2c-e8be3d5e2fdc:/app/code# sudo -u www-data php -f /app/code/occ group:adduser admin cloudronadmin -n user not found root@7e3894d6-df34-46e1-aa2c-e8be3d5e2fdc:/app/code# sudo -u www-data php -f /app/code/occ group:adduser admin girish -n root@7e3894d6-df34-46e1-aa2c-e8be3d5e2fdc:/app/code#
In the first command, there is no such user as cloudronadmin and of course it failed. In the second one, there is a user called admin and it worked.
-