My composer build D8/CiviCRM instance looks great on my local server where I built it - but then when I add it all to git and push it to a production server -> it looks like this: menus are messed up and CiviCRM is not able to find its own extension directory that it ships with.

enter image description here


When you install D8/CiviCRM with Composer you end up with CiviCRM's .gitignore file in the vendor/civicrm/civicrm-core directory. Renaming that .gitignore outoftheway solves the problem. No civicrm.settings.php file edits required! Of course you can be more selective but think of not ignoring bower_components as well as the /ext -> that's what solved this issue instantly.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.