getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.65k stars 4.04k forks source link

Generic integration plugins aren't rendering #3759

Closed holys closed 8 years ago

holys commented 8 years ago

image

Sentry version:  8.6.0
Python: 2.7.11 (default, Jun 29 2016, 12:22:42) 
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]

Installed App:

('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', 'captcha', 'crispy_forms', 'debug_toolbar', 'raven.contrib.django.raven_compat', 'rest_framework', 'sentry', 'sentry.nodestore', 'sentry.search', 'sentry.lang.javascript', 'sentry.lang.native', 'sentry.plugins.sentry_interface_types', 'sentry.plugins.sentry_mail', 'sentry.plugins.sentry_urls', 'sentry.plugins.sentry_useragents', 'sentry.plugins.sentry_webhooks', 'social_auth', 'south', 'sudo', 'sentry_xmail', 'sentry_xsms')

When I click the url http://shopapi.sentry.b2c.srv/sentry/internal/settings/plugins/xmail/ manually, it redirects to http://shopapi.sentry.b2c.srv/sentry/internal/settings/

naglis commented 8 years ago

Hi @holys,

we had a very similar issue (see #3321). Please check if you are not reassigning the SENTRY_FEATURES dict in your sentry.conf.py configuration file. Instead you should just update it.

holys commented 8 years ago

@naglis I did reassign SENTRY_FEATURES dict in my sentry.conf.py, and when I remove it(and restart), the plugins page works greatly. But how can I do something like SENTRY_ALLOW_REGISTRATION ?

naglis commented 8 years ago

You can just update the dict. SENTRY_ALLOW_REGISTRATION is now deprecated in favor of SENTRY_FEATURES['auth:register'], so you can add something like this to your sentry.conf.py:

SENTRY_FEATURES['auth:register'] = False
holys commented 8 years ago

@naglis Got it, thanks.