Analytics plugin 2.3.0 - database connectivity issue

23 views
Skip to first unread message

Vladimir Novakovic

unread,
Aug 29, 2020, 2:56:36 AM8/29/20
to go-cd
Hello everyone,

I did the following upgrade path for testing purposes:

I had completed first upgrade of go-server from 2.3.0 to 2.4.0 than I had perform migration database from H2 to PostgreSQL and than afterwards installation of analytics plugin 2.3.0.

This is ending with following problem when I want to connect analytics plugin with PostgreSQL database:

Save failed. There are errors in the plugin settings. Please fix them and resubmit.

Error connecting to database, reason - Found non-empty schema(s) "public" without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.


Please find a screenshot in attachment.

I would appropriate hints from your side how to troubleshoot further this issue. Where I should set baselineOnMigrate to true?

Kind regards,
Vlad
go-server-anayltics-issue.jpg

Vladimir Novakovic

unread,
Aug 30, 2020, 6:22:20 AM8/30/20
to go-cd
Please ignore my previous message, I have moved it as an issue directly to Analytics plugin GitHub repository:

https://github.com/gocd/gocd-analytics-plugin/issues/55

Kind regards,
Vlad
Reply all
Reply to author
Forward
0 new messages