15๐
โ
I added my username to the superisord.conf file under the [unix_http_server]
section like so:
[unix_http_server]
file=/var/run/supervisor.sock ; (the path to the socket file)
chmod=0700 ; sockef file mode (default 0700)
chown=appuser:supervisor ;(username:group)
This seemed to work- time will tell if it continues working after I manage solve the rest of the supervisor issues.
๐คAdam Starrh
6๐
Adding more to Adamโs solution.
you need to give the group permissions to read/write to the socket too.
[unix_http_server]
file=/var/run/supervisor.sock ; (the path to the socket file)
chmod=0770 ; sockef file mode (default 0700)
chown=appuser:supervisor ;(username:group)
- Docker Django could not connect to server: Connection refused
- Passing an argument to a custom save() method
- POST with None data in Request Factory in Django
- Htaccess on heroku for django app
- Django Authentication Mongodb
0๐
I tried the provided answers but the problem was not solved.
Finally, I used ;
to comment the following line, and the problem was solved.
; logfile=/tmp/supervisord.log ; main log file; default $CWD/supervisord.log
๐คs.abbaasi
- Django Rest Framework 3 Serializers on non-Model objects?
- Multiple default values specified for column "id" of the table
- Is it possible to make a mobile app in Django?
- Logging Django SQL queries with DEBUG set to False
- Django: Check if foreign key attribute is set
Source:stackexchange.com