traccar-3.6 and Postgres

hans8 years ago

Hi,

does traccar server 3.6 work with Postgres? I have followed the Manual installation instructions and changed the database configuration according to the PostgreSQL page, but I see this message when starting the the server:

[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Started.
[main] INFO com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Driver does not support get/set network timeout for connections. (Method org.postgresql.jdbc.PgConnection.getNetworkTimeout() is not yet implemented.)
INFO 8/8/16 5:16 AM: liquibase: Clearing database change log checksums
INFO 8/8/16 5:16 AM: liquibase: Successfully acquired change log lock
INFO 8/8/16 5:16 AM: liquibase: Creating database history table with name: public.databasechangelog
INFO 8/8/16 5:16 AM: liquibase: Successfully released change log lock
INFO 8/8/16 5:16 AM: liquibase: Successfully acquired change log lock
INFO 8/8/16 5:16 AM: liquibase: Successfully released change log lock
Exception in thread "main" liquibase.exception.UnknownChangelogFormatException: Cannot find parser that supports [CHANGELOG]
    at liquibase.parser.ChangeLogParserFactory.getParser(ChangeLogParserFactory.java:70)
    at liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:228)
    at liquibase.Liquibase.update(Liquibase.java:202)
    at liquibase.Liquibase.update(Liquibase.java:192)
    at liquibase.Liquibase.update(Liquibase.java:188)
    at org.traccar.database.DataManager.initDatabaseSchema(DataManager.java:291)
    at org.traccar.database.DataManager.<init>(DataManager.java:88)
    at org.traccar.Context.init(Context.java:136)
    at org.traccar.Main.main(Main.java:30)

Any help would be appreciated!

Thanks,
Hans

hans8 years ago

Sorry for the noise - I could fix my problem by carefully looking at the configuration file and replacing all instances of [FOO] placeholders with full paths to the respective directories in the traccar installation directory.

-Hans

Anton Tananaev8 years ago

Original error seems to be related to parsing changelog files, not database connection. Are you sure there were no other issues?

hans8 years ago

Anton, thanks for getting back. I've solved the problem, which was caused by the configuration being incompletely adapted to my local machine.

Traccar is nice, thanks!

-Hans