How to correctly update to new version

I have installed full demo and want to know how to correctly update to new version which came out today.

Thx.

First login to your site as admin user (user id 1) so that you can run update.php later. 

The way i do it and works every time is to download the latest version of drupal and delete all the files an directory that belongs to drupal core. Important: do not delete /sites/ directory because this is where all the contrib modules and themes exist, along with your files directory and settings.php. 

Now upload the new drupal version to your exising installed directory and run update.php in your browser (ie, http://your-domain.com/update.php)

Check to make sure it has been updated in your report page.

Personally, i prefer to use Drush to do the updates in less than a minute: http://docs.drush.org/en/master/install/  

The final part would be to update the new modules. In your theme distribution, there should be a folder call package (whatever it is named, it is the folder that holds all the modules). Upload these modules and replace it the older ones. If the theme files have been updated as well, then do the same replace the old theme. Lastly, run update.php in your browser to finalise the update. 

Hope that helps.

 

I just want to say that you have made a great effort in making this post which is appreciable. I have learned a lot from this post which will help me a lot in the future. SY0-501 - CompTIA Security+ Certification Exam