composer outdated drupal/* composer show drupal/*
This manual works till version D8.6.11 (8.6.11 and higher require twig 1.38.2), so need at first update twig to this version with:
composer require 'twig/twig:1.38.2'
Composer prohibits - zobrazí závislosti, kvôli ktorým update zlyhá:
composer prohibits drupal/core:8.6.15
Composer update - update modulov podla composer.json
composer update drupal/core webflo/drupal-core-require-dev --with-dependencies --dry-run
composer update drupal/core webflo/drupal-core-require-dev --with-dependencies
toto ale updatne aj twig z verzie 1.37.1 na verziu 1.38.xx a tym rozhodi webstranku, preto vrátime twig na pôvodnú verziu:
* problem with twig issue was resolved in Drupal 8.6.11 and 8.6.12
composer require 'twig/twig:1.37.1' drush updb drush cr
Ešte moduly:
composer outdated drupal/* composer update drupal/* --with-dependencies --dry-run drush updb drush cr
(takto to zatiaľ fungovalo na test banystav)
Referencie:
https://www.drupal.org/docs/8/update/update-core-via-composer - commands
https://www.jeffgeerling.com/blog/2018/updating-drupalcore-composer-dru… - composer prohibits
https://www.drupal.org/project/drupal/issues/3039408 - twig problem