This is the most tedious method but also the one which is most thorough. The steps involved in this method are as follows:
- Download and extract the latest version of Drupal from here.
- Login to your site’s admin panel using your admin credentials.
- Backup your database (ex: through PHPMyAdmin) and website before proceeding.
- Put your site in maintenance mode by navigation to configuration -> maintenance mode
- Remove ‘core’ and ‘vendor’ directory from your project. Also remove all the files from your project’s top-level directory, leaving out any files that you made changes to.
- Upload the core directory from the Drupal version you downloaded in step 1 to your project.
- Upload .htaccess, composer.lock and composer.json files from the downloaded Drupal version to your project.
- Upload vendor directory from the download Drupal version to your project.
- Go to yoursite.com/update where “yoursite” is your website’s domain name.
- Follow the onscreen instructions.
Reference: https://www.cloudways.com/blog/update-drupal-8-core/
Leave a Reply