can't apply existing project config: No plugin exists with the handle "<...>" #7997
-
I hope this is a way to get some help here, otherwise, I'll gladly open an issue instead. Right now I'm trying to create a blueprint, which can be found here: https://github.com/D3strukt0r/craftcms-blueprint/tree/main/cms I somehow got my dev environment setup (by running I used to have the same issue in my dev environment, but it somehow disappeared after reinstalling the plugins, something I can't do in the production environment, so I'm trying to figure out what is causing this. If you want to build the image in yourself create a copy of the If you're wondering, I'm doing this on Windows 10, using WSL 2 with Ubuntu 20.04, and the whole project is in WSL. Checking the folder in the container ...
... all the necessary files should be there as well as the proper permissions are set. The install command I used is: ./craft install --language de-CH --site-name 'Blueprint' --site-url \$SITE_URL --username admin --email [email protected] --password 'password' The full error log is (I momentarily switched to dev settings in the prod environment here, that's why there is more info):
After having thought the missing composer binary might be the issue, I added the composer binary to the container, but the error persisted.
Maybe someone who has a better understanding of this process could help me understand what is going on here because I'm lost as to what I'm doing wrong. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
For Craft to be able to use the existing project config files during installation, the installed version of Craft and plugins must be identical to what they were on the environment where the project config files came from, at the time they were exported. Try doing this:
If it still doesn’t pull in the project config files, please send a database backup from your original install, and your Composer files over to [email protected], and we can try to reproduce it on our end. |
Beta Was this translation helpful? Give feedback.
For Craft to be able to use the existing project config files during installation, the installed version of Craft and plugins must be identical to what they were on the environment where the project config files came from, at the time they were exported.
Try doing this:
php craft project-config/rebuild
composer.json
andcomposer.lock
over to a new project.composer install
on the new projectphp craft install
on the new projectIf it still doesn’t pull in the project config files, please send a database backup from your original install, and your Composer files over to [email protected], and we can…