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. Moodle
  3. How to enable Email-based self-registration ?

How to enable Email-based self-registration ?

Scheduled Pinned Locked Moved Solved Moodle
9 Posts 5 Posters 1.7k 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.
    • F Offline
      F Offline
      freetommy
      wrote on last edited by
      #1

      Dear,

      I can't enable Email-based self-registration.
      I try to click eye icon to enable. but, not working.

      https://...... /admin/settings.php?section=manageauths

      ahfur6rAAzjIuIXvOC6K-1.png

      luckowL 1 Reply Last reply
      1
      • F freetommy

        Dear,

        I can't enable Email-based self-registration.
        I try to click eye icon to enable. but, not working.

        https://...... /admin/settings.php?section=manageauths

        ahfur6rAAzjIuIXvOC6K-1.png

        luckowL Offline
        luckowL Offline
        luckow
        translator
        wrote on last edited by
        #2

        @freetommy same here. For every option! How did you enable LDAP @girish / @nebulon ?

        Pronouns: he/him | Primary language: German

        scookeS 1 Reply Last reply
        1
        • luckowL luckow

          @freetommy same here. For every option! How did you enable LDAP @girish / @nebulon ?

          scookeS Offline
          scookeS Offline
          scooke
          wrote on last edited by
          #3

          @luckow Have you installed the plugin yet? It may seem like just clicking the eye might initiate some background installation process, but in fact you need to install the various plugins you want, first. Even Moodle's own documentation is worded in such a way that it sounds like it will "just work".

          In Dashboard / Site administration / Plugins is a section to "Install plugins".moodle install plugin.jpg

          Clicking that will bring you to Dashboard / Site administration / Plugins / Install plugins.
          moodle plugin installer pane.jpg

          You can click the greyed box to go to the Moodle plugins directory, and that will just bring you to a page where you need to download the plugin zip. You then need to go back to that plugin installer pane and choose "Install plugin from ZIP file" and then find the zip you just downloaded.

          Then you should be able to click that eye icon and activate it.

          If you knew all this, and did all this, please forgive me. These steps might help someone else. If you did, and it doesn't work, then consider this:

          I just tried an installation and chose "Allow all users from this Cloudron", and the installation hung, with the log telling that some thing in the database already existed, and then it would restart trying to install. moodle.jpg

          Soooo. I tried choosing the other option, "Only allow the following users and groups", and what do you know, the installation went off without a problem. It is taking awhile actually, so I will post this in the meantime.

          A life lived in fear is a life half-lived

          luckowL 1 Reply Last reply
          0
          • scookeS Offline
            scookeS Offline
            scooke
            wrote on last edited by
            #4

            So the new install using "Only allow the following users and groups" (I chose myself) finished, and I can confirm that without doing anything else, going straight to the Manage authentication window and clicking on the eye does nothing. So I've downloaded the plugin and am uploading it. moodle, installing plugin.jpg

            Once uploaded you still need to click the blue "Install plugin from the ZIP file". moodle, installing plugin.jpg

            It gets validated. moodle plugin validated.jpg

            One more time, gotta click the blue button again to start the install. moodle, we know we know, install the plugin.jpg

            There's yet another lengthy check to make sure it will work.
            moode, lengthy check.jpg Then click that blue Continue button.

            Which then loads the next window with so many potential buttons I didn't know what to do!
            moodle - click what now.jpg

            The buttons that seemed to respond were "Cancel this installation" (I won't), "Reload", but that seems redundant, so I picked "Upgrade Moodle database now", assuming that meant the plugin was installed and now Moodle needed to cement the new addition.

            The next message was a positive one, but I would not have said I was "upgrading" anything, especially since the terminology up to this point had to do with "installing". But I guess Moodle is upgrade since it has a new plugin. I clicked on Continue.
            moodle success.jpg

            This brought me to a page to set up Email-based self-registration. I left everything as-is... but I bet I still need to go to the original dashboard and click that eye. Let's see.... Strangely enough it brought me to the Notifications window.
            moodle notifications.jpg

            Annnndd... clicking the eye results in nothing still! Well, so much for all this screenshotting and pasting.

            I suspect it is because Cloudron has installed it already to be managed by it's own User management.

            Enjoy the pics. Sorry I couldn't help more.

            A life lived in fear is a life half-lived

            1 Reply Last reply
            3
            • scookeS scooke

              @luckow Have you installed the plugin yet? It may seem like just clicking the eye might initiate some background installation process, but in fact you need to install the various plugins you want, first. Even Moodle's own documentation is worded in such a way that it sounds like it will "just work".

              In Dashboard / Site administration / Plugins is a section to "Install plugins".moodle install plugin.jpg

              Clicking that will bring you to Dashboard / Site administration / Plugins / Install plugins.
              moodle plugin installer pane.jpg

              You can click the greyed box to go to the Moodle plugins directory, and that will just bring you to a page where you need to download the plugin zip. You then need to go back to that plugin installer pane and choose "Install plugin from ZIP file" and then find the zip you just downloaded.

              Then you should be able to click that eye icon and activate it.

              If you knew all this, and did all this, please forgive me. These steps might help someone else. If you did, and it doesn't work, then consider this:

              I just tried an installation and chose "Allow all users from this Cloudron", and the installation hung, with the log telling that some thing in the database already existed, and then it would restart trying to install. moodle.jpg

              Soooo. I tried choosing the other option, "Only allow the following users and groups", and what do you know, the installation went off without a problem. It is taking awhile actually, so I will post this in the meantime.

              luckowL Offline
              luckowL Offline
              luckow
              translator
              wrote on last edited by
              #5

              @scooke 🙂 Thank you very much for your engagement. I tried oauth2, it does not work, and I had the idea of: the app packaging is wrong 😉 If someone is able to enable one of the many authentications, that's a problem on my end. I clicked all the options (without further configuration), but nothing worked for me.

              Pronouns: he/him | Primary language: German

              scookeS 1 Reply Last reply
              1
              • luckowL luckow

                @scooke 🙂 Thank you very much for your engagement. I tried oauth2, it does not work, and I had the idea of: the app packaging is wrong 😉 If someone is able to enable one of the many authentications, that's a problem on my end. I clicked all the options (without further configuration), but nothing worked for me.

                scookeS Offline
                scookeS Offline
                scooke
                wrote on last edited by
                #6

                @luckow At the least, I possibly confirmed that even with a plugin installed this option has been turned off, probably by the built-in LDAP feature.

                A life lived in fear is a life half-lived

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  This was a bug in the package and I have fixed this in the latest version 1.4.0 .

                  You can now enable the email registration plugin:

                  c214b22e-8ce4-40fc-a7da-0c65b234f0f6-image.png

                  You also have to enable the registration setting:
                  ca24cb72-70f7-4768-9304-fdbf3a2e5314-image.png

                  You can then see 'Create account' button in the login screen.

                  b34f29ea-acf5-430e-8041-bb74bab1cb16-image.png

                  1 Reply Last reply
                  2
                  • R Offline
                    R Offline
                    Rost
                    wrote on last edited by
                    #8

                    Sorry, but despite ver. 1.4 ...
                    2cf8a17f-0bc9-4db2-bf55-68c13efa3293-grafik.png

                    ... e-mail self-registration is not possoble to activate.

                    On the other hand: LDAP is activated (and filled with unknown details as login-cr for an ldap-server I do not know) ant not possible to deactivate... (see pic below)
                    349fdd51-b786-4950-aa4b-bd5dad4bbbf3-grafik.png

                    girishG 1 Reply Last reply
                    1
                    • R Rost

                      Sorry, but despite ver. 1.4 ...
                      2cf8a17f-0bc9-4db2-bf55-68c13efa3293-grafik.png

                      ... e-mail self-registration is not possoble to activate.

                      On the other hand: LDAP is activated (and filled with unknown details as login-cr for an ldap-server I do not know) ant not possible to deactivate... (see pic below)
                      349fdd51-b786-4950-aa4b-bd5dad4bbbf3-grafik.png

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

                      @rost I think there is a bug in our migration script. If you open /app/data/moodle/config.php, there will be a line $CFG->auth = 'ldap'; . Can you delete that line and try if it works after that? You will have to refresh the browser page.

                      Also, the LDAP details you see pre-filled are the Cloudron LDAP (172.18.x.x is the internal server/docker network). If you want to disable LDAP, please start afresh. We only support setting the LDAP flag at install time. It cannot be changed post installation (this is a limitation across all apps at this moment).

                      1 Reply Last reply
                      0
                      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