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. App Wishlist
  3. Moodle Open Source Learning Platform

Moodle Open Source Learning Platform

Scheduled Pinned Locked Moved Solved App Wishlist
51 Posts 8 Posters 9.0k Views 8 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.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by girish
    #31

    @atrilahiji Awesome, thanks. I have forked into https://git.cloudron.io/cloudron/moodle-app and pushed some more fixes. You should have gotten an invite to the repo. I see the redirect issue that you are seeing as well.

    ? 1 Reply Last reply
    2
    • girishG girish

      @atrilahiji Awesome, thanks. I have forked into https://git.cloudron.io/cloudron/moodle-app and pushed some more fixes. You should have gotten an invite to the repo. I see the redirect issue that you are seeing as well.

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by A Former User
      #32

      @girish Thanks a lot! I have never actually handled Moodle hosting it so the Apache setup is definitely new to me. I'm glad you guys and the community have more experience otherwise I'd be completely lost :')

      This community is 10/10

      1 Reply Last reply
      3
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #33

        Moodle needs to write a config.php file inside /app/code and a moodledata directory during its install. Looks like its getting tripped up on that.

        robiR 1 Reply Last reply
        0
        • ? A Former User

          Moodle needs to write a config.php file inside /app/code and a moodledata directory during its install. Looks like its getting tripped up on that.

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #34

          @atrilahiji said in Moodle Open Source Learning Platform:

          Moodle needs to write a config.php file inside /app/code and a moodledata directory during its install. Looks like its getting tripped up on that.

          You can symlink the file to /app/data so it can.

          Conscious tech

          ? 1 Reply Last reply
          0
          • robiR robi

            @atrilahiji said in Moodle Open Source Learning Platform:

            Moodle needs to write a config.php file inside /app/code and a moodledata directory during its install. Looks like its getting tripped up on that.

            You can symlink the file to /app/data so it can.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #35

            @robi Screen Shot 2020-09-30 at 5.09.44 PM.png

            I seem to get this no matter what I do. Trying to write moodledata to /app/data but it says it doesn't exist?

            robiR 1 Reply Last reply
            0
            • ? A Former User

              @robi Screen Shot 2020-09-30 at 5.09.44 PM.png

              I seem to get this no matter what I do. Trying to write moodledata to /app/data but it says it doesn't exist?

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #36

              @atrilahiji is that an ownership or permission issue?

              Conscious tech

              ? 1 Reply Last reply
              0
              • robiR robi

                @atrilahiji is that an ownership or permission issue?

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by A Former User
                #37

                @robi could be. Iโ€™ll take another look at it in a bit.

                EDIT: This will be the death of me -_-

                There must be something I am missing. That or I just suck at Linux.

                1 Reply Last reply
                0
                • robiR Offline
                  robiR Offline
                  robi
                  wrote on last edited by robi
                  #38

                  you should see more something like this from WP:

                  lrwxrwxrwx 1 www-data www-data   23 Sep 13 16:42 wp-config.php -> /app/data/wp-config.php
                  

                  To do this you can do:
                  from /app/code

                  mv config.php /app/data/moodledata
                  

                  then

                  ln -s /app/data/moodledata/config.php /app/code/config.php
                  

                  Conscious tech

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #39

                    Fixed the read only issues. We're back to good ol' ERR_TOO_MANY_REDIRECTS issue. I imagine its an http -> https -> http -> ... issue. Whatever it is its definitely at the reverse proxy level.

                    Anyways @girish I have a MR when you have time.

                    1 Reply Last reply
                    2
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #40

                      @girish This ERR_TOO_MANY_REDIRECTS issue has me stumped. Tried a few things tonight with no luck. Any ideas?

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

                        @atrilahiji Merged your MR and fixed the redirect issue as well.

                        Do you use or need LDAP in your setup? If not, we can leave LDAP integration for some future release. SMTP still needs to be automated though.

                        ? jdaviescoatesJ 2 Replies Last reply
                        1
                        • girishG girish

                          @atrilahiji Merged your MR and fixed the redirect issue as well.

                          Do you use or need LDAP in your setup? If not, we can leave LDAP integration for some future release. SMTP still needs to be automated though.

                          ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by
                          #42

                          @girish thanks ๐Ÿ™

                          Yeah LDAP can be a later release. Iโ€™ll get SMTP figured out though

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

                            @atrilahiji What you can do is basically setup SMTP and then look into the database entries. https://docs.moodle.org/19/en/Email_settings gives some hints on how to update it. So, we can just put some sql commands in the start.sh .

                            ? 1 Reply Last reply
                            1
                            • girishG girish

                              @atrilahiji What you can do is basically setup SMTP and then look into the database entries. https://docs.moodle.org/19/en/Email_settings gives some hints on how to update it. So, we can just put some sql commands in the start.sh .

                              ? Offline
                              ? Offline
                              A Former User
                              wrote on last edited by A Former User
                              #44

                              @girish Done. Merge Request is up: https://git.cloudron.io/cloudron/moodle-app/-/merge_requests/2

                              Excited to get this up! ๐Ÿ˜„

                              girishG 1 Reply Last reply
                              1
                              • girishG girish

                                @atrilahiji Merged your MR and fixed the redirect issue as well.

                                Do you use or need LDAP in your setup? If not, we can leave LDAP integration for some future release. SMTP still needs to be automated though.

                                jdaviescoatesJ Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote on last edited by jdaviescoates
                                #45

                                @girish said in Moodle Open Source Learning Platform:

                                Do you use or need LDAP in your setup?

                                LDAP integration is a key USP of Cloudron so hopefully this'll come soon too!

                                Especially as Moodle now integrates nicely with Nextcloud 20! ๐Ÿ˜Š

                                search-moodle-course-module.png
                                Moodle courses showing up in search

                                See:
                                https://nextcloud.com/press/pr20201003-4
                                https://help.nextcloud.com/t/nextcloud-hub-20-debuts-dashboard-unifies-search-and-notifications-integrates-with-other-technologies/93838

                                I use Cloudron with Gandi & Hetzner

                                ? 1 Reply Last reply
                                1
                                • jdaviescoatesJ jdaviescoates

                                  @girish said in Moodle Open Source Learning Platform:

                                  Do you use or need LDAP in your setup?

                                  LDAP integration is a key USP of Cloudron so hopefully this'll come soon too!

                                  Especially as Moodle now integrates nicely with Nextcloud 20! ๐Ÿ˜Š

                                  search-moodle-course-module.png
                                  Moodle courses showing up in search

                                  See:
                                  https://nextcloud.com/press/pr20201003-4
                                  https://help.nextcloud.com/t/nextcloud-hub-20-debuts-dashboard-unifies-search-and-notifications-integrates-with-other-technologies/93838

                                  ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #46

                                  @jdaviescoates Iโ€™ll see what I can figure out. Perhaps itโ€™s done the same way I added SMTP.

                                  1 Reply Last reply
                                  1
                                  • ? A Former User

                                    @girish Done. Merge Request is up: https://git.cloudron.io/cloudron/moodle-app/-/merge_requests/2

                                    Excited to get this up! ๐Ÿ˜„

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

                                    @atrilahiji Merged! Awesome stuff, didn't know about cfg.php. I made a change after merging your change which is to setup credentials on all startup and not just the first time. We do this because let's say you clone the app or move it to another server etc, then the SMTP credentials will change.

                                    ? 1 Reply Last reply
                                    1
                                    • girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #48

                                      I have pushed moodle in unstable now and will mark this thread as solved.

                                      Let's take up bugs/issues in a the new Moodle app category - https://forum.cloudron.io/category/102/moodle

                                      Again, thanks a lot @atrilahiji !

                                      1 Reply Last reply
                                      2
                                      • girishG girish

                                        @atrilahiji Merged! Awesome stuff, didn't know about cfg.php. I made a change after merging your change which is to setup credentials on all startup and not just the first time. We do this because let's say you clone the app or move it to another server etc, then the SMTP credentials will change.

                                        ? Offline
                                        ? Offline
                                        A Former User
                                        wrote on last edited by
                                        #49

                                        @girish oh I didnโ€™t think about that use case. Thanks for all of your hard work! Iโ€™ll get on LDAP sometime this weekend and maybe we can get that into a release soon

                                        P 1 Reply Last reply
                                        6
                                        • ? A Former User

                                          @girish oh I didnโ€™t think about that use case. Thanks for all of your hard work! Iโ€™ll get on LDAP sometime this weekend and maybe we can get that into a release soon

                                          P Offline
                                          P Offline
                                          plusone-nick
                                          wrote on last edited by
                                          #50

                                          @atrilahiji @girish ๐Ÿ™๐Ÿ™๐Ÿ™+1

                                          โœŒ๐Ÿ’™+1

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