How to reset user after being blocked (d7 and works in D8 as well). 1MySQL> delete from flood where identifier=<uid>; To get the uid, search as follows: 1MySQL> select uid, name from users where name like '%NameHere%'\G; Details in https://www.drupal.org/node/1023440 NOTE: Observed to work as well …
Read MoreAt the end of composer install, the following was shown: 1In UpdateDBCommands.php line 109: 23Drupal removed its automatic entity-updates API in 8.7. See https://www.dru 4pal.org/node/3034742. 567entity:updates [--cache-clear [CACHE-CLEAR]] [--no-cache-clear] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] …
Read MoreMost probably caused by CSS/JS Aggreggation. Disable it by doing the following: Can edit settings.php - add the following: 1$config['system.performance']['css']['preprocess'] = FALSE; 2$config['system.performance']['js']['preprocess'] = FALSE; In Drupal Admin …
Read MoreDrupal 8: Entities neeeds to be deleted before importing error
The following was seen during configuration import (drush cim) 1The import failed due to the following reasons: 2Entities exist of type <em class="placeholder">Shortcut link</em> and <em class="placeholder">Shortcut set</em> <em …
Read MoreProblem 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 MoreEmpty the files directory. Replace the settings.php file with a copy of the default.settings.php file. Add write permissions to the settings.php file. Drop all tables in the database. Reinstall the site on http://yoursite.com/core/install.php. Ref http://dribbit.eu/drupal-8/reinstall-drupal-8
Read MoreNOTE: Noticed some memory issue during installation on a VM with 2GB RAM, so if it happens to you, just augment with swap file. 1cd /var/www/sites 2composer create-project drupal-composer/drupal-project:8.x yoursite.example.com --stability dev --no-interaction 3../vendor/bin/drush site-install --site-name="Drupal …
Read MoreNOTE: Per https://www.drupal.org/project/drupal/releases/8.4.0, drupal8.4.x needs drush 8.1.12+ Method works but has theme issue. Better to use composer method instead. cd /var/www/sites/yourdrupal.com/ drush dl drupal-8 mv drupal-8.4.5 docroot composer install composer update composer require drush/drush drush si …
Read More