I’m using the production mode,
I started bench successfully,
but the site folder is empty, and I can’t visit my site, nginx error. Error: ENOENT: no such file or directory, stat '/home/Goodwin/frappe-bench/index.html' at Error (native)
what have I missing?thanks.
update
I re-init the frappe-bench, and manually do the settings, then fixed the problem.thanks
I have get-app manually, but it still can’t work.
[root@iZbp1dbycplpp4s9nfgrz9Z frappe-bench]# 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
/bin/sh: /home/Goodwin/frappe-bench/env/bin/frappe: 没有那个文件或目录
Traceback (most recent call last):
File “/usr/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/Goodwin/.bench/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/lib64/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/lib64/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/lib64/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib64/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib64/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/Goodwin/.bench/bench/commands/make.py”, line 56, in new_site
new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password)
File “/home/Goodwin/.bench/bench/utils.py”, line 150, in new_site
), cwd=os.path.join(bench_path, ‘sites’))
File “/home/Goodwin/.bench/bench/utils.py”, line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: /home/Goodwin/frappe-bench/env/bin/frappe site1.local --install 1bd3e0294d