Bench V13 setup production supervisor failure


I just setup a new V13 frappe/erpnext environment with bench as follows:

#Installed requirements and setup mysql database config

sudo pip3 install frappe-bench --quiet
sudo usermod -a -G frappe www-data #Allow www user to cd into ernext folders
bench get-app erpnext --branch version-13 --init-bench
cd erpnext-bench
bench new-site
sudo bench setup production frappe

After this when I try to use any sopervisor commands I end up with the following permission error:

sudo systemctl reload supervisor.service 
supervisorctl restart all
error: <class 'PermissionError'>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/ line: 560

Os is Ubuntu server 22.04 LTS.

I can swear that setup using the above command has worked before.

did you tried to reboot the server and tried the same.
reboot the server it will automatically turn on the supervisor.
check the site whether it is up or not.