Hi,
Thank you for your answer.
And yes, I run all bench command inside frappe-bench folder, but still no luck. The error is still same.
These are full traceback :
bench new-site site1.local INFO:bench.utils:creating new site site1.local frappe app is not installed. Run the following command to install frappe bench get-app frappe https://github.com/frappe/frappe.git Traceback (most recent call last): File "/usr/bin/bench", line 9, in <module> load_entry_point('bench==2.0.0', 'console_scripts', 'bench')() File "/home/zea/bench/bench-repo/bench/cli.py", line 40, in cli bench_command() File "/usr/lib/python2.7/site-packages/click/core.py", line 716, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python2.7/site-packages/click/core.py", line 696, in main rv = self.invoke(ctx) File "/usr/lib/python2.7/site-packages/click/core.py", line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python2.7/site-packages/click/core.py", line 889, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python2.7/site-packages/click/core.py", line 534, in invoke return callback(*args, **kwargs) File "/home/zea/bench/bench-repo/bench/commands/make.py", line 46, in new_site new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password) File "/home/zea/bench/bench-repo/bench/utils.py", line 122, in new_site ), cwd=os.path.join(bench, 'sites')) File "/home/zea/bench/bench-repo/bench/utils.py", line 91, in exec_cmd p = subprocess.Popen(cmd, cwd=cwd, shell=True, stdout=stdout, stderr=stderr) File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory: './sites'
Then I run this command :
$ bench get-app frappe https://github.com/frappe/frappe.git
INFO:bench.app:getting app frappe Traceback (most recent call last): File "/usr/bin/bench", line 9, in <module> load_entry_point('bench==2.0.0', 'console_scripts', 'bench')() File "/home/zea/bench/bench-repo/bench/cli.py", line 40, in cli bench_command() File "/usr/lib/python2.7/site-packages/click/core.py", line 716, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python2.7/site-packages/click/core.py", line 696, in main rv = self.invoke(ctx) File "/usr/lib/python2.7/site-packages/click/core.py", line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python2.7/site-packages/click/core.py", line 889, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python2.7/site-packages/click/core.py", line 534, in invoke return callback(*args, **kwargs) File "/home/zea/bench/bench-repo/bench/commands/make.py", line 28, in get_app get_app(name, git_url, branch=branch) File "/home/zea/bench/bench-repo/bench/app.py", line 54, in get_app cwd=os.path.join(bench, 'apps')) File "/home/zea/bench/bench-repo/bench/utils.py", line 91, in exec_cmd p = subprocess.Popen(cmd, cwd=cwd, shell=True, stdout=stdout, stderr=stderr) File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory: './apps'
Again, I’m pretty sure the installation process is successful without errors, and I run all command inside frappe-bench’s folder.
I follow manual install in here : GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps, since development setup and easy production setup doesn’t work either.
So how I can solve this problem?
Thank you