Bench update stop working today :(

I update the production server using bench update. I got this error.

Command "python setup.py egg_info" failed with error code -11 in /home/deploy/frappe-bench/env/src/pdfkit
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench==0.92', 'console_scripts', 'bench')()
  File "/home/deploy/bench-repo/bench/cli.py", line 60, in cli
    bench()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/home/deploy/bench-repo/bench/cli.py", line 241, in _update
    update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
  File "/home/deploy/bench-repo/bench/cli.py", line 259, in update
    update_requirements(bench=bench_path)
  File "/home/deploy/bench-repo/bench/utils.py", line 361, in update_requirements
    exec_cmd("{pip} install -q -r {req_file}".format(pip=pip, req_file=req_file))
  File "/home/deploy/bench-repo/bench/utils.py", line 105, in exec_cmd
    raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip install -q -r ./apps/frappe/requirements.txt

Is your bench update working properly? Any idea idea why?

@rmehta after your merge. Its now working. Thanks!

``
remote: Counting objects: 38, done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 38 (delta 15), reused 1 (delta 0), pack-reused 0
Unpacking objects: 100% (38/38), done.
From https://github.com/frappe/frappe
9060e50ā€¦9110268 master -> upstream/master
efa5d5cā€¦9110268 develop -> upstream/develop

  • [new tag] v6.18.1 -> v6.18.1
  • [new tag] v6.18.0 -> v6.18.0
    INFO:bench.utils:setting up sudoers

@ccfiel you must have merged right between releases!

1 Like