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 site1.com 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/xmlrpc.py line: 560
Os is Ubuntu server 22.04 LTS.
I can swear that setup using the above command has worked before.