Skip to main content

Updating Drupal 8 By Drush

Step 1. Backup both your files and database.

anisur$ drush archive-dump
Database dump saved to /tmp/drush_tmp_1547780785_5c4142b133eab/d8blog_new.sql            [success]
Archive saved to                                                                         [ok]
/Users/anisur/drush-backups/archive-dump/20190118030539/d8blog_new.20190118_030540.tar.gz 

Step 2. Check for available updates

anisur$ drush ups
Checking available update data ...                                                       [ok]
Checking available update data for Drupal.                                               [ok]
Checking available update data for Admin Toolbar (admin_toolbar).                        [ok]
Checking available update data for Animations (animations).                              [ok]
Checking available update data for Better Exposed Filters (better_exposed_filters).      [ok]
Checking available update data for Block Class (block_class).                            [ok]
Checking available update data for Block Group (blockgroup).                             [ok]
Checking available update data for Comments order (comments_order).                      [ok]
Checking available update data for Chaos tools (ctools).                                 [ok]
Checking available update data for Field Group (field_group).                            [ok]
Checking available update data for Libraries (libraries).                                [ok]
Checking available update data for Mail System (mailsystem).                             [ok]
Checking available update data for Manage Display (manage_display).                      [ok]
Checking available update data for owlcarousel (owlcarousel).                            [ok]
Checking available update data for Pathauto (pathauto).                                  [ok]
Checking available update data for Quick Tabs (quicktabs).                               [ok]
Checking available update data for Redirect (redirect).                                  [ok]
Checking available update data for ShareThis (sharethis).                                [ok]
Checking available update data for Simplenews (simplenews).                              [ok]
Checking available update data for SMTP Authentication Support (smtp).                   [ok]
Checking available update data for Social Media Links Block (social_media_links).        [ok]
Checking available update data for Taxonomy Menu (taxonomy_menu).                        [ok]
Checking available update data for Token (token).                                        [ok]
Checking available update data for Views Accordion (views_accordion).                    [ok]
Checking available update data for Views fieldsets (views_fieldsets).                    [ok]
Checking available update data for Views Infinite Scroll (views_infinite_scroll).        [ok]
Checking available update data for Webform (webform).                                    [ok]
 Name                               Installed Version  Proposed version  Message                   
 Drupal                             8.5.6              8.6.7             SECURITY UPDATE available 
 Admin Toolbar (admin_toolbar)      8.x-1.24           8.x-1.25          Update available          
 Better Exposed Filters             8.x-3.0-alpha4     8.x-3.0-alpha5    Update available          
 (better_exposed_filters)                                                                          
 Block Group (blockgroup)           8.x-1.0            8.x-1.1           Update available          
 Manage Display (manage_display)    8.x-1.0-alpha5     8.x-1.0-alpha6    Update available          
 owlcarousel (owlcarousel)          8.x-1.0-alpha1     8.x-1.0-alpha2    Update available          
 Pathauto (pathauto)                8.x-1.2            8.x-1.3           Update available          
 Redirect (redirect)                8.x-1.2            8.x-1.3           Update available          
 Taxonomy Menu (taxonomy_menu)      8.x-3.3            8.x-3.4           Update available          
 Token (token)                      8.x-1.3            8.x-1.5           Update available          
 Views Accordion (views_accordion)  8.x-1.1            8.x-1.2           Update available          
 Webform (webform)                  8.x-5.0-rc18       8.x-5.1           Update available          

Step 3. Activate maintenance mode

anisur$ drush sset system.maintenance_mode 1

Step 4. Clear the cache

anisur$ drush cr
Cache rebuild complete.                                                                  [ok]

Step 5. Update Drupal 8 core

anisur$ drush up drupal
Update information last refreshed: Fri, 01/18/2019 - 03:22
 Name    Installed Version  Proposed version  Message                   
 Drupal  8.5.6              8.6.7             SECURITY UPDATE available 


Code updates will be made to drupal core.
WARNING:  Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt.  If you have made any modifications to these files, please back them up before updating so that you can re-create your modifications in the updated version of the file.
Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing.

Do you really want to continue? (y/n): n
Rolling back all changes. Run again with --no-core to update modules only.
Cancelled.                                                                               [cancel]
The following module is missing from the file system: like_dislike bootstrap.inc:268     [warning]
No database updates required                                                             [success]

anisur$ drush up drupal-8.6.5
Update information last refreshed: Fri, 01/18/2019 - 03:22
 Name    Installed Version  Proposed version  Message                     
 Drupal  8.5.6              8.6.5             Specified version available 


Code updates will be made to drupal core.
WARNING:  Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt.  If you have made any modifications to these files, please back them up before updating so that you can re-create your modifications in the updated version of the file.
Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing.

Do you really want to continue? (y/n): y
Project drupal was updated successfully. Installed version is now 8.6.5.
Backups were saved into the directory                                                    [ok]
/Users/anisur/drush-backups/d8blog_new/20190118032617/drupal.
The following module is missing from the file system: like_dislike bootstrap.inc:276     [warning]
The following updates are pending:

block_content module : 
  8600 -   Add 'reusable' field to 'block_content' entities. 

comment module : 
  8600 -   Configure the comment hostname base field to use a default value callback. 

dblog module : 
  8600 -   Change 'No logs message available.' area plugin type. 

menu_link_content module : 
  8601 -   Add the publishing status entity key to custom menu links. 

migrate_drupal module : 
  8601 -   Install migrate_drupal_multilingual since migrate_drupal is installed. 

taxonomy module : 
  8501 -   Convert the custom taxonomy term hierarchy storage to a default storage. 
  8502 -   Copy hierarchy from {taxonomy_term_hierarchy} to {taxonomy_term__parent}. 
  8503 -   Update views to use {taxonomy_term__parent} in relationships. 
  8601 -   Add the publishing status fields to taxonomy terms. 

block_content module : 
  Adds a 'reusable' filter to all Custom Block views.

contextual module : 
  Ensure new page loads use the updated JS and get the updated markup.

image module : 
  Add 'anchor' setting to 'Scale and crop' effects.

node module : 
  Clear caches due to updated views data.

system module : 
  Change plugin IDs of delete actions.
  Update all entity displays that contain extra fields.
  Force cache clear for language item callback.   @see https:www.drupal.orgnode2851736
  Force cache clear to ensure aggregated JavaScript files are regenerated.   @see https:www.drupal.orgprojectdrupalissues2995570

taxonomy module : 
  Clear entity_bundle_field_definitions cache for new parent field settings.
  Clear caches due to updated taxonomy entity views data.
  Add a 'published' = TRUE filter for all Taxonomy term views and converts  existing ones that were using the 'content_translation_status' field.

Do you wish to run all pending updates? (y/n): y
The following module is missing from the file system: like_dislike bootstrap.inc:276     [warning]
Performing taxonomy_update_8501                                                          [ok]
Performing taxonomy_update_8502                                                          [ok]
Performing taxonomy_update_8503                                                          [ok]
Performing block_content_update_8600                                                     [ok]
Performing comment_update_8600                                                           [ok]
Performing dblog_update_8600                                                             [ok]
Performing menu_link_content_update_8601                                                 [ok]
Performing migrate_drupal_update_8601                                                    [ok]
Performing taxonomy_update_8601                                                          [ok]
Post updating block_content                                                              [ok]
Post updating contextual                                                                 [ok]
Post updating image                                                                      [ok]
Post updating node                                                                       [ok]
Post updating system                                                                     [ok]
Post updating system                                                                     [ok]
Post updating system                                                                     [ok]
Post updating system                                                                     [ok]
Post updating taxonomy                                                                   [ok]
Post updating taxonomy                                                                   [ok]
Post updating taxonomy                                                                   [ok]
Cache rebuild complete.                                                                  [ok]
Finished performing updates.                                                             [ok]

Step 6: Update modules

anisur$ drush up webform
Update information last refreshed: Fri, 01/18/2019 - 03:30
 Name               Installed Version  Proposed version  Message          
 Webform (webform)  8.x-5.0-rc18       8.x-5.1           Update available 


Code updates will be made to the following projects: Webform [webform-8.x-5.1]

Note: A backup of your project will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Do you really want to continue with the update process? (y/n): y
Project webform was updated successfully. Installed version is now 8.x-5.1.
Backups were saved into the directory                                                    [ok]
/Users/anisur/drush-backups/d8blog_new/20190118033050/modules/webform.
The following module is missing from the file system: like_dislike bootstrap.inc:276     [warning]
The following updates are pending:

webform module : 
  8137 -   Issue #2983137: WYSIWYG editor not saving inline images for advanced htmltext editor. 
  8138 -   Issue #2947303: Location element's geocomplete library is not supported. 
  8139 -   Issue #2918669: Elements separated by conditional inside multistep wizard are both saved to submission. 
  8140 -   Issue #2994411: Allow help to be hidden. 
  8141 -   Issue #2993327: Provide Default View to Override Submission Results Tab. 
  8142 -   Issue #2995413: Allow email handler theme to be customized. 
  8143 -   Issue #2943879: How to display alternate text when the user is not allowed to create a Webform? 
  8144 -   Issue #2998239: Swift Mailer no longer working after custom email handler theme option was added. 
  8145 -   Issue #3002183: Upload Total Limit instead of Upload File limit. 
  8146 -   Issue #3000542: Remove webform_devel.module logger debugging. 
  8147 -   Issue #3006468: Hide empty fields on on submission page. 
  8148 -   Issue #3007215: Option to retain webform title when source entity is provided. 
  8149 -   Issue #3007247: Custom composite fields appear as block elements. 
  8150 -   Issue #2980032: SUBMISSION BEHAVIORS: Allow edit the previous submission. 
  8151 -   Issue #3013767: Computed twig element is not working on multi-step form. 
  8153 -   Issue #3014933: Webform paths not being removed when a webform is deleted. 
  8154 -   Issue #3015990: Option not to store the IP address for logged-in users. 
  8155 -   Issue #3017679: 2 different validation range modes for datetime field. 
  8156 -   Issue #3015180: Add 'webform_submission_log' submodule. 
  8157 -   Issue #3022398: Possible modification to update hook andor documentation. 

webform_scheduled_email module : 
  8001 -   Update schema config to add new "past actions" item. 
  8002 -   Issue #3013016: Set a time for the schedule email handler. 
  8003 -   Issue #3014338: Add a setting to the Scheduled Email handler to allows emails to be sent immediately when a webform is being tested. 

Do you wish to run all pending updates? (y/n): y
The following module is missing from the file system: like_dislike bootstrap.inc:276     [warning]
Performing webform_update_8137                                                           [ok]
Performing webform_update_8138                                                           [ok]
Performing webform_update_8139                                                           [ok]
Performing webform_update_8140                                                           [ok]
You have requested a non-existent service "webform.access_rules_manager". Did you mean   [error]
one of these: "webform.libraries_manager", "webform.contribute_manager",
"webform.message_manager"?
Performing webform_update_8141                                                           [ok]
Performing webform_scheduled_email_update_8001                                           [ok]
Performing webform_scheduled_email_update_8002                                           [ok]
Performing webform_scheduled_email_update_8003                                           [ok]
Failed: You have requested a non-existent service "webform.access_rules_manager". Did you[error]
mean one of these: "webform.libraries_manager", "webform.contribute_manager",
"webform.message_manager"?
Cache rebuild complete.                                                                  [ok]
Finished performing updates.                                                             [ok]

anisur$ drush up admin_toolbar better_exposed_filters blockgroup manage_display owlcarousel pathauto redirect taxonomy_menu token views_accordion webform
Update information last refreshed: Fri, 01/18/2019 - 03:40

No code updates available.                                                               [ok]

Step 7. Using Composer to manage PHP libraries

anisur$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 15 installs, 55 updates, 1 removal
  - Removing ircmaxell/password-compat (v1.0.4)
  - Updating composer/installers (v1.5.0 => v1.6.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/class-loader (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating psr/log (1.0.2 => 1.1.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/debug (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/polyfill-mbstring (v1.9.0 => v1.10.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/console (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/dependency-injection (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/polyfill-ctype (v1.9.0 => v1.10.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating paragonie/random_compat (v2.0.17 => v2.0.18): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/polyfill-php70 (v1.9.0 => v1.10.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/http-foundation (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/event-dispatcher (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/http-kernel (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/routing (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/serializer (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/translation (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/validator (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/process (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/polyfill-iconv (v1.9.0 => v1.10.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing doctrine/reflection (v1.0.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing doctrine/event-manager (v1.0.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating doctrine/collections (v1.3.0 => v1.5.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating doctrine/cache (v1.6.2 => v1.8.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing doctrine/persistence (v1.1.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating doctrine/inflector (v1.1.0 => v1.3.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating doctrine/common (v2.6.2 => v2.10.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing ralouphie/getallheaders (2.0.5): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating guzzlehttp/psr7 (1.4.2 => 1.5.2): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating guzzlehttp/guzzle (6.3.0 => 6.3.3): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating zendframework/zend-stdlib (3.0.1 => 3.2.1): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating zendframework/zend-escaper (2.5.2 => 2.6.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating zendframework/zend-feed (2.7.0 => 2.10.3): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating egulias/email-validator (1.2.14 => 1.2.15): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating masterminds/html5 (2.3.0 => 2.5.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating zendframework/zend-diactoros (1.4.1 => 1.8.6): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/yaml (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating squizlabs/php_codesniffer (2.8.1 => 3.4.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating drupal/coder (8.2.12 => 8.3.1):     The package has modified files:
    D coder_sniffer/Drupal/Test/Array/ArrayUnitTest.inc
    D coder_sniffer/Drupal/Test/Array/ArrayUnitTest.inc.fixed
    D coder_sniffer/Drupal/Test/Array/ArrayUnitTest.php
    D coder_sniffer/Drupal/Test/Array/DisallowLongArraySyntaxUnitTest.php
    D coder_sniffer/Drupal/Test/Array/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc
    D coder_sniffer/Drupal/Test/Array/disallow_long_array_d7/disallow_long_array_d7.info
    D coder_sniffer/Drupal/Test/Array/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc
    D coder_sniffer/Drupal/Test/Array/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc.fixed
    D coder_sniffer/Drupal/Test/Array/disallow_long_array_d8/disallow_long_array_d8.info.yml
    D coder_sniffer/Drupal/Test/Classes/ClassCreateInstanceUnitTest.inc
    237 more files modified, choose "v" to view the full list
    Discard changes [y,n,v,d,s,?]? y
 Checking out 29a25627e7
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating jcalderonzumba/gastonjs (v1.0.2 => v1.2.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating twig/twig (v1.35.4 => v1.37.1): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/css-selector (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating jcalderonzumba/mink-phantomjs-driver (v0.3.2 => v0.3.3): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating sebastian/version (1.0.6 => 2.0.1): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing sebastian/resource-operations (1.0.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing sebastian/object-reflector (1.1.1): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating sebastian/recursion-context (1.0.5 => 3.0.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing sebastian/object-enumerator (3.0.3): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating sebastian/global-state (1.1.1 => 2.0.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating sebastian/exporter (1.2.2 => 3.1.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating sebastian/environment (1.3.8 => 3.1.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating sebastian/diff (1.4.3 => 2.0.1): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating sebastian/comparator (1.2.4 => 2.1.3): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating doctrine/instantiator (1.0.5 => 1.1.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating phpunit/phpunit-mock-objects (2.3.8 => 5.0.10): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing theseer/tokenizer (1.1.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating phpunit/php-token-stream (1.4.12 => 2.0.2): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating phpunit/php-code-coverage (2.2.4 => 5.3.2): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing webmozart/assert (1.4.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating phpdocumentor/reflection-docblock (2.0.4 => 4.3.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating phpspec/prophecy (v1.7.0 => 1.8.0): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing phar-io/version (1.0.1): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing phar-io/manifest (1.0.1): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing myclabs/deep-copy (1.8.1): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating phpunit/phpunit (4.8.36 => 6.5.13): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/phpunit-bridge (v3.4.15 => v3.4.21): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/dom-crawler (v3.4.15 => v4.2.2): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Updating symfony/browser-kit (v3.4.15 => v4.2.2): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
Writing lock file
Generating autoload files
> Drupal\Core\Composer\Composer::preAutoloadDump
> Drupal\Core\Composer\Composer::ensureHtaccess

Step 8. Update Databse

anisur$ drush updb
The following module is missing from the file system: like_dislike bootstrap.inc:276     [warning]
No database updates required                                                             [success]

Step 9. Deactivate maintenance mode

anisur$ drush sset system.maintenance_mode 0

Step 10. Clear the cache again

anisur$ drush cr
Cache rebuild complete.                                                                  [ok]
Back to top