How to upgrade

First, change branch
cd /erpnext/directory/frappe-bench/
bench switch-to-branch develop --upgrade
Then patch
bench update --patch
If not works, try reset
bench update --reset

If can't connect to redis or other, bench start first! (on another shell or screen)