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

Error: no such option: --site #1394

Closed
ShahzadNaser opened this issue Nov 28, 2022 · 7 comments
Closed

Error: no such option: --site #1394

ShahzadNaser opened this issue Nov 28, 2022 · 7 comments
Labels

Comments

@ShahzadNaser
Copy link

Issue: Bug report

My bench version is 5.14.4

i won't able to perform any operation on specific site using *bench --site * command it throwing error "no such option: --site"

@ankush
Copy link
Member

ankush commented Nov 28, 2022

Not enough info to debug anything. What commands you ran?

@ShahzadNaser
Copy link
Author

@ankush i am installing a custom app on specific site in multitenent env. but won't able to use --site command for selecting specific site.

bench --site [sitename] install-app [custom-app]

this is the example command which i am running

@ardi85
Copy link

ardi85 commented Aug 4, 2023

bench use [sitename]

@skanel
Copy link

skanel commented Aug 12, 2023

I faced the same issue bench --site , example

@dawoodjee
Copy link

dawoodjee commented Aug 22, 2023

Same issue here, it occurs randomly

Perhaps relevant to mention what OS we're each using, I'm on MacOS

@ankush
Copy link
Member

ankush commented Feb 24, 2024

#1488

@ankush ankush closed this as completed Feb 24, 2024
@dawoodjee
Copy link

WORKAROUND

Like @ardi85 said, use bench use then your command, e.g

bench use [sitename]
bench migrate
# will perform migrate on [sitename]

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

No branches or pull requests

5 participants