Unable to load the desk after the update werkzeug.exceptions

Thanks @root13F, I hope what you are pointing at is true and if at all its really an issue with bench but after I did check the code history then I found out that this file has no changes since Aug 16, which means that the problem should not be with this command.

@trentmu When I try to run this command I am getting the below error:

frappe@erpnext:~$ sudo supervisorctl restart all
sudo: supervisorctl: command not found
frappe@erpnext:~$ sudo su -
root@erpnext:~# supervisorctl restart all
The program 'supervisorctl' is currently not installed. You can install it by typing:
apt install supervisor

Now the problem is that the bench was running perfectly well before sometime ago and then how come the supervisorctl is now gone, I haven’t uninstalled it or anything, but anyways I did go through and installed supervisor again and then

bench setup supervisor and then again bench update which gave this output

Building erpnext assets...

✔ Built js/erpnext-web.min.js
✔ Built js/item-dashboard.min.js
✔ Built js/erpnext.min.js
✔ Built css/erpnext-web.css
✔ Built css/marketplace.css
✔ Built css/erpnext.css
✔ Built js/marketplace.min.js
✨  Done in 10.705s
Done in 47.15s.
[sudo] password for frappe:
INFO:bench.utils:sudo supervisorctl restart frappe:
frappe: ERROR (no such group)
frappe: ERROR (no such group)
________________________________________________________________________________
Bench: Deployment tool for Frappe and ERPNext (https://erpnext.org).
Open source depends on your contributions, so please contribute bug reports, patches, fixes or cash and be a part of the community
()

So basically these are steps which worked on my case but the surprising thing is that why and how did the supervisor got uninstalled since I had only run bench update