Closed martinbroos closed 1 year ago
Hi Martin,
It looks like your composer lock file might not have been committed to git and is not pushed to your app so composer complains about incompatible packages. Please ensure that all files are tracked in git and try again.
If this still doesn't solve the problem, you can also try resetting the deploy git repo with the instructions here.
I was able to reproduce a Craft project using your composer.json file and push to a test fortrabbit app with no issues.
Hi, thanks for your response. I checked in bitbucket and the composer.lock file is there and is updated recently so it should still be available for deployment.
After that I tried your suggestion about resetting the deploy git. But with no success.
Any other ideas ?
Hmm, I can only imagine that this issue is not particular to Craft Copy and will be better solved in official fortrabbit support. Please open a support ticket by sending us a message from the dashboard.
Thanks.
I managed to get it working by first doing a manual git push to the fortrabbit github. After that when I run php craft copy/code/up prod
the composer errors are no longer there. But it does seem that new commits after this don't get synced..
Please do open a support ticket from the fortrabbit dashboard and we can pick up from there.
Thanks.
Hi I'm trying to deploy an existing Craft CMS 3.7.x project to FortRabbit but I'm running into this error while deploying. I can do composer upgrade without problems locally. So only when I start the deployment the error occurs. Any idea ?
My composer.json:
I'm not sure why it says I'm using Craft CMS 3 RC version.