More information is available on the Drush website. To upgrade Drupal with drush, use the following commands:Ĭhange to the application directory: $ cd /opt/bitnami/drupal/ Starting with Drupal v7.12-3, the Bitnami Drupal Stack ships drush, a command-line shell and scripting interface for Drupal. You can upgrade the application only without modifying any other stack components. You can also check it in the “Report -> Available updates -> Update” section. In the Drupal administration panel navigate to the “Report -> Status” section to check that your site has been successfully updated. Upgrade the application using drush updating command: $ drush pm-update To upgrade Drupal with drush, follow the steps below: You can update Drupal core with a minor version change using drush a command-line shell and scripting interface for Drupal that is already included in Bitnami Drupal Stack. $ cp /home/bitnami/ /opt/bitnami/drupal/robots.txt htaccess and robots.txt files: $ cp /home/bitnami/.htaccess.backup /opt/bitnami/drupal/.htaccess $ sudo composer update drupal/core-recommended -with-dependenciesĬheck that the application has been successfully updated: $ drush core:status Upgrade the application with Composer and drush by executing the commands below: $ drush cache:rebuild $ cp /opt/bitnami/drupal/robots.txt /home/bitnami/Ĭhange your working directory to the Drupal application: $ cd /opt/bitnami/drupal/ $ cp /opt/bitnami/drupal/sites/default/settings.php /home/bitnami/ htaccess, settings.php and robots.txt files: $ cp /opt/bitnami/drupal/.htaccess /home/bitnami/.htaccess.backup To upgrade Drupal, follow the steps below:Ĭreate a backup of the. Both tools are already included in Bitnami Drupal Stack. You can update Drupal core with a minor version change using Composer, a dependency management tool and drush, a command-line shell and scripting interface for Drupal. Disable the maintenance mode when the upgrade is finished. Enable the “Put site into maintenance mode” checkbox and save the configuration: Log in to the Drupal administration panel.īrowse to the “Administration -> Configuration -> Development -> Maintenance mode” section. If you have important data, create and try to restore a backup to ensure that everything works properly. NOTE: It is advisable to create a backup before starting the update process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |