Updating drupal 6
Previously we published a post on how to install Drupal 8 on Ubuntu 16.04.
Now this tutorial will show you how to properly update Drupal 8 minor version (8.x.x) on a Linux server. The Unix/Linux The above command will back up everything in your Drupal web root directory, compress them and save as a tarball.
Detailed instructions on how to use SSH can be found in our SSH tutorial.
After you login to your account via SSH, navigate to the Drupal installation’s home folder.
It is a good practice to activate maintenance mode from your Drupal admin area before making any changes to your site.
Note: Make sure to always backup your site before attempting to update to avoid any loss of data in case of any mishap.
Drush is a shell interface for Drupal that allows you to perform administrative tasks from your cloud server command line itself.
If you prefer using Drush over composer to update your Drupal core, you can follow the step given below to achieve that. It’s as simple as entering 3 commands to update your Drupal 8 core to drush.
When the upgrade process is finished you would be taken to a page with instructions for the final upgrade step. Click on the Apply pending updates button to perform the update.Let me know in the comments if you get stuck at any point and I’ll be happy to help you out.Hamza is a Drupal Community Manager at Cloudways - A Managed Drupal Hosting Platform. During his free time, he can be seen obsessing over Football, Cars, Android and Gaming.Since the composer and Drush methods are the easiest ones, I’ll show you how to update using these first.If in case, you aren’t able to update using these methods, you can go with the manual method which is a bit more complex but more thorough.