Hi everyone I have already follow all documentation and issues for failed update drupla ^9 to ^ but still failed, maybe I can get helping from this forum, here the details:
Hello. I am new to Drupal (4 months working with it). We have an website with Drupal 8.4.8 and we must update it to Drupal 8.8.0.
We did this to start:
. first we replaced 4 modules with more recent versions:
- pathauto 8.x.1.6
- variation cache 8x 1-0 (new)
- group 8x-1.4
- 8.x-1.0-beta3 do group menu
After, we manually replaced the required files form 8.4.8 with drupal 8.8.0 files and executed "drush cr" and after "drush updb". After the updade, the site works, but in the drush terminal, it was displayed the this message of error:
and got the following error message after completion :
In FilesystemRepository.php line 165: file_get_contents(/app/vendor/composer/composer/src/Composer/Repository/../InstalledVersions.php): Failed to open stream: No such file or directory
$ lando composer outdated "drupal/*"
Color legend:
- patch or minor release available - update recommended
- major release available - update possible
drupal/bootstrap5 3.0.8 3.0.10 Master theme using Bootstrap 5: ...
drupal/bootstrap_styles 1.1.1 1.1.5 Add a plugins builder and a coll...
drupal/core 10.0.9 10.1.4 Drupal is an open source content...
drupal/core-composer-scaffold 10.0.9 10.1.4 A flexible Composer project scaf...
drupal/core-project-message 10.0.9 10.1.4 Adds a message after Composer in...
I'm using Composer to try to update my site and get this result:
Problem 1
- Root composer.json requires drupal/core ^10.0.0, found drupal/core[10.0.0-alpha1, ..., 10.1.x-dev] but the package is fixed to 9.5.11 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
I then used the command composer prohibits drupal/core 10 and got this output:
As Drupal 9.5.x will be end-of-life next month, I will need to upgrade to 10.x soon. Currently, I am running it on Debian 11 which is shipped with PHP 7.4 which is unsupported by Drupal 10.x. I will thus need to upgrade to Debian 12 as well as that ships with PHP 8.2.
Unfortunately, Debian 9.x only supports PHP versions up to version 8.1.
To minimize downtime, I was thus thinking about either one of both upgrade paths: