Καλησπέρα παιδιά παώ να κάνω update απο Drupal 8 σ...
# chat
f
Καλησπέρα παιδιά παώ να κάνω update απο Drupal 8 σε Drupal 9 και μου πεταει αυτο
Copy code
composer update drupal/core*
The "drupal/console-extend-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "oomphinc/composer-installers-extender" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
The "drupal-composer/drupal-scaffold" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.2.0"). You may need to run composer update with the "--no-plugins" option.
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Info from <https://repo.packagist.org>: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal-composer/drupal-scaffold is locked to version 2.6.1 and an update of this package was not requested.
    - drupal-composer/drupal-scaffold 2.6.1 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
  Problem 2
    - drupal/console is locked to version 1.9.5 and an update of this package was not requested.
    - drupal/console 1.9.5 requires php >=7.0.8 -> your php version (5.5.38) does not satisfy that requirement.
  Problem 3
    - drush/drush is locked to version 9.7.2 and an update of this package was not requested.
    - drush/drush 9.7.2 requires php >=5.6.0 -> your php version (5.5.38) does not satisfy that requirement.
  Problem 4
    - drupal/core 8.8.10 requires php >=7.0.8 -> your php version (5.5.38) does not satisfy that requirement.
    - webflo/drupal-core-require-dev 8.8.10 requires drupal/core 8.8.10 -> satisfiable by drupal/core[8.8.10].
    - webflo/drupal-core-require-dev is locked to version 8.8.10 and an update of this package was not requested.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Στο MultiPHP manager η εκδοση της PHP είναι 7.4
b
πρεπει να πας απο composer 1 σε composer 2
το project εχει φτιαχτει με 1
t
Υπάρχει πιθανότητα στο command line να έχεις διαφορετική php version. Τρέξε php -v να δεις
👍 1
❤️ 1
f
Καλησπερα Θοδωρη οχι την 7.4 εχω
Καλησπερα bserem
b
• πρωτα θα κανεις composer 1->2 • μετα θα κανεις drupal 8.9 latest και core-recommended • και μετα d9
επισης το php-cli σου τρεχει με αλλη εκδοση οπως λεει ο Θοδωρής
το τρεχεις κατευθειαν στο server? εχουν αλλη εκδοση php για το command line
f
Ναι κατευθειαν στο Server οταν κανω update τον composer δεν μου πεταει ερρορ για την php αλλα μου βγαζει
Copy code
The "drupal/console-extend-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.3.0"). You may need to run composer update with the "--no-plugins" option.
The "oomphinc/composer-installers-extender" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.3.0"). You may need to run composer update with the "--no-plugins" option.
The "drupal-composer/drupal-scaffold" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.3.0"). You may need to run composer update with the "--no-plugins" option.
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Info from <https://repo.packagist.org>: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal-composer/drupal-scaffold[2.5.0, ..., 2.6.1] require composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.3.0] but it does not match the constraint.
    - Root composer.json requires drupal-composer/drupal-scaffold ^2.5 -> satisfiable by drupal-composer/drupal-scaffold[2.5.0, ..., 2.6.1].
b
οπως σου ειπε ο θοδωρής, τρεξε
php -v
f
IMG_0982.jpg
t