Home / Support / Moodle on Ubuntu 24.04 LTS
Moodle on Ubuntu 24.04 LTS — Moodle is the world's most widely used open-source learning management system for online courses, assessments, and training. Published by Derek Coleman & Associates Inc on the Azure Marketplace, deployed in your own Azure subscription.
The current image ships a complete site: Moodle 4.5.14 (4.5 LTS) is served over HTTPS on 443 with a self-signed certificate generated on your VM at first boot, port 80 answers with a 301 redirect to it, $CFG->wwwroot is https://<VM-IP>, and moodle-cron.timer runs Moodle's scheduled tasks every minute. First boot runs the scheduled tasks once and proves the admin sign-in against the running site before it writes /var/moodledata/admin-password (image-verify on this exact version: admin sign-in, scheduled-task run and HTTPS listener all proven).
If you deployed this VM before 2026-10-01, it came from the older image and is not changed by the new publication — redeploy from the current Marketplace version, or apply the one-time repair below:
( sudo crontab -l -u www-data 2>/dev/null; echo '* * * * * /usr/bin/php /var/www/moodle/admin/cli/cron.php >/dev/null 2>&1' ) | sudo crontab -u www-data -Image change: see the pull request.
Source: the Marketplace live version set for this offer, read from Partner Center on 2026-10-01. New deployments take the newest version by default.
| Application ports | 443 (HTTPS, with a self-signed certificate generated on your VM at first boot); 80 answers with a 301 redirect to 443 |
|---|---|
| Open in browser | https://<VM-IP>/login/index.php |
| Admin credential file | sudo cat /var/moodledata/admin-password |
| Sign in as | admin |
| Service(s) | apache2, postgresql, moodle-cron.timer (runs Moodle's scheduled tasks every minute: `systemctl list-timers moodle-cron.timer`) |
| Configuration | /var/www/moodle/config.php ($CFG->wwwroot is set to https://<VM-IP> at first boot); data in /var/moodledata/; TLS certificate and key /etc/ssl/moodle/moodle.crt and moodle.key |
| Logs | /var/log/apache2/moodle_ssl_error.log (443); /var/log/apache2/moodle_error.log (80) |
| Version | Moodle 4.5.14 (4.5 LTS; Apache 2.4, PHP 8.3, PostgreSQL) |
| Platform | Ubuntu 24.04 LTS |
This image generates its admin credential on the VM at first boot — nothing is pre-set. SSH into the VM with the username + key you chose at deploy, then print the generated credential:
ssh <your-username>@<VM-IP>
sudo cat /var/moodledata/admin-passwordSign in as admin.
Sign in as admin (unless noted), then change the password immediately. The file is root-only and can be deleted once the password is stored securely.
Email support@dcassociatesgroup.com (response within 1 business day) or send a
message via the contact form. Include the offer name, VM size, region, and any log output — sudo journalctl -u <service> -n 100 usually tells the story.