I am having issues updating. Please see below log
frappe@erp:~/frappe-bench$ cd apps/erpnext/
frappe@erp:~/frappe-bench/apps/erpnext$ git reset --hard
Checking out files: 100% (4493/4493), done.
HEAD is now at 245c2e8 Merge branch 'hotfix'
frappe@erp:~/frappe-bench/apps/erpnext$ cd ../..
frappe@erp:~/frappe-bench$ bench update
INFO:bench.utils:updating bench
Already up-to-date.
/bin/sh: 1: ./env/bin/pip: not found
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 <module>
load_entry_point('bench==0.1', 'console_scripts', 'bench')()
File "/home/frappe/bench-repo/bench/cli.py", line 40, in cli
bench_command()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/frappe/bench-repo/bench/commands/update.py", line 62, in update
_update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force, reset=reset)
File "/home/frappe/bench-repo/bench/commands/update.py", line 75, in _update
before_update(bench_path=bench_path, requirements=requirements)
File "/home/frappe/bench-repo/bench/utils.py", line 632, in before_update
validate_pillow_dependencies(bench_path, requirements)
File "/home/frappe/bench-repo/bench/utils.py", line 640, in validate_pillow_dependencies
exec_cmd("{pip} install Pillow".format(pip=pip))
File "/home/frappe/bench-repo/bench/utils.py", line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip install Pillow
frappe@erp:~/frappe-bench$ 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
[sudo] password for frappe:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libjpeg8-dev is already the newest version.
python-tk is already the newest version.
tcl8.6-dev is already the newest version.
tk8.6-dev is already the newest version.
zlib1g-dev is already the newest version.
libfreetype6-dev is already the newest version.
liblcms2-dev is already the newest version.
libtiff5-dev is already the newest version.
libwebp-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 275 not upgraded.