I’m trying to install my ERPnext on my raspberrypi 3A+ using the tutorial posted by @bkm but whenever I reach the “bench init --frappe-branch version-13 frappe-bench” part, I get a “bench.exceptions.CommandError”. What is the meaning of this error and how do I resolve it?
Traceback (most recent call last):
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/commands/make.py”, line 70, in init
init(
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/utils/render.py”, line 95, in wrapper_fn
return fn(*args, **kwargs)
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/utils/system.py”, line 78, in init
get_app(
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/app.py”, line 371, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/utils/render.py”, line 110, in wrapper_fn
return fn(*args, **kwargs)
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/app.py”, line 198, in install
install_app(
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/app.py”, line 422, in install_app
bench.run(f"{bench.python} -m pip install {quiet_flag} --upgrade -e {app_path} {cache_flag}")
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/bench.py”, line 43, in run
return exec_cmd(cmd, cwd=cwd or self.cwd)
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/utils/init.py”, line 126, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError
hello, i think the issue is related to your OS, maybe a tool like git, curl or supervisorctl doesn’t exist or broken on your system, afaik RP is arch64 device so maybe a tool which bench require is not compiled for this arch cpu
the error log should also output which command did fail on the top of this line “Traceback (most recent call last):” something like this “$ supervisorctl restart frappe:” and then you can check or try that command directly to understand why it fail
Perhaps its my OS since only “supervisorctl” was missing and after installing, upgrade and reboot; I still get this error:
Traceback (most recent call last):
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/commands/make.py”, line 70, in init
init(
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/utils/render.py”, line 95, in wrapper_fn
return fn(*args, **kwargs)
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/utils/system.py”, line 78, in init
get_app(
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/app.py”, line 371, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/utils/render.py”, line 110, in wrapper_fn
return fn(*args, **kwargs)
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/app.py”, line 198, in install
install_app(
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/app.py”, line 422, in install_app
bench.run(f"{bench.python} -m pip install {quiet_flag} --upgrade -e {app_path} {cache_flag}")
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/bench.py”, line 43, in run
return exec_cmd(cmd, cwd=cwd or self.cwd)
File “/home/ubuntu/.local/lib/python3.8/site-packages/bench/utils/init.py”, line 126, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError