Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pymongo has to be manually installed #1891

Open
Mapel opened this issue Dec 19, 2023 · 1 comment
Open

pymongo has to be manually installed #1891

Mapel opened this issue Dec 19, 2023 · 1 comment

Comments

@Mapel
Copy link

Mapel commented Dec 19, 2023

I followed this manual for deployment: https://docs.alerta.io/gettingstarted/tutorial-1-deploy-alerta.html on Ubuntu 22.04, but got this error:

Dec 19 14:03:47 alerttest alertad[6560]: File "/opt/alerta/lib/python3.10/site-packages/alerta/database/base.py", line 43, in load_backend Dec 19 14:03:47 alerttest alertad[6560]: raise ImportError(f'Failed to load {backend} database backend') Dec 19 14:03:47 alerttest alertad[6560]: ImportError: Failed to load mongodb database backend

After some searching I found this old issue, where the error was the missing psycopg2-binary package.
I tried to install pymongo manually and this solved the problem.

Please add pymongo as a dependency for automatic installation or add an instruction for it to the deployment manual.

@hyberdk
Copy link
Contributor

hyberdk commented Dec 20, 2023

you are more than welcome to make a PR with the updated steps ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants