Moodle Open Source Learning Platform
-
@robi Thats a plugin to integrate with a BigBlueButton server. You'd still need to host the BBB server and then use that plugin to let instructors create sessions straight from the LMS.
-
for a dedicated education app. Remote learning is certainly new ground to many and a Cloudron solution to that would be good for many organisations.
-
@atrilahiji Thanks for doing this. I recently was running my Moodle in the LAMP app and it worked well. How will the packaged Moodle you're working on handle upgrades?
-
@atrilahiji said in Moodle Open Source Learning Platform:
maybe someone can look at the BBB server too? (call to someone out there to help! :D)
I'm hoping that as soon as BBB 2.3 is released (which is compatible with Ubuntu 18.04 unlike the existing releases which still only run on 16.04!) @girish & @nebulon (& or others in the community) will begin packaging BBB.
See this thread:
https://forum.cloudron.io/post/1187 -
@scooke good question. It shouldn’t be an issue as far as I can tell. Again the package needs a lot of work before it’s ready but I imagine we’d just swap out the contents of the public folder and it would trigger an upgrade when you go to the site.
Right now I’m trying to automate any config I can and perhaps get LDAP working??? The problem is it makes an admin account in the setup. Unsure how to get around that.
-
@atrilahiji said in Moodle Open Source Learning Platform:
The problem is it makes an admin account in the setup. Unsure how to get around that.
Quite a few apps on Cloudron do that.
Generally some initial set-up instructions are given at install for how to access the default admin account it creates, and then you login using that, change the password and make an LDAP user an admin too.
-
@robi @girish Made a couple of changes. Definitely open to feedback.
https://git.cloudron.io/AtriLahiji/moodle
Still need to figure out LDAP.
EDIT: Unsure if LDAP config is something I can automate. Perhaps I'll document it away unless someone else has any ideas.
-
-
I found this tool - https://moosh-online.com/commands/ . It seems to be able to install plugins via the
plugin-install
command.Thanks @atrilahiji . @nebulon and I will take a look sometime this week on how to move this forward and get it published.
-
@atrilahiji said in Moodle Open Source Learning Platform:
@robi Thats a plugin to integrate with a BigBlueButton server. You'd still need to host the BBB server and then use that plugin to let instructors create sessions straight from the LMS.
Oh I see, just like OnlyOffice with NextCloud. That begs the question, does Moodle integrate with NextCloud?
The NextCloud Talk (spreed) audio/video is a great replacement for zoom/webex/kopano/jitsi!
If so, no need for BBB.
-
@robi Looks like this is possible in core as of Moodle 3.6. Current latest is 3.9.2+.
Source: https://moodle.com/news/nextcloud-integration-in-moodle-3-6-open-source-supporting-open-source/
Looks like its only a repository, meaning it integrates with the file picker similar to local files and google drive.
-
@atrilahiji Yes, it will help if you can remove all the non-essential code from the app. I think because you started from the LAMP stack, there's lots of extra stuff:
- Can remove the RPAF thing - https://git.cloudron.io/AtriLahiji/moodle/-/blob/master/Dockerfile#L34 (the whole section can be removed till line 44)
- Remove phpMyAdmin (like 46-49)
- Remove cron (line 51-54)
- Remove iconcube (line 56-64)
- You can even remove supervisor altogether and just straight run apache
Same goes for start.sh.
- Remove cron/phpmyadmin/credentials stuff. Line 16-57
You can look at https://git.cloudron.io/cloudron/directus-app for inspiration. Let us know if you need help!
-
I'm really looking forward to Moodle being available, many thanks for getting this going @atrilahiji !
And, given your day job/ links to Moodle perhaps you'd be interested in helping to package MoodleNet too?!?
-
@girish For sure, I can get that sorted. Moodle makes use of cron tasks so I may need to leave that bit in.
@jdaviescoates I can take a look at it next.
-
@atrilahiji For cron, use the scheduler addon. Like this https://git.cloudron.io/cloudron/snipeit-app/-/blob/master/CloudronManifest.json#L12 . This way you don't need all the supervisor stuff and also dont need to run a separate cron process in the app itself.
-
@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
-
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.