ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 532 forks source link

Not working without corrections in requirements.txt #544

Open Nexulo opened 3 years ago

Nexulo commented 3 years ago

The installation via source code worked, but unfortunately I still could not use the application.

I could not establish a connection (500 internal server error). After that I found the problem comes from the Flask version defined in requirements.txt.

After some adjustments of the package versions I got it to work. The following is my new requirements.txt file:

jmespath==0.9.3

# Flask
Flask==2.0.2
Flask-restful==0.3.9
Flask-Script==2.0.6

# JSON serializer
flask-marshmallow==0.8.0
marshmallow-sqlalchemy==0.13.2
marshmallow==3.0.0b5

# requests
#urllib3<1.23
urllib3<1.23,>=1.21.1
requests>=2.0.0, <3.0.0

# Cache
dogpile.cache == 0.6.5

# Database
SQLAlchemy==1.3.0
Flask-SQLAlchemy==2.3.2
Flask-Migrate

# Testing
coverage == 4.5.4
nose == 1.3.4
Flask-Testing
pytest==5.0.1
pytest-cov==2.7.1
pytest-ordering==0.6
pytest-docker-compose==3.0.0
pytest-html==1.22.0

# Scheduler
apscheduler==3.5.0
Flask-APScheduler== 1.7.1

# Socket
python-engineio==3.0.0
python-socketio==2.1.0
Flask-SocketIO==3.1.0
eventlet==0.25.0

# Production
gunicorn==19.7.1

# Elasticsearch
six==1.11.0
python-dateutil==2.7.2

hope this helps someone.

T100D commented 3 years ago

Good job @maisen20 , its working over here now to after having not able to connect to ES clusters as described here: https://github.com/ElasticHQ/elasticsearch-HQ/issues/543

cu-18bcs1637 commented 2 years ago

Does this work with 8.x versions of elasticsearch?

I am using : Version: 8.1.0, Build: default/deb/3700f7679f7d95e36da0b43762189bab189bc53a, JVM: 17.0.2