1

Is it possible to upgrade Drupal from 8.3.7 to 8.4 without Drush or Composer?

Even though I have used composer I am not comfortable with using terminal/console command lines operations. So far used composer to install and remove modules. That's about it.

Looked at manual update options. There are no instructions yet for this method. https://www.drupal.org/docs/8/update/update-core-manually-via-gui-option-1

This is what I am planning on doing.

Download and extract Drupal 8.4 zip.

  • Backup database through PHPMyAdmin and website before proceeding.
  • Put site in maintenance mode by going to configuration -> maintenance mode
  • Remove ‘core’ and ‘vendor’ directory project dir.
  • Upload the core directory from the Drupal 8.4 version downloaded.
  • Upload .htaccess,composer.lock and composer.json files from the downloaded Drupal to project.
  • Upload vendor directory from the download Drupal version to your project.
  • Go to site.com/update

Am I missing something? Or should I figure out the composer route?

  • In the Drupal of question, did you use composer to install modules as well? – Mario Steinitz Dec 28 '17 at 22:14
  • You say you've used composer before, but did you use it to install Drupal 8.3.7? If yes, then update with composer. If no, then do a manual update. There are instructions for this, see UPDATE.txt in the core folder of your Drupal installation. – 4k4 Dec 28 '17 at 22:31
  • Haha...sorry. I meant 8.3.7. Manually installed Drupal. Been using Composer here and there for module install. – Progonat Dec 28 '17 at 23:34
  • Then use Composer to update core. Any other way is painful. – Kevin Dec 29 '17 at 2:56
  • Thanks for the suggestion. I am willing to try but my only concern is that if something goes wrong I don't know how to revert the changes. With a manual method I can restore files and DB if need be. – Progonat Dec 29 '17 at 4:10
2

The official update method is described in UPDATE.txt:

http://cgit.drupalcode.org/drupal/tree/core/UPDATE.txt?h=8.4.x

This is basically what you've described in the question. You don't need composer to update core.

If you want to switch your existing installation to composer a risk free way would be to start a new project, see Updating core with Composer doesn't work.

  • Manual update worked just fine. – Progonat Jan 21 '18 at 0:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.