Bench Update Issues

Hi All,

I am running ERPNext 6.27.6 and Frappe Framework 6.27.7
I tired doing bench update, it is showing an error, It mentions to install update even after doing so the error seems to come. I am running this on a Ubuntu Server 14.04.

Am I missing something?

INFO:bench.utils:updating bench
Already up-to-date.
Traceback (most recent call last):
File “./env/bin/pip”, line 11, in
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/”, line 215, in main
locale.setlocale(locale.LC_ALL, ‘’)
File “/home/frappe/frappe-bench/env/lib/python2.7/”, line 579, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Please install these dependencies using the command:
sudo apt-get install -y libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==2.0.0’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/bench-repo/bench/”, line 40, 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/frappe/bench-repo/bench/commands/”, line 61, in update
_update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
File “/home/frappe/bench-repo/bench/commands/”, line 74, in _update
before_update(bench=bench_path, requirements=requirements)
File “/home/frappe/bench-repo/bench/”, line 624, in before_update
validate_pillow_dependencies(bench, requirements)
File “/home/frappe/bench-repo/bench/”, line 632, in validate_pillow_dependencies
exec_cmd(“{pip} install Pillow”.format(pip=pip))
File “/home/frappe/bench-repo/bench/”, line 100, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip install Pillow

Hi, this is a known issue, refer to this:

1 Like

Will do.

Thank you