When I try to create new app in version 14 OVA then getting this error.
I have downloaded OVA from this URL: OVA File for ERPNext Version 14 - #2 by stepsibg
frappe@oclits:~/frappe-bench$ bench new-app test-app
App Title [Pro]: test app
App Description: Test App
App Publisher: AT
App Email: test@gmail.com
App License [MIT]:
Create GitHub Workflow action for unittests [y/N]: n
‘pro’ created at /home/frappe/frappe-bench/apps/pro
Installing test-app
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/pro
$ bench build --app pro
Application Assets Linked
yarn run v1.22.19
$ node esbuild --production --apps pro --run-build-command
File Size
DONE Total Build Time: 528.097ms
clean: postcss.plugin was deprecated. Migration guide:
Done in 1.22s.
$ supervisorctl restart frappe:
error: <class ‘PermissionError’>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 560
ERROR:
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
File “/usr/local/lib/python3.10/dist-packages/bench/cli.py”, line 127, in cli
bench_command()
File “/usr/lib/python3/dist-packages/click/core.py”, line 1128, in call
return self.main(*args, **kwargs)
File “/usr/lib/python3/dist-packages/click/core.py”, line 1053, in main
rv = self.invoke(ctx)
File “/usr/lib/python3/dist-packages/click/core.py”, line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib/python3/dist-packages/click/core.py”, line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib/python3/dist-packages/click/core.py”, line 754, in invoke
return __callback(*args, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/bench/commands/make.py”, line 181, in new_app
new_app(app_name, no_git)
File “/usr/local/lib/python3.10/dist-packages/bench/app.py”, line 529, in new_app
install_app(app, bench_path=bench_path)
File “/usr/local/lib/python3.10/dist-packages/bench/app.py”, line 577, in install_app
bench.reload()
File “/usr/local/lib/python3.10/dist-packages/bench/utils/render.py”, line 126, in wrapper_fn
return fn(*args, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/bench/bench.py”, line 150, in reload
restart_supervisor_processes(bench_path=self.name, web_workers=web)
File “/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py”, line 304, in restart_supervisor_processes
bench.run(f"{sudo}supervisorctl restart {group}")
File “/usr/local/lib/python3.10/dist-packages/bench/bench.py”, line 47, in run
return exec_cmd(cmd, cwd=cwd or self.cwd)
File “/usr/local/lib/python3.10/dist-packages/bench/utils/init.py”, line 155, in exec_cmd
raise CommandFailedError