I tried to update my thunder installation yesterday - which failed. I installed thunder using compoers. Afterwards I installed some additional modules using drush (maybe wrong?). I tried to update the whole site by using drush up - which failed with a long php error message and a hint to DBLog.php
What is the right way to update thunder with additional community modules installed?

Comments

vistree created an issue. See original summary.

daniel.bosen’s picture

If you installed Thunder with composer, the right way to add additional modules is to call composer require drupal/<module-name> in the project root folder. For example installing the webform module would be done by calling composer require drupal/webform.

To update your project, just call composer update. This will update Thunder, Drupal Core, and all installed modules. You still have to run the database updates after this.

vistree’s picture

Thanx daniel! Can I "migrate" the drush downloaded modules to "composer omce" by just do an additional call of composer require drupal/module-name??

daniel.bosen’s picture

Could work, but I would manually delete the module before doing the composer require

vistree’s picture

Thank you!

vistree’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.