Skip to content

Improve WordPress Multi-site Support #38

Open
@evandiamond

Description

@evandiamond

Bug Report

Tell us about your setup
WordPress Multi-site from Pantheon

What is your lando version and operating system?
lando-v3.0.0-alpha.13 on Running Mac OS Sierra 10.12.5

Have you previously installed lando? If so, what version?
No

Tell us about your bug
I don't think Lando plays well with WordPress Multi-site.

Please detail the steps we can take to replicate this bug. Be as detailed as possible.

  1. Ran `lando init pantheon
  2. Filled in crendentials
  3. lando start
  4. Error:
warn: wordpress_network is not a supported recipe.
error:  TypeError: Cannot read property 'filemount' of undefined
  1. If I change my framework to just "wordpress" instead of "wordpress_network" which was set by default, I can proceed forward.
  2. lando start
  3. No longer a frameworks bug, but I get a:
PHP Fatal error:  Uncaught Pantheon\Terminus\Exceptions\TerminusException: Could not save data to a file because the path /var/www/.terminus/cache/commands cannot be written to. in /var/www/.composer/vendor/pantheon-systems/terminus/src/DataStore/FileStore.php:155
  1. lando restart
  2. Things appear to be normal...
  3. Setup finishes. 2 of the URL's are in red. 4 on in green.
  4. Let's try one of the links: http://localhost:32787 - "Site cannot be reached"
  5. I can remove these two lines in my WordPress wp-config.php file:
define( 'WP_ALLOW_MULTISITE', false );
define('MULTISITE', false);
  1. Head back to: http://localhost:32787 - WordPress wants to start installation.
  2. Successfully imported the database using the Lando documentation
  3. In order to check my multi-sites, I need to turn true the items in Step 12. However when I do so, I get:
Error establishing a database connection

If I can just get this last part working I'll be golden, everything else is working great! @pirog

Feature/Enhancement Request

Would love to see WordPress multi-site support!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions