Account created on 25 February 2015, almost 10 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States phandolin

I was finally able to get our site working (with some help) by using drush config commands.

# Delete bad configs

drush config:delete system.action.media_publish_action
drush config:delete system.action.media_save_action
drush config:delete system.action.media_unpublish_action
drush config:delete system.action.media_delete_action
drush config:delete views.view.media

# Export all configs - you should see the deleted configs. Confirm.
drush config:export

# Create new configs from vendor files

Do a config:import and pass in the absolute path to the folder containing the new configs from the media vendor.

## example
drush config:import --source=/web/core/modules/media/config/optional --partial

# you should see the new configs staged to be created. confirm

# Do a full config export
drush config:export

confirm your changes. This export dumps all of your configs into config/sync directory which is checked into the repo. You should see just those few configs have changed in the git status. These changes should be checked in and pushed to the site.

πŸ‡ΊπŸ‡ΈUnited States phandolin

I was finally able to get our site working (with some help) by using drush config commands.

# Delete bad configs

drush config:delete system.action.media_publish_action
drush config:delete system.action.media_save_action
drush config:delete system.action.media_unpublish_action
drush config:delete system.action.media_delete_action
drush config:delete views.view.media

# Export all configs - you should see the deleted configs. Confirm.
drush config:export

# Create new configs from vendor files

Do a config:import and pass in the absolute path to the folder containing the new configs from the media vendor.

## example
drush config:import --source=/web/core/modules/media/config/optional --partial

# you should see the new configs staged to be created. confirm

# Do a full config export
drush config:export

confirm your changes. This export dumps all of your configs into config/sync directory which is checked into the repo. You should see just those few configs have changed in the git status. These changes should be checked in and pushed to the site.

Production build 0.71.5 2024