Error after bench update, ubuntu-20.04 with erpnext 13.17.0 & frappe 13.17.1

Dear Gurus,
In a fresh installation when i used bench update ended up as below. but site running fine sofar. version details on ubuntu 20.04

erpnext 13.17.0
frappe 13.17.1

Production mode
:heavy_check_mark: Built js/moment-bundle.min.js
:heavy_check_mark: Built js/libs.min.js

Building erpnext assets…

:heavy_check_mark: Built js/erpnext-web.min.js
:heavy_check_mark: Built js/bank-reconciliation-tool.min.js
:heavy_check_mark: Built js/item-dashboard.min.js
:heavy_check_mark: Built js/e-commerce.min.js
Killed
error Command failed with exit code 137.
info Visit yarn run | Yarn for documentation about this comm and.
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.8/runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “/home/[user]/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 104, in
main()
File “/home/[user]/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 19, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/[user]/frappe-bench/env/lib/python3.8/site-packages/click/core. py”, line 829, in call
return self.main(*args, **kwargs)
File “/home/[user]/frappe-bench/env/lib/python3.8/site-packages/click/core. py”, line 782, in main
rv = self.invoke(ctx)
File “/home/[user]/frappe-bench/env/lib/python3.8/site-packages/click/core. py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/[user]/frappe-bench/env/lib/python3.8/site-packages/click/core. py”, line 1259, in invoke
return process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/[user]/frappe-bench/env/lib/python3.8/site-packages/click/core. py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/[user]/frappe-bench/env/lib/python3.8/site-packages/click/core. py”, line 610, in invoke
return callback(*args, **kwargs)
File “/home/[user]/frappe-bench/apps/frappe/frappe/commands/utils.py”, line 44, in build
frappe.build.bundle(
File “/home/[user]/frappe-bench/apps/frappe/frappe/build.py”, line 248, in bundle
frappe.commands.popen(command, cwd=frappe_app_path, env=get_node_env(), rais e_err=True)
File “/home/[user]/frappe-bench/apps/frappe/frappe/commands/init.py”, l ine 93, in popen
raise subprocess.CalledProcessError(return
, command)
subprocess.CalledProcessError: Command ‘/usr/bin/yarn run production --skip_frap pe’ returned non-zero exit status 137.
[sudo] password for [user]:
$ sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
frappe-bench-workers:frappe-bench-frappe-schedule: stopped
frappe-bench-workers:frappe-bench-frappe-default-worker-0: stopped
frappe-bench-workers:frappe-bench-frappe-short-worker-0: stopped
frappe-bench-workers:frappe-bench-frappe-long-worker-0: stopped
frappe-bench-web:frappe-bench-node-socketio: stopped
frappe-bench-web:frappe-bench-frappe-web: stopped
frappe-bench-workers:frappe-bench-frappe-schedule: started
frappe-bench-workers:frappe-bench-frappe-default-worker-0: started
frappe-bench-workers:frappe-bench-frappe-short-worker-0: started
frappe-bench-workers:frappe-bench-frappe-long-worker-0: started
frappe-bench-web:frappe-bench-frappe-web: started
frappe-bench-web:frappe-bench-node-socketio: started


Would appreciate if you pls suggest anything can be done for future bench update command

Regards…

try running the update with reset…

bench update --reset

1 Like