How to upgrade from Moodle 3.11 to 4.0.1 [Step by Step]

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Applause] [Music] [Applause] [Music] upgrading from moodle 3.11 to moodle 4.0 in this video i will show you how easy it is to upgrade from moodle 3.11 to moodle 4.0 from your control panel before you decide to upgrade to moodle 4.0 there are certain prerequisites you need to adhere to let me take you through the most important considerations before you upgrade to moodle 4.0 the first consideration is your server environment before you even think about upgrading make sure your server meets all the requirements for moodle 4.0 you can check this by going to site administration then clicking on server and then clicking on environment once here you can check currently i'm on model 3.11.6 click the drop down list and click on moodle 4.0 and upwards this will show you if your server meets all the requirements for upgrading this feature of moodle will check how your server suits your current and your future installation requirements make sure that your status is okay for all the components within this list the most important component here is your php version make sure that it's 7.3 and upwards as you can see from my list my server meets all the requirements needed for an upwards upgrade the second important requirement is our database moodle supports the following database servers it's recommended that you run the latest version of any database software so make sure that your database are either on the minimum version or the latest recommended version the third and the most important requirement before you do any updates or upgrades is backup you need to backup your moodle code that is your moodle software you need to backup your moodle data folder and you need to backup your moodle database let me show you how to backup each of these components to find out where all these components are on your server go to your control panel click on file manager go to your moodle installation folder since this is my folder go to your config.php file click on edit and click on edit again you'll see my database type is a maria database it shows me the database name and it also shows me all the information pertaining to my root directory and this is where my moodle installation sits as well as my data route once i have all this information i can go back to my control panel i can scroll down and click on php my admin now that i know my database name and this is my database i click on my database i go to export i make sure i click either select quick display only the minimal options or i can choose a custom backup since i'll be using this one the quick one i leave it on sql and i click on go and this will back up my database tables it will download to my computer i go back to my control panel i click on file manager i go to my moodle installation since i know this is my moodle installation i right click on this folder and click on compress or i select this folder and click on compress in my top bar once i click on compress it will ask me what type of compression do i need i select zip and then i click on compress files this will compress my model installation on my moodle software and depending on the size of your moodle site this will takes quite some time once it's compressed i download the compressed file if you scroll down you'll see the compressed file there's my compressed file now i can download this to my computer by clicking on it and clicking on download and this will also download to my computer once done i scroll up and now that i know my moodle data folder is called moodle data training this is my moodle data folder i right click on this and i click on compress and this will compress my moodle data folder i compress it and that's done you can scroll down and download that compressed file or folder also download that so now i have my database i have my moodle software or my moodle code and then i have my moodle data folder and these are the three components you need to backup if everything goes wrong with your upgrade you can restore it easily from these three backups you can also do a backup within your control panel by going to your control panel and under files you'll see backup or backup wizard by clicking on backup wizard you can do a complete backup of your whole site by specifying what files you want to backup or if you go back you can click on backup within the files section then you can specify which database you want to backup if i click on my specific database i can click on it and it will download that backup to my computer i can also click on download a full backup of my account so these are the different options to use when you want to backup your different your three different folders your moodle software or your moodle code your moodle data folder as well as your moodle database connected to your moodle site and all those information you will find in your config.php file the next important requirement is your moodle plugins it's important that all your plugins are updated before you do your upgrade or if automatic upgrade or automatic plugins update is enabled you your moodle installation will automatically update those plugins so click on site administration go to server and click on update notification make sure that this box is checked for automatically check for available updates and it will notify you when available up when updates are available now go back to site administration click on plugins and click on plugins overview click on additional plugins and make sure that all your plugins are up to date if you have a theme that you've purchased please get in contact with your with the theme developers and ask them for the latest version of your theme before you do your upgrade the next prerequisite is putting your site into maintenance mode putting your moodle site into maintenance mode before you start the upgrade process is extremely important since then no user can access your moodle site whilst you're doing the upgrade so click on site administration click on server and then under server click on maintenance mode make sure that maintenance mode is enabled and you can also type in a message for users who wants to login click on save changes and now when you log out you'll see your site is in maintenance mode so there are message appear site administrators can now click on your site's url forwards list and login to log into your moodle site once you've met all the five prerequisites you are now ready to upgrade your moodle installation go to your control panel scroll down to where you see software in the software section click on softaculous apps installer in the toolbar go to all installations and here you'll see all your moodle installations as well as your wordpress installations now this is my url or my site training.elearningportal.education and i want to upgrade this to moodle 4.0 you'll see here the current version is 3.11.6 and now i can click on upgrade to version 4.0.1 or i can upgrade to 3.11.7 i click on the arrows and now it asks me this is my url this is my path and now i need to select the version i want to upgrade to now if i click on the drop down list i can either go to 3.11.7 or i can go directly to 4.0.1 so i'll leave it on 4.0.1 and now it asks me create a backup i can also do a backup from here by selecting this tick box and it's important that before you do the upgrade that you need to backup those three components your model core installation or your moodle code your moodle data folder as well as your moodle database it asks you now to do a full backup and i suggest you leave it on full backup leave it on this option and once you're happy with every setting here click on upgrade it will now create a backup as well as upgrade your moodle database if there's an error it will provide you with the detailed message with that error it says here please make sure all your plugins extensions in the existing installation are compatible with 4.0.1 version before tempting upgrade make a tick box there and i'll click on upgrade once it's done you will see this message pop up you can click on ok and go back to your moodle site once here you can click on site administration and immediately it will ask me for an upgrade key and this is just the security measure okay you can do this in your config.php file where you can have an upgrade key so that no one else accepts you or the admin can install plugins or can upgrade your moodle database and i'll create a video on this how to add the upgrade key now it asks me upgrading moodle database from version 3.11 to 4.0.1 am i sure i want to upgrade i click on continue it will now take me through my server environment it says here my server environment meets all the minimum requirements i click on continue it shows me all the plugins that will be upgraded to the new version i can go through the list and this is basically all the core plugins that will be upgraded to moodle four point zero point one you can scroll down and then click on upgrade my model database now we'll then go through the upgrade process my once it's done you can click on continue it will now log you out you can log back in okay once here you can scroll down and click on save changes you can click on you can add a support email click on save changes click on continue and now we're on moodle 4.0.1 if you see these messages here this is just debugging that's turned on so you can easily turn this off by going to site administration development click on debugging and then select on no messages click on save click on continue and you'll see that it disappears okay so let's go and install a moodle theme so that it looks more if you click on home now it looks like it looks funny so let's install a moodle theme by going to the moodle plugins directory scroll down and click on plugins and let's go to themes click on set and let's install a theme that is more compatible with moodle 4.0 i'll install the adaptable theme i'll make sure that it's 4.0 compatible i'll click on versions and i'll download the 4.0 version since we've just upgraded to 4.0 i'll go back to my model installation i'll click on site administration i click on plugins and then install plugins i'll drag the downloaded zipped file to my file upload box i'll click on install plugin from the zipped file click on continue it will ask me for my key again my server meets the minimum requirements i click on continue click on upgrade to moodle database now click on continue and i'll leave everything as is for now scroll down and click on save changes here again scroll down and click on save changes okay so now it's installed let's go and change our default theme by clicking on site administration appearance and then scrolling down and clicking theme selector then we will change the current theme and select our user adaptable okay so now this is our new theme scroll down and click on continue and this is our new theme and now we can start customizing our new theme this is all for now i hope this video was helpful please like and subscribe and hit the bell icon for further videos on my channel
Info
Channel: ELearning Portal
Views: 13,568
Rating: undefined out of 5
Keywords: upgrade moodle, moodle upgrade, moodle, upgrade moodle from 3.11 to 4, upgrade to moodle 4.0, upgrade to moodle 4.1, upgrade moodle 4 to 4.1, moodle 3.11 to 3.11.1, moodle upgrade to 4.x, moodle upgrade to 4, moodle 4.0, upgrade to the lates moodle, moodle 3.10 to 3.11, upgrade moodle from cpanel, moodle 3.6.6 to 3.9.1, upgrade moodle from your control panel, upgrade moodle from shared hosting, moodle 3.x to 4.x, moodle admin, how to backup moodle, upgrade plugins
Id: koajCcS98Ro
Channel Id: undefined
Length: 20min 49sec (1249 seconds)
Published: Tue Jun 07 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.