Deploy plugin - migration error

I’m using OC 4.2.24 and deploy plugin 3.3.3. When trying to deploy I get following error at the migration step:

Class "October\Rain\Config\ConfigWriter" not found

How can I fix this?

Hey @mathilde

Wow, that’s a really old file. Must be from an old plugin or from the cache (storage/framework/classes.php).

I deleted the cache and looked into storage/framework/classes.php, where I couldn’t find Class "October\Rain\Config\ConfigWriter".

Locally I searched for October\Rain\Config\ConfigWriter in all files, but couldn’t find anything.

Could it be the builder plugin?

UPDATE:
I found it in modules\system\console\OctoberInstall.php in the server files. But shouldn’t this be overwritten, when I deploy the core modules and vendor files?

UPDATE:
I seems, that the deploy plugin didn’t deploy the modules folder correctly. I uploaded the modules folder via FTP and now the migration worked.