ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Restore bench update error


#1

Getting this on a server where os was upgraded and ERPNext stopped working. Trying to run bench update to start the restore process and getting this:
Installing collected packages: Pillow
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: ‘/home/frappe/frappe-bench/env/lib/python2.7/site-packages/PIL’
Consider using the --user option or check the permissions.


#2

Are you logged in as frappe?

Kind regards,


#3

yes have tried resetting permissions also any suggestions greatly appreciated don’t want to have to delete and reinstall.


#4

the version was updated in November why is it only showing version 4?
bench --version
4.1.0


#5

these are already installed yet still get above error:
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