This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

Upgrade drupal 9.5 to ^10 failed

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:

Trying this command:

composer require drupal/core-recommended:10.1.5 drupal/core-composer-scaffold:10.1.5 drupal/core-project-message:10.1.5 --update-with-all-dependencies

Showing this

Problem after upgrading Drupal 8.4.8 to 8.8.0 (duplicate key value in path_alias____pkey)

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:

10.0 dev to 10.1.5 update - Failed to open stream: No such file or directory error

Hello,

Today I set out to update my local (lando) "drupal/core-dev": "^10.0" site to drupal 10.1.5.

I ran : 

composer update "drupal/core-*" --with-all-dependencies

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

Now my site is displaying 

Issues Upgrading from 10.0.9 to 10.1.4

$ 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...

Issues Upgrading from 9.5.11 to 10.0.11

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:

[Solved]Combined Drupal and Debian upgrade

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:

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal