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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. which cloudron user has admin rights in nextcloud?

which cloudron user has admin rights in nextcloud?

Scheduled Pinned Locked Moved Solved Nextcloud
8 Posts 4 Posters 1.4k Views 5 Watching
  • 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 Offline
    P Offline
    perler
    wrote on last edited by
    #1

    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
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      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
      0
      • nebulonN nebulon marked this topic as a question on
      • P Offline
        P Offline
        perler
        wrote on last edited by
        #3

        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)

        BrutalBirdieB girishG 2 Replies Last reply
        0
        • P perler

          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)

          BrutalBirdieB Offline
          BrutalBirdieB Offline
          BrutalBirdie
          Partner
          wrote on last edited by
          #4

          @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 drink. Cheers!

          1 Reply Last reply
          1
          • P perler

            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)

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by girish
            #5

            @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
            1
            • girishG 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 Offline
              P Offline
              perler
              wrote on last edited by
              #6

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

              girishG 1 Reply Last reply
              0
              • P perler

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

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @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
                1
                • girishG girish

                  @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 Offline
                  P Offline
                  perler
                  wrote on last edited by perler
                  #8

                  @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
                  1
                  • P perler has marked this topic as solved on
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search