Open laissezfarrell opened 9 years ago
Hi Matthew - sfm will attempt to write a new filterstream configuration file in the sfm-specific supervisor.d directory in response to additions or edits to a twitter filter like this (and will attempt to delete same upon filter deletion). The process owning sfm will need to have appropriate permissions on that directory. Can you verify that that's true in this case?
Reading the traceback more closely and seeing the xmlrpc POST in there, on second thought the permissions issue looks more likely to be at the moment sfm attempts to communicate with supervisord to send it a signal to kick off the process. /etc/supervisor/supervisord.conf
has variables for defining permissions on the socket for this up at the top of the default file; it might be that that's the issue.
Some more description and setup suggestions for this are detailed at:
http://social-feed-manager.readthedocs.org/en/latest/supervisor_and_streams.html
Let us know what you find. We probably need to improve our docs on this.
Getting the following error when adding a twitter filter in the Admin UI.
I am able to still add new twitter users so am not exactly sure why I'm seeing this.
Environment:
Request Method: POST Request URL: http://127.0.0.1:8000/admin/ui/twitterfilter/add/
Django Version: 1.6.10 Python Version: 2.7.6 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.humanize', 'social_auth', 'south', 'ui') Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware')
Traceback: File "/home/bcadmin/social-feed-manager/ENV/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
Exception Type: error at /admin/ui/twitterfilter/add/ Exception Value: [Errno 13] Permission denied