I am Upgrading Drupal 8.9 to Drupal 9.2 and it's installed but when am I trying run drush -y config-import then getting error
[error] Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization. Cannot change the install profile from to standard once Drupal is installed. Unable to install the standard module since it does not exist. in Drupal\Core\Config\ConfigImporter->validate() (line 750 of /web/core/lib/Drupal/Core/Config/ConfigImporter.php).
The import failed due to the following reasons:
Cannot change the install profile from to standard once Drupal is installed. Unable to install the standard module since it does not exist.
I verified my core.extension.yml file there is already written:
module:
standard: 1000
profile: standard
I tried with this reference as well https://www.drupal.org/node/2952947 and https://www.drupal.org/node/2538996 but didn't get any solution.
Comments
Comment #2
cilefen commentedThis looks like a duplicate. I am not sure we need another issue.
Comment #3
anshu raj commented@cilefen, It seems duplicate issue related with config synchronization but the error is completely different, We are upgrading Drupal 8.9 to Drupal 9.2 and I had tried all the proposed solution related to config synchronization but didn't work for Drupal 9.2.
If you have any proposed solution, Please suggest.
Comment #4
cilefen commentedWhat is the overall upgrade process you are following?
Comment #5
anshu raj commentedBasically I am upgrading it on a new server with composer 2 along with php 7.3 older server doesn't support php version.
Through composer 2.0 and along with Drush v10 I upgraded Drupal 9.2.6 but whenever I try to run
drush -y config-import(cim).once it started to run then in process it throws error related validation and standard
we are using the same core.extension.yml including all exported configuration (.yml) file and existing database of Drupal 8 and it is already mentioned in file
Comment #7
cilefen commentedIs there any update after two months?
Comment #8
cilefen commented