While working on #278629 , i came to the realization that it would be much clearer and simpler to always install the provision site in
sites/default.

This means that a platform is synonymous with the default site installed at a certain path.
This means that we do not have to add --uri= for drush calls.
This means that we do not need to protect install.php in any way, since it becomes inert when there is a default site
This means we can provide a 'site not found, do you want to create it ?' or any other redirection pages we need to for unfound/disabled
sites.
This means we don't have to guess what is in sites/default, as we insist that we be there (and we already map ourselves as a platform node).

Comments

adrian’s picture

This is an incredibly simple patch.

Basically test for the negative instead of the positive in provision.install, and change the error message.

adrian’s picture

Status: Active » Needs work

Committed the main fix, but this affects the import page of the hosting wizard.

It means there's never one minimal site installed.

adrian’s picture

I removed the --uri from the calls to drush.

adrian’s picture

Status: Needs work » Fixed

This is now complete.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

  • Commit 6867e90 on debian, dev-dns, dev-envobject, dev-koumbit, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newhooks, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-restore, dev-services, dev-simplerinstaller, dev-site_rename, dev-ssl, dev_716166_apache_conf, dev_dns, dev_server_verify, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by adrian:
    #321940 - force install in sites/default