Closed NaniteBased closed 3 years ago
Hello,
I see you're not using the releaseB tagged version, please use this one for the testing: https://github.com/5genesis/Dispatcher/tree/release_B
The Auth container might be crashing due to a corrupted db. Deleting the auth.db file could solve the problem
Hi,
True, I forgot to change and was on master
. But still, that branch is currently even with release_B
, so that should not be an issue... Nevertheless I have changed to the release B, removed auth.db and performed another install, but the error persists.
A bit more info on the issue:
auth.db
appeared under /auth, instead of the file.Hi Bruno,
I just tested the Dispatcher in a VM in the Malaga platform in a new installation from scratch and it works fine. I have no idea why would it fail in a different environment like Vagrant. I will try to find a solution to your problem but I cannot promise anything.
Which OS version are you using? I can try with the same to rule that out.
Ubuntu 18.04.3 LTS but it has been tested in Xenial as well
Indeed, it does the same on a Bionic box. I will let you know if I find anything, thanks.
Hi, it seems to be a problem with the latest versions of SQLAlchemy. I was able to make it work by adding SQLAlchemy<1.4.0
to the auth requirements, which gives you a version that is still compatible with Flask-SQLAlchemy
, but maybe there is a better solution.
SQLAlchemy v2.1 works fine in VM deployments but maybe for your case in Vagrant, downgrading the library version fixes your issues. I don't think doing so will raise extra issues so feel free to do it for your deployment.
Yes, I can just do that, what I meant is that it may not be the best solution in the general case.
Maybe it could be enough to add a small remark in the documentation: I also saw the problem with a normal VM under VirtualBox (without Vagrant) so maybe more people will find the issue, but for me it is ok to close the issue.
Alright, close the issue and I will add a note in the installation instructions for Vagrant and VBox
I tried to install the Dispatcher on a new machine, but the auth container restarts continuously with the following error:
The deployment is on a new Vagrant vm with the following configuration:
And the following commands have been run after starting the instance:
The other containers seem to start fine, except for the mano, which is not correctly configured (this is expected). Can you please check what is the issue?