elasticsearch-HQ icon indicating copy to clipboard operation
elasticsearch-HQ copied to clipboard

Not working without corrections in requirements.txt

Open maisen20 opened this issue 2 years ago • 2 comments

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.

maisen20 avatar Nov 16 '21 08:11 maisen20

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

T100D avatar Nov 22 '21 09:11 T100D

Does this work with 8.x versions of elasticsearch?

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

cu-18bcs1637 avatar Mar 23 '22 05:03 cu-18bcs1637