Rundeck and MS SQL

140 views
Skip to first unread message

Evan Gibbons

unread,
Sep 6, 2022, 5:10:06 PM9/6/22
to rundeck-discuss
We have installed Rundeck 4.5 on a Red Hat 8 EL server.

We are able to access Rundeck UI with a H2 database.  However, after creating a new database on MS SQL server, the RD startup reports errors when creating objects in the database.

[2022-08-19T16:12:49,764] ERROR boot.SpringApplication [main] - Application run failed
liquibase.exception.LiquibaseException: liquibase.exception.MigrationFailedException: Migration failed for change set core/ExecReportJcExecIdToExecutionId.groovy::1653344096108-52::gschueler (generated):
     Reason: liquibase.exception.DatabaseException: Invalid column name 'JC_EXEC_ID'. [Failed SQL: (207) update base_report set execution_id = cast(JC_EXEC_ID as bigint)]


Is this possibly a SQL collation or compatibility issue?

rac...@rundeck.com

unread,
Sep 6, 2022, 5:13:21 PM9/6/22
to rundeck-discuss

Hi Evan,

Could you share your rundeck-config.properties to take a look? Did you follow this?

Regards.

Evan Gibbons

unread,
Dec 19, 2022, 7:57:36 AM12/19/22
to rundeck-discuss

I followed the Rundeck documentation.  What I found is the column does not exist in the table.

Since the installation and configuration created the database objects in SQL Server, I can not understand how a column could be missing.


liquibase.exception.DatabaseException: Invalid column name 'JC_EXEC_ID'. [Failed SQL: (207) update base_report set execution_id = cast(JC_EXEC_ID as bigint)]

rac...@rundeck.com

unread,
Dec 19, 2022, 8:39:30 AM12/19/22
to rundeck-discuss

Hi Evan,

Try omitting this line: dataSource.dbCreate = update on the rundeck-confog.properties file and launch the Rundeck service again. Could you share your rundeck-config.properties to take a look? (edit any sensitive data).

Greetings.

Reply all
Reply to author
Forward
0 new messages