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 bench-dev/sites.
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 home/ubuntu/frappe-bench.
ubuntu@ip-172-31-26-36:~$ pwd
/home/ubuntu
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.
utils.DeprecatedIn23,
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.
MariaDB [b0a550ea1ae03d90]>