Installed ERPNext in a blank Ubuntu server 16.04 using Easy Install script (production). Installation successful but when trying to install multi tenant (https://frappe.github.io/frappe/user/en/bench/guides/setup-multitenancy.html) got the following error after typing “bench new-site tenant1”
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/.bench/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/frappe/.bench/bench/commands/config.py”, line 40, in config_dns_multitenant
update_config({‘dns_multitenant’: state})
File “/home/frappe/.bench/bench/config/common_site_config.py”, line 46, in update_config
put_config(config, bench_path=bench_path)
File “/home/frappe/.bench/bench/config/common_site_config.py”, line 40, in put_config
with open(config_path, ‘w’) as f:
IOError: [Errno 2] No such file or directory: ‘./sites/common_site_config.json’