Sentry 20 !! Configuration error: ImportError: No module named ldap
See original GitHub issueI have installed Sentry using https://github.com/getsentry/sentry/releases/tag/20.9.0 I have started ./install.sh
to prepare the environment and docker-compose up -d
to start sentry.
My $SENTRY_INSTALL_DIR/sentry/requirements.txt
:
# Add plugins here
sentry-ldap-auth
Also, I have appended $SENTRY_INSTALL_DIR/sentry/sentry.conf.py
with required configuration, but after I am starting sentry I am getting:
ingest-consumer_1 | !! Configuration error: ImportError: No module named ldap
post-process-forwarder_1 | !! Configuration error: ImportError: No module named ldap
worker_1 | !! Configuration error: ImportError: No module named ldap
cron_1 | !! Configuration error: ImportError: No module named ldap
web_1 | !! Configuration error: ImportError: No module named ldap
It seems that the plug-in is not being installed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
django_auth_ldap no module named ldap - Stack Overflow
I am trying to get the django_auth_module working but I don't think I managed to install it properly. I downloaded the package and...
Read more >Struggling with LDAP auth - Google Groups
... import ldap_config as LDAP_CONFIG from the try/except block to have it executed directly, I get the error. ModuleNotFoundError: No module named 'ldap'....
Read more >The solution to the error “ImportError: No module named ldap”
Installed iRedMail on Ubuntu Server in February 2016 and noticed an error when trying to send a message via Roundcube:.
Read more >995545 – python-ldap needs python-pyasn1-modules
Description of problem: python-ldap needs python-pyasn1-modules Version-Release number ... import LDAPDN ImportError: No module named pyasn1_modules.rfc2251.
Read more >Bug listing with status CONFIRMED as at 2022/12/20 18:46:38
config file verification" status:CONFIRMED resolution: severity:enhancement ... Bug:145580 - "sci-biology/bioperl: tests require several perl modules not in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have managed to install the plugin.
First thing I had to include dependencies to
$SENTRY_INSTALL_DIR/sentry/Dockerfile
Then I had to run
docker-compose build
And after that, I have started up the sentry again withdocker-compose up -d
No sorry. My customer decided to migrate to the cloud, so I have not upgraded on-prem to the latest versions.