Drupal\Core\Config\ConfigDuplicateUUIDException on saving page

Created on 1 June 2017, almost 8 years ago
Updated 11 November 2024, 5 months ago

I have a new installation of Drupal 8.3.2 in which I've migrated content from a D6 site but it's otherwise not changed. I've then installed Page Manager, Page Manager UI, Panels and CTools. Straight after installing the modules, if I go to Structure > Pages then edit the node_view page and immediately save it, I get the following error:

The website encountered an unexpected error. Please try again later.

In my logs I have the following:

Drupal\Core\Config\ConfigDuplicateUUIDException: Attempt to save a configuration entity 'node_view' with UUID '17b37866-cc4f-443f-b829-7bf0494ba446' when this entity already exists with UUID '054330fa-8f78-4fa7-a811-76c5d075c72a' in Drupal\Core\Config\Entity\ConfigEntityBase->preSave() (line 339 of /Library/WebServer/Documents/naturespot8/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php).

I can confirm that the node_view entry did not exist in the config table prior to installing the modules so its not a clash with existing data.

🐛 Bug report
Status

Active

Component

Miscellaneous

Created by

🇬🇧United Kingdom johnvb

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇫Burkina Faso ukgoodbye

    Updating to drupal from 10.2 to drupal 10.3.7
    using the /update.php (from the browser) and the same error using drush.bat updatedb -y

    Drupal database update

    Drupal database update

    Updates were attempted. If you see no failures below, you may proceed happily back to your site. Otherwise, you may need to update your database manually. All errors have been logged.

    Front page
    Administration pages

    The following updates returned messages:
    node module
    Update set_node_type_description_and_help_to_null

    Failed: Drupal\Core\Config\ConfigDuplicateUUIDException: Attempt to save a configuration entity 'database_' with UUID '19caa9bd-3f5f-4bf2-a21f-a6b8a8302648' when this entity already exists with UUID '7f18f3a6-7579-4ab2-aca9-ae3490d8fab7' in Drupal\Core\Config\Entity\ConfigEntityBase->preSave() (line 318 of \htdocs\data\core\lib\Drupal\Core\Config\Entity\ConfigEntityBase.php).

    Any information will be welcome.

Production build 0.71.5 2024