Drush

Drush giving Killed on Shared Rackspace

My last night ruined due to this.

Here is the complete story.

I have installed composer on Rackspace. Then i installed drush with composer(composer requires drush/drush:8.*).

But i was able to run drush only from ~/.composer/vendor/bin/drush/drush. But not from drupal root.

Here was the error i was getting:

 

 drush cr 
 killed

I have increased php memory limit from php.ini and in settings.php of drupal as well. But no luck.

At the end following solutions works.

Manage drupal 8 configurations in version control

This was seems to be nightmare for us when multiple persons working on a single website not locally but on hosting server.

One night, i was going through drush commands, in the end i found some beautiful drush commands:

Those were :

drush cim

druhs cex

Which mean drush configuration import and drush configuration export.

What i did for for making configuration in git:

1. Created a drupal website on my local and add it to the git.

Upgrade drupal 6 to drupal 7 with drush

Please note if you are upgrading minor version of drupal-7.21 to drupal-7.22. Then please use

drush pm-update

Prerequisite:

1. If you are upgrading from drupal 6 to drupal 7, you must be on the latest version of drupal 6 release. 2. There is a difference between update and upgrade. 3. You should have a separate directory(target) which will be the act as active drupal root directory.

Main work starts here

Site-upgrade always upgrades from the current Drupal site to an empty Drupal site. You need a site alias to show the target website.

Pages

Subscribe to RSS - Drush