Bench update stop working today :(

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

Command "python 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/", line 60, in cli
  File "/usr/local/lib/python2.7/dist-packages/click/", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 534, in invoke
    return callback(*args, **kwargs)
  File "/home/deploy/bench-repo/bench/", line 241, in _update
    update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
  File "/home/deploy/bench-repo/bench/", line 259, in update
  File "/home/deploy/bench-repo/bench/", 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/", 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 GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
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