Question

Bench new site got unexpected extra argument

Posted July 17, 2021 66 views
UbuntuMariaDBe-commerce

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?

edited by bobbyiliev

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.

×
Submit an Answer
1 answer

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