IT/Software/Web Applications/Moodle: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
Walttheboss (talk | contribs) No edit summary |
(Formatting) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
Moodle is very very active in its development. It is not perfect but sure beats emailing everything. | Moodle is very very active in its development. It is not perfect but sure beats emailing everything. | ||
=== Install === | ===Install=== | ||
=== Upgrade === | ===Upgrade=== | ||
< | ===Update password=== | ||
#Go to <nowiki>http://www.miraclesalad.com/webtools/md5.php</nowiki> and create a new password like... wintersnow123~ (it will look like this: "003df036e1a99aad3eaba7c3ca46723d" without quotes). | |||
#Copy the md5 hash password generated from the word you submitted (it's easy) and be prepared to paste it. | |||
#Using phpMyAdmin, log into your MySQL database. | |||
#Navigate to the user table (for Moodle, it's called "mdl_user") and browse the data. | |||
#When you find the "admin" user account, click on edit, and paste in the new password you copied in Step 2 ("003df036e1a99aad3eaba7c3ca46723d"). (Into the password field.) This will replace what you had previously. | |||
#Try logging in with your admin user account and the new password (Password: wintersnow123~) | |||
===Purge caches=== | |||
If you get an error on an assignment saying | |||
Coding error detected, it must be fixed by a programmer: Failed to unserialise data from file. Either failed to read, or failed to write. | |||
It most likely means a cached file is messed up. It can usually be fixed by running | |||
sudo -u www-data php /var/www/moodle/admin/cli/purge_caches.php | |||
(note "cli", admin/purgecaches.php won't work). <ref>https://createdbycocoon.com/knowledge/fixing-moodle-failed-unserialise-data-file-either-failed-read-or-failed-write#:~:text=Usually%20it's%20the%20result%20of,caches%20will%20resolve%20the%20issue.&text=If%20this%20doesn't%20work,the%20%2Fmoodledata%2Fcache%20directory.</ref> | |||
<references /> |
Latest revision as of 11:11, 3 May 2023
Why Moodle
It is the best.
Schools that want to pay a bunch more can get Blackboard.
Moodle is very very active in its development. It is not perfect but sure beats emailing everything.
Install
Upgrade
Update password
- Go to http://www.miraclesalad.com/webtools/md5.php and create a new password like... wintersnow123~ (it will look like this: "003df036e1a99aad3eaba7c3ca46723d" without quotes).
- Copy the md5 hash password generated from the word you submitted (it's easy) and be prepared to paste it.
- Using phpMyAdmin, log into your MySQL database.
- Navigate to the user table (for Moodle, it's called "mdl_user") and browse the data.
- When you find the "admin" user account, click on edit, and paste in the new password you copied in Step 2 ("003df036e1a99aad3eaba7c3ca46723d"). (Into the password field.) This will replace what you had previously.
- Try logging in with your admin user account and the new password (Password: wintersnow123~)
Purge caches
If you get an error on an assignment saying
Coding error detected, it must be fixed by a programmer: Failed to unserialise data from file. Either failed to read, or failed to write.
It most likely means a cached file is messed up. It can usually be fixed by running
sudo -u www-data php /var/www/moodle/admin/cli/purge_caches.php
(note "cli", admin/purgecaches.php won't work). [1]