Closed magicspon closed 1 year ago
Whoops, not sure how that got in there. Fixed in 2.0.2
wowsa, thanks for the speedy update
I'm able to rebuild my config with no problems. But i'm still having issues with the deployment.
any idea if this could be related?
Backing up the database ... done
*** applying m221116_000000_migrate_iconsets
Exception: Changes to the project config are not possible while in read-only mode. (/home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/craftcms/cms/src/services/ProjectConfig.php:503)
#0 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/craftcms/cms/src/services/ProjectConfig.php(475): craft\services\ProjectConfig->_setInternal()
#1 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/verbb/icon-picker/src/services/IconSets.php(186): craft\services\ProjectConfig->set()
#2 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/verbb/icon-picker/src/migrations/m221116_000000_migrate_iconsets.php(139): verbb\iconpicker\services\IconSets->saveIconSet()
#3 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/verbb/icon-picker/src/migrations/m221116_000000_migrate_iconsets.php(39): verbb\iconpicker\migrations\m221116_000000_migrate_iconsets->getOrCreateSet()
#4 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/craftcms/cms/src/db/Migration.php(49): verbb\iconpicker\migrations\m221116_000000_migrate_iconsets->safeUp()
#5 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(758): craft\db\Migration->up()
#6 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/craftcms/cms/src/console/controllers/MigrateController.php(360): yii\console\controllers\BaseMigrateController->migrateUp()
#7 [internal function]: craft\console\controllers\MigrateController->actionAll()
#8 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#9 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams()
#10 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/yiisoft/yii2/console/Controller.php(180): yii\base\Controller->runAction()
#11 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/yiisoft/yii2/base/Module.php(552): yii\console\Controller->runAction()
#12 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction()
#13 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/craftcms/cms/src/console/Application.php(90): yii\console\Application->runAction()
#14 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/yiisoft/yii2/console/Application.php(147): craft\console\Application->runAction()
#15 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/craftcms/cms/src/console/Application.php(121): yii\console\Application->handleRequest()
#16 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/vendor/yiisoft/yii2/base/Application.php(384): craft\console\Application->handleRequest()
#17 /home/******ENCRYPTED******/staging-******ENCRYPTED******/releases/844cc6a3bbc20e0a47c9b80c0700922a6eed1e9d/craft(27): yii\base\Application->run()
#18 {main}
*** failed to apply m221116_000000_migrate_iconsets (time: 0.041s)
0 from 1 migrations were applied.
Migration failed. The rest of the migrations are canceled.
Have you run all the updates locally first?
i only rebuilt the project config.
sorted
re-ran composer
then craft up
Should also be fixed in 2.0.3 due to some missing project config checks.
Describe the bug
Heyo,
My deployments are failing due to issues with migrations. I tried rebuilding my config on my local setup, i was hit with the following error
Steps to reproduce
Craft CMS version
4.3.3
Plugin version
2.0.1
Multi-site?
No
Additional context