tldr; I'm after a Wordpress multisite setup that uses the same CiviCRM data for all the subsites. Each subsite can then show the relevant data, and users for each subsite can be given the appropriate permissions.
I've had this working previously, but now, using CiviCRM 5.2.2 it's refusing to work.
Previously (around Civi 4.6 ish) I did a multisite install of Civi.
All I did (IIRC) was install to the root site, then set it up.
When I went to the sub-sites, it showed me the CiviCRM information in the same way that it had it on the root site.
Everything was installed and working. I could see people and information about them.
I've just been trying to set up the same thing again, but this time I'm using CiviCRM 5.2.2
Now I successfully install CiviCRM in the main site.
But when I go to the sub sites, it has CiviCRM showing as needing installing. And when I try clicking the button it gives an error of:
Oops! CiviCRM is already installed CiviCRM has already been installed. To start over, you must delete or rename the existing CiviCRM settings file - civicrm.settings.php - from /wp-content/plugins/civicrm.
But civicrm.settings.php does not exist there.
It exists in /wp-content/uploads/civicrm
So the error message appears to be wrong as a first problem.
In the previous install that did work, it created a set of directories in:
And the civicrm.settings.php file was in there.
It has not done that in this case.
I'm very confused about what's going on.
Is this a major change between 4.x and 5.x that hasn't been documented?
Things I've done I've deleted the civicrm installation canary table from the the database.
I've added the lines to the civicrm settings file as per: https://docs.civicrm.org/sysadmin/en/latest/install/multi-site/
But it still refuses to let me get into CiviCRM on the subsites.
Thanks for any insight.