Improve WordPress Multi-site Support
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 22
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
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.
- Ran `lando init pantheon
- Filled in crendentials
lando start- Error:
warn: wordpress_network is not a supported recipe.
error: TypeError: Cannot read property 'filemount' of undefined
- If I change my framework to just "wordpress" instead of "wordpress_network" which was set by default, I can proceed forward.
lando start- 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
lando restart- Things appear to be normal...
- Setup finishes. 2 of the URL's are in red. 4 on in green.
- Let's try one of the links: http://localhost:32787 - "Site cannot be reached"
- I can remove these two lines in my WordPress wp-config.php file:
define( 'WP_ALLOW_MULTISITE', false );
define('MULTISITE', false);
- Head back to: http://localhost:32787 - WordPress wants to start installation.
- Successfully imported the database using the Lando documentation
- In order to check my multi-sites, I need to turn
truethe 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!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the wordpress_network failure with lando init and lando start using the Pantheon setup described. Inspect the WordPress multisite settings in wp-config.php and verify that setup completes, multisite URLs are reachable, and the imported database connects without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- devops, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100