Question

Bench new site got unexpected extra argument

Connected Tutorial
This question is a follow-up to this tutorial:

Hi, I tried following your guide to install erpnext on Ubuntu 20. However, it’s failing on this step -

bench new-site your_domain --admin-password 'erpnext_admin_password' --mariadb-root-username sammy --mariadb-root-password 'mariadb_password'

Output:

Usage: bench  new-site [OPTIONS] SITE
Try "bench  new-site --help" for help.
Error: Got unexpected extra argument (sammy)

Any ideas why this might be the case?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

This seems to be the correct syntax, according to the official documentation here:

https://frappeframework.com/docs/user/en/bench/reference/new-site

Did the bench init go through successfully from the previous step?

Regards, Bobby