Add upgrade path to Domain config

Created on 20 July 2021, almost 3 years ago
Updated 7 March 2024, 4 months ago

Problem/Motivation

Since Domain config and Domain Config UI is included in the Domain module, there is probably no reason why this module still exists.

Proposed resolution

Add an upgrade path and convert the saved config by this module to domain specific config files.

Remaining tasks

Add upgrade path.

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium JeroenT πŸ‡§πŸ‡ͺ

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.

  • πŸ‡ΊπŸ‡ΈUnited States JackG102 Falls Church, VA

    Coming in a few years after the fact, but wanted to share how our project did it simply. We had a project that used this module. It was seemingly straight forward to "hand migrate" the configuration settings to Domain Config, using the Domain Config UI. We had about 6 domains for reference. If anyone else is looking for an upgrade path, I might recommend that.

    • Copy and paste the Domain Site Settings configuration from domain_site_settings.domainconfigsettings.yml into a notes application for reference
    • Uninstall Domain Site Settings module
    • Install the Domain Config UI module (Domain Config was already installed)
    • Go to /admin/config/system/site-information
    • Select the domain that you want to configure
    • Go back to your configuration settings that you pasted into your notes
    • Fill out the requisite values for the site name, front page, 404 page etc
    • Save!
    • Repeat those configuration steps in the Site Information page for each domain until you are done.
    • That should be it from what I can tell.

    There are a few other steps about removing the module from composer that are part of the normal Drupal workflow, but wanted to share how we upgraded from this module to Domain Config without a need for automation.

Production build 0.69.0 2024