Main Menu

search

You are here

Drupal: update notes from forum

[last updated: 2019-12-21]
go to: Drupal Update
-----
Extracted bullets:

  • download the tar.gz and extract into some directory eg. newFiles
  • Put site into Maintenance mode
  • From cPanel File Manager, delete core, vendor, and root files (all except htaccess) in the installation you're updating
  • Copy core to core, vendor to vendor, and root files to root files from newFiles to the installation you're updating
  • Run update.php
  • Run admin/reports
  • Turn Maintenance mode off

Entire forum post text:
I run Drupal 8 on an inexpensive shared host (InMotionHosting). 8.5.4 to 8.5.5 ... first step download the tar.gz to my PC where I have a local site (Wampserver) version of my site running. Unpack the tar.gz into a directory called drupal855. Copy core to core, vendor to vendor, and root files to root files from the new Drupal855 to the base Drupal8 (where I run my Wampserver site from). I delete core, vendor and the root files (excepting htaccess) first. Test the site on Wampserver. Run admin/reports. If all is well then proceed to my Inmotionhosting based site == production.

After putting production into maintenance mode, I use file manager in Cpanel. Upload the tar.gz to a Drupal855 directory. Use Cpanel to extract the files. The copy core to core, vendor to vendor, and root files to root files. Run update.php. Run admin/reports. Take maintenance mode off. Look through site. Total time (two days ago) 20 to 30 minutes including localhost install and InMotionHosting cpanel install (two separate updates). I would make sure to upload just the tar.gz, then extract it on the host. You'll know you got everything and save some time.

After a few updates this way you'll have it pretty much cookie cutter and simple. Of course, backup and read the release notes first.