When I create a new app by bench new-app abc.com, this app is made in the apps folder the terminal will run: supervisorctl restart frappe
Error occurs: <class ‘PermissionError’>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 560
I checked in erpnext forum but there is no solution.
Is there any way to fix that?
What have you done to troubleshoot? Did you check permissions on the file in question?
Can you try the same with sudo?
I know this isn’t the best solution but it works
@Duc_Nguyen Please follow this.
add this your frappe’s user under this section. in
file = /var/run/supervisor.sock ; (the path to the socket file)
chmod = 0760
chown = frappe:frappe; this is you user name.
restart supervisor service.
sudo service supervisor restart