# Upgrading Moodle

### Upgrading Moodle

1. Rename the current production Moodle folder  
      
    `mv /path/to/current/moodle-folder/ /path/to/current/moodle-folder_old`
2. Upload/copy/move the new installation folder and rename to current Moodle production folder, i.e. if the production folder was named learn.azandi.co.za then rename the new folder to learn.azandi.co.za
3. Restore the permissions/ownership of the folder and files  
      
    `chowen -R apache:apache /path/to/current/moodle-folder`
4. Navigate to the Moodle platform website in a browser and follow the onscreen prompts