Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ddev pull platform' not working when using multiple databases #59

Closed
Bart-St opened this issue Nov 11, 2022 · 3 comments
Closed

'ddev pull platform' not working when using multiple databases #59

Bart-St opened this issue Nov 11, 2022 · 3 comments

Comments

@Bart-St
Copy link

Bart-St commented Nov 11, 2022

Using a Drupal 9 multisite with two databases.
When executing the command: 'ddev pull platform' it encounters multiple relationships and stops.
It askes for a --relationship flag but the ddev command doesn't recognise it.

ddev pull platform
You're about to delete the current database and files and replace with the results of a fresh pull.
Would you like to continue? [Y/n] (yes): yes
Authenticating...
Obtaining database...
More than one relationship found.
Use the --relationship (-r) option to specify a relationship. Options:

@rfay
Copy link
Member

rfay commented Nov 11, 2022

Thanks for trying it out, and thanks for reporting this!

There isn't actually a plan to support multisite or multiple databases in the immediate future.

Note that ddev pull platform is actually implemented in ddev itself, and obviously needs some more work to support this.

@rfay
Copy link
Member

rfay commented Dec 8, 2022

@Bart-St this is ready for review in

would love it if you could give it a test.

Note that it does not work with the ddev-platformsh add-on, which gets confused about multiple databases.

@rfay rfay changed the title 'Ddev pull platform' not working when using multiple databases 'ddev pull platform' not working when using multiple databases Dec 8, 2022
@Bart-St
Copy link
Author

Bart-St commented Dec 9, 2022

Wow great! Tnx!
I will give it a try this week. Will report the progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants