0

I installed drupal 8 with the open social installation profile using composer. Now I want to turn this drupal install into a multi-site installation where some of the other sites don't use this installation profile. But when creating a new site (I know how to do this from my D6/7 days) I can't select an installation profile. Instead the Open Social installer is always run and it's installation profile always gets applied. I figured out it is probably due to the vendor stuff that composer does when installing drupal and open social. It changes some things in the vendor folder that change the drupal 8 installation procedure. But the question that remains is if it is possible to still use this install with the standard drupal installation profiles.

Or a perfectly acceptable alternative for me would be to make a base install of drupal8 and afterwards add the opensocial installation profile so I can still choose my installation profiles. I guess that would mean ditching composer? Or maybe not? I don't really know because I am not familiar with how composer changes the drupal workflow from the way I used to work with it in d6/7.

2
  • I'd recommend against using multi-site. It's not complicated to manage separate sites and far more reliable. You can only update drupal core and shared modules for them at the same time and when you need different versions that it's going to get complicated.
    – Berdir
    Commented Mar 1, 2017 at 21:03
  • I have my reasons for wanting a multi-site setup. Commented Mar 3, 2017 at 3:56

1 Answer 1

2

In the .info.yml file, do no put distribution statement, ss mentioned in this guide:

# Optional: Declare your installation profile as a distribution
# This will make the installer auto-select this installation profile.
# The distribution_name property is used in the installer and other places as
# a label for the software being installed.
distribution:
  name: Distribution Name
2
  • You're right, but those are docs on creating a profile while I just want to install one :). BUt it indeed worked. I still needed to figure out how to deal with composer and profiles together, but I got it working. I'll do a write-up somewhere because it is not that straight forward. Commented Mar 3, 2017 at 3:55
  • Remove that statement?
    – Kartagis
    Commented Mar 3, 2017 at 4:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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