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'


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?


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.


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

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

Regards, Bobby