Problem You encountered this error when running 'drush cim': 1Site UUID in source storage does not match the target storage. As mentioned, UUID no longer match. To fix, get the UUID in config/sync directory, something like below: 1awk '{for (I=1;I<=NF;I++) if ($I == "uuid:") {print $(I+1)};}' …
Read MoreDrupal 8 1drush sset system.maintenance_mode FALSE Drupal 7 1drush vset maintenance_mode 0 You may need to clear cache for it to work. See details and some other options if it doesn't work in https://drupal.stackexchange.com/questions/100771/how-do-i-turn-off-maintenance-mode
Read MoreHad to install as follows (need to be php7.x): 1pecl install memcached Dependencies may need to be installed 1# yum groupinstall "Development tools" 2# yum install zlib zlib-devel 3# yum install php php-devel php-pear 4echo "extension=memcache.so" >> /etc/php.d/memcache.ini See …
Read More1cd /var/www/sites 2drush dl drupal-7 --destination=yoursite.example.com --drupal-project-rename=www -y 3cd yoursite.example.com/www 4drush site-install standard --account-name=admin --account-pass=admin --db-url=mysql://myDBA:myDBPASS@localhost/myDB -y See http://www.coderintherye.com/install-drupal-7-using-drush
Read MoreEnable diff module 1drush en diff -y Show all features 1[root@yoursite.example.com docroot]# drush fd 2BEF Test Content bef_test_content Disabled 7.x-3.5 3Keystone Media News content_keystone_media Enabled 7.x-1.0-alpha10 4Content Set #1 content_set_1 Enabled 7.x-1.0-alpha9m 5Content Set #2 content_set_2 Enabled …
Read More1#install composer and Drush 2curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer 3wget -O drush.phar https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar 4chmod +x drush.phar 5sudo mv drush.phar /usr/local/bin/drush 6cd drupal 7cat > …
Read More1[me@common-dev default]$ drush pm-download stage_file_proxy 2Project stage_file_proxy (7.x-1.8) downloaded to /var/www/sites/project.example.com/www/sites/all/modules/contrib/stage_file_proxy. [success] 3[me@common-dev default]$ drush pm-enable --yes stage_file_proxy 4The following module has moved within the file …
Read More1root@example.com:/var/www/sites/yoursite.example.com/www# git diff .htaccess 2diff --git a/www/.htaccess b/www/.htaccess 3index 440cabc..968f601 100644 4--- a/www/.htaccess 5+++ b/www/.htaccess 6@@ -93,6 +93,12 @@ DirectoryIndex index.php index.html index.htm 7# RewriteCond %{HTTP_HOST} !^www\. [NC] 8# RewriteRule ^ …
Read More