0

After upgrade from 8.7.10 to 8.9.13, i updated the pathauto module from ftp and trying to install from drupal admin but it showing an error like "Unable to install Pathauto, pathauto.settings already exists in active configuration."

Based on the post https://www.drupal.org/forum/support/post-installation/2016-01-29/already-exists-in-active-configuration-issue i deleted the pathauto.settings row from config table and cleared the cache and trying to install the module , but still showing the same error. Please help me.

Thanks in advance.

3
  • 3
    You probably did the core update having the wrong Pathauto version installed. See drupal.stackexchange.com/questions/299833/…
    – 4uk4
    Feb 23, 2021 at 12:14
  • 3
    Generally speaking, it's dangerous to jump multiple Drupal versions at once (from 8.7 to 8.9, you skipped 8.8). 8.8 has a breaking change to Pathauto as noted by 4k4, so you probably need to roll back to 8.7, update Pathauto, and then update core to 8.8, and then 8.9. Feb 23, 2021 at 14:14
  • i updated first pathauto 1.6 and then to core 8.8.0 , but my entire site is broken . How to resolve this' Jun 10, 2021 at 8:15

2 Answers 2

1

Before trying to do whatever I suggest below first of all have a full backup of the site.

It seems pathauto module is not uninstalled properly.

To solve your problem you can just delete the pathauto.settings from config using drush.

Use the below command to delete the conflicting config.

drush cdel pathauto.settings

It will delete the existing pathauto configuration.Then you can install the pathauto module.

You should consider using composer for the module management.

-1

You can use the following Drush command.

drush ev "\Drupal::service('config.manager')->uninstall('module', 'pathauto');"

After running it, you should be able to re-install the module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.