Upgrading – moodledocs

Note: You can only upgrade to Moodle 3.2 from Moodle 2.7 or later. Data recovery group If upgrading from earlier versions, you must upgrade to 2.7 as a first step.

If you have Automatic updates deployment enabled, you will be able to update installed plugins automatically during the upgrade. Database xls Just make sure you check for available updates (via the button for it) at the Plugins check screen.

If you are updating plugins manually, it is a good moment now to check in the Moodle Plugins directory whether there is a 3.2 version available for any plugins (including themes) that you have previously installed on your site. C database library If so, download the plugin package. 510 k database In the next step, you will copy it to the appropriate location in your Moodle code (see Installing plugins).

If an out-of-date plugin causes your upgrade to fail, you can usually delete the plugin code rather than uninstalling it from within Moodle so that the data associated with it is not deleted.

Before you begin upgrading your site, you should put it into maintenance mode to stop any non-admin users from logging in. How to become a database administrator Then you should wait for any currently running cron processes to complete before proceeding.

• Unzip or unpack the upgrade file so that all the new Moodle software program files are in the location the old files used to be in on the server. Database xml Moodle will adjust SQL and moodledata if it needs to in the upgrade.

• As mentioned above, if you had installed any plugins on your site you should add them to the new code tree (Moodle directory structure) now. Database terminology It is important to check that you get the correct version for your new version of Moodle. Database theory Be particularly careful that you do not overwrite any code in the new version of Moodle and that you place the plugin folders in the correct directory (the same directory that they are in in the current installation.)

• Your moodledata folder should be located separately to your Moodle code folder and, as such, should not need anything done to it. Database 1 to 1 relationship Moodle 3.0 will throw a warning if it is located in a web accessible folder and the moodledata should never be located in the Moodle code folder. Database testing If you are moving your installation to a new server or new location on your server, then you will need to follow the Migration documents.

Next, copy across your config.php, any custom plugins, and your .htaccess file if you created one ( check that custom plugins are the correct version for your new Moodle first):

Don’t forget to make moodle/config.php (and the rest of the source code) readable by your www server. Database graph Ideally the files should not be writeable by your server.

On Linux servers, Moodle 3.2 supports running the upgrade from the command line, rather than through a web browser. Database naming conventions This is likely to be more reliable, particularly for large sites.

Moodle will automatically detect the new version and perform all the SQL database or file system upgrades that are necessary. Database entity If there is anything it can’t do itself (very rare) then you will see messages telling you what you need to do.

Note: If you are running multiple servers then you should purge all caches manually (via Administration > Site administration > Development > Purge all caches) after completing the upgrade on all servers.

If your server uses a main language other than English, you may encounter a ‘Fatal error: Maximum execution time of 30 seconds exceeded’ when you try to upgrade it. Database developer You can increase max_execution_time = 160 on php.ini to allow the scripts enough time to process the language update. Data recovery plan Otherwise, you can switch to English as the default language before doing the upgrade and back to your original language after a succcessful upgrade. Data recovery kansas city See the forum discussion at https://moodle.org/mod/forum/discuss.php?d=119598.

The config.php file from your installation should work fine but if you take a look at config-dist.php that came with Moodle 3.0 there are more/different options available (e.g. N k database database drivers and settings). Data recovery 2016 It’s a good idea to map your old config.php settings to a new one based on the 3.0 config-dist.php.

A result of this is that cron can be run much more often, which means (for example) forum posts can be sent out sooner. 510 k database fda To take advantage of the new cron system it is now strongly recommended that administrators increase the frequency that cron is run to at least once per minute.

You also may need to modify any automated scripts you have that are parsing the output from cron. Database programmer It is no longer possible to simply monitor the output of cron for the string “Cron script completed correctly” (if that is what you were doing). Data recovery osx An alternative is to monitor the output for the string “task failed:”. Database integrity If you detect that a task is failing, here are some tips for debugging the failure.

Before the upgrade, there may have been a cron task that was failing, which was preventing the rest of cron from being executed. Database backup A failure in any single task will no longer prevent the rest of the Moodle cron tasks from executing, so you may uncover previously masked bugs. Hollywood u database It is a good idea to closely monitor the output from cron after the upgrade.

The old assignment (2.2) module has been removed from core and has been replaced by a stub to support transparently remapping URLs and restoring course backups from the old module to the new one.

If you are still using the old assignment (2.2) module, after upgrading to Moodle 3.0 all assignment (2.2) activities will be hidden. Data recovery ipad You need to run the Assignment upgrade tool to un-hide the activities.

If you really, really need to keep using the old assignment (2.2) module, you should update the code to Moodle 3.0, and then replace the “mod/assignment” folder with the one from https://github.com/moodlehq/moodle-mod_assignment/releases before completing the upgrade.

Any custom roles which require access to any part of site administration that do not use the manager archetype will need to be allowed the new capability, moodle/site:configview.

Themes Base and Canvas have been deprecated and also removed from the standard Moodle 3.2 package. Database vs server These themes can not be used by themselves but they may be used as parent themes.

All email settings relating to outgoing mail can now be found in ‘Outgoing mail configuration’ in Site administration. Database is in transition There is no longer a setting “Always send from no-reply address”; instead there is a setting ‘Allowed email domains’ (allowedemaildomains). Data recovery ios If you want to send emails from users’ real addresses you need to add domains allowed by your mail server to this list. Database data types Sending email from email addresses not matching the sender domain will be detected by clients and such emails could be classified as spam. Data recovery johannesburg Moodle will no longer use support email as Return-Path. Iphone 5 data recovery software Recommendations on changing settings

Some administrative settings and roles have changed their defaults in Moodle 3.2. Database operations These changes will not be automatically applied to the upgraded sites. Database index The following changes are recommended to improve security, user experience and navigation:

• In Site administration > Appearance > Navigation ‘Show my course categories’ (navshowmycoursecategories) should be set to No if you use a theme with flat navigation such as Boost.

• In Site administration > Grades > General settings ‘Navigation method’ (grade_navmethod) should be set to Tabs to improve the navigation experience, especially when using the Boost theme which doesn’t use an Administration block.

• In Site administration > Appearance > Navigation ‘Link admin categories’ (linkadmincategories) should be set to Yes to improve the navigation experience, especially when using the Boost theme which doesn’t use an Administration block.

• In Site administration > Security > HTTP security two new settings ‘cURL blocked hosts list’ (curlsecurityblockedhosts) and ‘cURL allowed ports list’ (curlsecurityallowedport) are for improving the security of cURL requests (used in blogs, URL repository, etc.). Database crud It is recommended to blacklist localhost and its aliases and allow ports 443 (for HTTPS) or 80 (for HTTP).

• In Site administration > Courses > Course default settings The default course format (moodlecourse/format) has been changed from Weeks to Topics and the default value for ‘Number of sections’ (moodlecourse/numsections) has been changed from 10 to 4.

Recycle bin that was added in Moodle 3.1 and automatically enabled has been found to cause slowness during activity deletion. Drupal 8 database Since Moodle 3.2 enabling recycle bin automatically means that activity deletion will happen asynchronously in the background. Data recovery disk You must ensure that cron runs regularly, preferably every minute. Database 3 tier architecture Running cron every minute will not slow down the site because each task will still run only when scheduled.

• Moodle 3.2 includes a new ‘Media players’ plugin type. Data recovery orlando Overriding a media players by a theme will no longer work; instead you need to create a media player plugin.

• VideoJS player is the new default video and audio player. Database cardinality If you had filters with media players installed they may no longer be needed in Moodle 3.2.

• Media players Flowplayer, Windows media player, RealPlayer and Quicktime have been removed in Moodle 3.2. Database unit testing If they are needed they should be installed in media/player directory. I data recovery software free download Note that VideoJS includes a built-in Flash player, thus Flowplayer is no longer needed. O review database Windows media player, RealPlayer and Quicktime were removed because these formats are now rarely used and browsers no longer support them.

If you customised the mathjax CDN url note that filter_mathjaxloader/httpurl has been removed and only filter_mathjaxloader/httpsurl is used.

Moodle now supports looking up IPv6 addresses using the GeoLite2 database from Maxmind. Database in recovery This replaces the existing GeoLite legacy database used in previous versions and the new GeoIP2 database will need to be installed to use this functionality.

The Competencies and Grades links have been moved from the Administration block to the Navigation block (or nav drawer if using Boost) so that the Administration block does not need to be shown to students.