then you require to generate one and link it up through supervisor service, since I using Fedora it may different than yours , just for your reference only.
and supervisor service can’t execute directly through root in Fedora, I not sure how about on ubuntu or Debian, here is my control for your reference in /etc/group
this can allow me to use systemctl to manage supervisor service
oh not enough, I still require to take supervisor pid to correct permission in supervisor.conf files
like this:
Thanks, I’m using Ubuntu 20.04. The extension is .conf it seems.
But I’m not clear on the path you have. Where is the ‘config’ directory? I guess that is in frappe-bench right?
So in that directory (home/myerpnext/frappe-bench/config) I have the conf file “supervisor.conf”
And in /etc/supervisor/conf.d/ I have a symbolic link titled “frappe-bench.conf” that points to the file in the /home/myerpnext/frappe-bench/config file.
Thank you so much for all of your support! I finally figured it all out. Somehow my symbolic link to the frappe-bench.conf file in the supervisor directory had been deleted. I messed a few other things up along the way but finally managed to get them all repaired last night.
Then, this morning I was trying to figure out why supervisor was not running and I noticed I had copied pasted the symbolic link creation command but did not correct some information in the path! Oh no! The title of my ERPNext instance is part of the path.
So, I had a symbolic link pointing to something that didn’t exist.
I fixed the link and then ran the following commands and finally I have everything running again.
sudo supervisorctl stop all
sudo supervisorctl start all
Whew! I don’t know why this happened just because the power went out. Hopefully it won’t happen again or, if it does, hopefully I’ll remember how to fix it.
Good to hear you have solved the problem.
I mostly don’t use the name frappe-bench for the installation I did. So your mistake happened to me several times. Forget to change the name of the bench when pasting the command
Thanks I’ve just realized that by solving my ERPNext problem, somehow I introduced a new problem. My three other applications running through Nginx are now inaccessible. If I remove the config for ERPNext those sites are available but with the ERPNext config they are inaccessible.
I guess I need to adjust something in that ERPNet config…not sure what though. Any ideas?