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.

Can not run drush updatedb after drush upgrade from D9.5.11 to D10.2.10

Drush version : 13.3.3.0

PHP 8.3.11 (cli) (built: Aug 27 2024 21:28:59) (ZTS Visual C++ 2019 x64)

After I resolved different problems in composer upgrade. Now get to the command line

 ./vendor/bin/drush updatedb --verbose. 

The errors is like following 

Do i need to repeat multiple steps during the upgrade in my devop environment (ddev) on the server where I deploy

Use case
An old site running a low drupal 9.version on php 7.4
step 1
To upgrade to 10 i first change php to 8.1 
Repair all error and push the code but do not deploy
step 2
then set php back to 7.4 because otherwise i get a lot of dependency errors
upgrade to 9.5.11
repair some errors and change some configuration
push the code but do not deploy
step 3
install upgrade status
install rip
repair conflicts
push code but do not deploy

Error before upgrading drupal version from 9 to 10

Hi,

I've been struggling with upgrading from 9.5.11 to 10.0.0 for a few days now. I followed the instructions on https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/how-to-upgrade-from-drupal-9-to-drupal-10

At the first bugs,

Are custom template files not saved when updating a theme?

Hi,

I am running Drupal 10 and 11 with different themes and I noticed that custom twig-tenplates are not preserved when updating the themes.

Is that correct behavior?

I would have expected that we could place custom templates in a separate folder where they would not be removed when updating the theme.

I did however not find any documentation anywhere about that.

So is everybody with Drupal sites just copying their own templates back into the system after an update? 

Would love to hear what others are experiencing on this front.

Upgrading from UI - Migration is very slow, 1 item by request

Hello,

I am trying to migrate a Drupal website from Drupal 7 to Drupal 10.4.1

The site has approximately 15,000 nodes with a large number of revisions (over 50,000).

I am working in a local environment where I have configured PHP and MySQL to allocate the maximum resources possible to improve the upgrade process.

However, the process is extremely slow. I can see the number of items processed per iteration decreasing like this:

Error after Upgrading drupal version from 9 to 11.

I have updated my website from D9 to D11 version. After this update everything is working fine except one issue. And the problem is that when i am trying to add any new field to any of my content type the i am not able to do so. Getting this error:
TypeError: Cannot access offset of type Drupal\Core\StringTranslation\TranslatableMarkup in isset or empty in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 45 of core\lib\Drupal\Component\Plugin\Discovery\DiscoveryTrait.php).

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal