I want to work with multiple benchs in the same env, so I created a new bench named
bench-dev, but when I run
bench new-site command, it’s created inside
frappe-bench/sites and not in
I’m running the command inside
Did you copy the
frappe-bench folder to create the new bench, or did you use
bench init bench-dev?
bench init bench-dev.
The correct command is:
bench init bench-dev
Also note that the directory
bench-dev will be created in the directory where this command is executed automatically. So you might want to delete the existing one.
Sure, I typed wrong, the directory was created as well how I said before…
I did a test now, run
bench mysql on
/home/ubuntu path and the commandline worked, so I suppose bench
commands is configured to default path
ubuntu@ip-172-31-26-36:~$ bench mysql
/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible.
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 1381
Server version: 10.0.22-MariaDB-1~trusty-log mariadb.org binary distribution
Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.