-
Notifications
You must be signed in to change notification settings - Fork 11
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
ADO don't find db drivers on fedora #28
Comments
It's hard to explain exactly what's your issue without having your sources... The generated server uses the generic database driver You have two solutions:
The generated server comes with some default configuration file that you can change. It should have generated a If that's the case, then you may try to change the |
Thanks. I've finally find a way by editing the alire configuration index files in :
It need to be done for mysql, mariadb, sqlite and openssl but i'm not sure that is a good idea doing that this way cause "alire" need a lot of time to resolve the dependences. but it works. the second thing, you're right i've modified demo.properties and the property database... my mistake, it's not "postgres://" but "postgresql://" but it was a last try before to post my message, so not really the problem. Now the driver seems to work but when i start the server i've an error cause the bdd doesn't exist... I was thinking dynamo create it when "create-project"... I've tried to create an empty bdd manually, but that was not a good idea, i've some SQL errors :
Errors are in French but the idea is "relation doesn't exist"... normal, but what's the next step ?? create a database with dynamo ? In your different examples it seems you can start the server and access the web index page without that kind of problem. Not sure to understand how to start a simple project finally :/ |
The Alire libpq package is maintained by Maxime Reznik. May be you can open a problem report on Alire project https://github.com/alire-project/alire/issues and you can also submit a pull request on the Alire index project to fix that. My Fedora virtual machine is not up to date and I've never used Alire on it. For the database creation, it's not easy for MySQL and PostgreSQL since it requires some root access to create the database itself. There is a Now, the server also contains a number of commands that you can use. You can try the Depending on what you want to do, it may be easier to use SQLite as database since this solves the MySQL/PostgreSQL server access issue (with all the user creation, grant access and so on). You can run the server with the |
Some links that may help you: |
It guess there is a typo, a " is missing and it should probably be:
|
Ok, i'll report the issue to the alire project. I've tried to run the server with "setup" but it stop with: Trying with sqlite -> same error
resulting with a redirection to |
The I think you should run (this step is missing in my original description which is my mistake):
this will update the
You can then run with the
If this does not work, edit the
|
That's it ! |
Hello,
I've installed AWA with Alire, but it seems Ado can't find dependencies for :
I'm sure i've installed all the package needed and follow your instruction on your blog to make a test:
but when i start the server i still have :
Some internal error occurred: Exception ADO.CONFIGS.CONNECTION_ERROR: Database driver 'postgres' not found
Something i missed ??
The text was updated successfully, but these errors were encountered: