I’m using the frappe user. I get this error when I use bench start
[ERROR] Procfile does not exist or is not a file
If I use sudo bench start
[sudo] password for frappe:
frappe is not in the sudoers file. This incident will be reported.
I tried to follow this (Bench start error) and use the command bench setup procfile but ended up with this:
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 764, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/frappe/.bench/bench/commands/setup.py”, line 145, in setup_procfile
setup_procfile(‘.’)
File “/home/frappe/.bench/bench/config/procfile.py”, line 19, in setup_procfile
with open(procfile_path, ‘w’) as f:
IOError: [Errno 13] Permission denied: ‘./Procfile’
If I use sudo bench setup procfile
[sudo] password for frappe:
frappe is not in the sudoers file. This incident will be reported.