Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hello

I want to install knowage manually without using the installer in order to make it in docker .I tried to follow the same steps in docker bi but when i launch it i had this error

 unable to update database waiting 10 seconds
[INFO] - updating database
Unexpected error running Liquibase: org.postgresql.util.PSQLException: The connection attempt failed.

SEVERE 7/21/17 12:24 PM: liquibase: org.postgresql.util.PSQLException: The connection attempt failed.
liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: org.postgresql.util.PSQLException: The connection attempt failed.
    at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:143)
    at liquibase.integration.commandline.Main.doMigration(Main.java:915)
    at liquibase.integration.commandline.Main.run(Main.java:180)
    at liquibase.integration.commandline.Main.main(Main.java:99)
Caused by: liquibase.exception.DatabaseException: org.postgresql.util.PSQLException: The connection attempt failed.
    at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:247)
    at liquibase.database.DatabaseFactory.openDatabase(DatabaseFactory.java:151)
    at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:85)
    ... 3 more
Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:233)
    at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
    at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:144)
    at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)
    at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)
    at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31)
    at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
    at org.postgresql.Driver.makeConnection(Driver.java:410)
    at org.postgresql.Driver.connect(Driver.java:280)
    at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:239)
    ... 5 more
Caused by: java.net.UnknownHostException: db
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at org.postgresql.core.PGStream.<init>(PGStream.java:61)
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:109)
    ... 14 more

For more information, use the --logLevel flag
[ERROR] - spagobi unable to update database tried 5 time
avencall@proxy:~/packaging-master-4991081d8aac66bc963728038332d0d967b1eddc/spagobi/docker$

Can you give me steps.thanks 

Environment Tomcat
in Installer by (560 points)
Please, edit your question and provide more information. It is not clear how you are trying to achieve this docker installation. Are you starting from scratch? I see a reference to spagobi in the logs. Please explain your attempt of installation step by step.
Thank you I solved the issue
If you solved the issue, I would encourage you to answer the question, so that other people can benefit of your experience.

1 Answer

0 votes
The problem was that i was launching knowage docker only without connecting it to a database.In order to solve the problem I used docker compose to launch tomcat server simultaneously with the database
by (560 points)

can you please share the steps you follow to install knowage on docker manually smiley

Please share the details how you solved the issue?
Please share the docker compose file
...