-
Notifications
You must be signed in to change notification settings - Fork 194
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
The forms-flow-analytics component crashes #149
Comments
@zmezei-proxifile what is the operating system you are using? Is your system meeting per-requisities of the system to have greater than 16GB RAM? I was able to get the redash while running the same commands you mentioned to setup the redash logs. Yet a colleague of mine faced same issues when bring forms-flow-analytics component up in their system. We are looking more into it. |
@kurianbenoy-aot - there are two systems I've tried to test on:
I've tried to increase the memory from 16 GB to 32 GB on the server machine, but it didn't help:
Please note that we have a different server that we set up earlier, and that one runs this component properly on 32 GB of RAM, so I don't think the memory is the issue here. I suspect maybe some upstream dependencies have changed? Unfortunately I'm not familiar enough with redash to have a better guess. |
@zmezei-proxifile it looks like an environmental issue reported by Redash team.
A temporary fix which worked for my colleague was by changing line 5 in the docker-compose file as |
I can confirm I was able to build the DB using the official redash/redash:latest image:
However with this image the scheduler can't start properly:
This can be resolved by changing the entrypoint from I hope this can be fixed permanently soon, as I suspect we'll get some CORS errors with the official Redash image as the documentation mentions. |
You can continue with the rest of formsflow.ai setup, without using analytics. In the upcoming version, we are planning to upgrade to latest version of Redash v10(stable), as soon as it's released(which is expected in a week or two).
Yes you will run into CORS issues when connecting analytics component with formsflow.ai. We will see what we can do and let you know. |
@zmezei-proxifile we have patched the forms-flow-analytics components issues temporarily in the branch: https://github.com/AOT-Technologies/redash.git#redash-139errorfix You can fix it with docker-compose update of line5 here by changing with below line:
We will be merging to master branch in a day or two as well. |
Merged to master branch as well |
Bug Report
Please provide information about your setup
Steps to Reproduce
sed "s/{your-ip-address}/localhost/g" sample.env > .env
sed "s/{your-ip-address}/localhost/g" sample.env > .env
echo -e "\n# Tuning parameters\nSQLALCHEMY_POOL_SIZE=32\nSQLALCHEMY_MAX_OVERFLOW=16" >> .env
Observed Behaviour
The command to set up the forms-flow-analytics component's database (
docker-compose -f docker-compose-linux.yml run --rm server create_db
) doesn't run successfully, and throws this error:The adhoc_worker process suffers from the same issue, and logs these messages:
Expected Behaviour
These services should run properly.
The text was updated successfully, but these errors were encountered: