OPTIONAL: Remove foundation and frappe_io apps (run only if they exist in your bench’s app directory):
bench remove-app frappe_io
bench remove-app foundation
IMPORTANT: Please clear your browser’s cache too: Ctrl + Shift + R
If after clearing your browser cache you cannot see the chat icon (v11), run bench build and clear cache again.
/frappe-bench$ bench update --upgrade
Usage: bench update [OPTIONS]
Try "bench update --help" for help.
Error: no such option: --upgrade
$ bench update --help
Usage: bench update [OPTIONS]
Update bench
Options:
--pull Pull changes in all the apps in bench
--patch Run migrations for all sites in the bench
--build Build JS and CSS artifacts for the bench
--bench Update bench
--requirements Update requirements
--restart-supervisor restart supervisor processes after update
--restart-systemd restart systemd units after update
--auto
--no-backup
--force
--reset Hard resets git branch's to their new states
overriding any changes and overriding rebase on pull
--help Show this message and exit.
even though this is the same as in the config file of frappe it is still not working out
~/frappe-bench$ bench switch-to-branch master erpnext --upgrade
fatal: Invalid refspec '+refs/heads/staging:refs/remotes/upstream/*'
Branch master does not exist in Upstream for erpnext
Switched to master
Please run `bench update --patch` to be safe from any differences in database schema