Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved which cloudron user has admin rights in nextcloud?

    Nextcloud
    4
    8
    188
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      perler last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        Roles like admin are not propagated to the apps, since they often mean different things. Most apps come with a pre-setup admin account which allows to assign roles to users within the app itself.

        1 Reply Last reply Reply Quote 0
        • Topic has been marked as a question  nebulon nebulon 
        • P
          perler last edited by

          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)

          BrutalBirdie girish 2 Replies Last reply Reply Quote 0
          • BrutalBirdie
            BrutalBirdie Staff @perler last edited by

            @perler
            It's all documented right here: https://docs.cloudron.io/apps/nextcloud/#resetting-admin-password

            If you follow the docs there should be no issue. 🙂

            Like my work? Consider donating a beer 🍻 Cheers!

            1 Reply Last reply Reply Quote 1
            • girish
              girish Staff @perler last edited by girish

              @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?

              P 1 Reply Last reply Reply Quote 1
              • P
                perler @girish last edited by

                @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?

                girish 1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @perler last edited by

                  @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.

                  P 1 Reply Last reply Reply Quote 1
                  • P
                    perler @girish last edited by perler

                    @girish ok, this was my mistake, I changed the cloudron admin name here in the forum for privacy reasons and then tried to use this name back on the server 🙄

                    1 Reply Last reply Reply Quote 1
                    • Topic has been marked as solved  P perler 
                    • First post
                      Last post
                    Powered by NodeBB