Hi I used ubuntu 17.04 and installing erpnext using manual installation, I follow up the procedure on GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps. everything is find 'till “add a site” section, I’m using the same code and the result is like this
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 GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
INFO:bench.utils:/home/frappe/env/bin/frappe site1.local --install 1bd3e0294d
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/home/frappe/.local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/frappe/.local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/frappe/.local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/.local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/frappe/.local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/frappe/bench-repo/bench/commands/make.py”, line 58, in new_site
new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password)
File “/home/frappe/bench-repo/bench/utils.py”, line 177, in new_site
), cwd=os.path.join(bench_path, ‘sites’))
File “/home/frappe/bench-repo/bench/utils.py”, line 132, in exec_cmd
p = subprocess.Popen(cmd, cwd=cwd, shell=True, stdout=stdout, stderr=stderr, universal_newlines=True)
File “/usr/lib/python2.7/subprocess.py”, line 390, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1025, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: ‘./sites’
anyone know where the error is?