hawkbit icon indicating copy to clipboard operation
hawkbit copied to clipboard

Hawkbit does not start with mssql database after update to 0.3.0

Open superkartoffel opened this issue 1 year ago • 1 comments

We have a working Hawkbit installation using Azure Mssql Database and Hawkbit 0.3.0-M7 running in kubernetes using the official hawkbit/hawkbit-update-server docker images. When I try to migrate to Hawkbit 0.3.0, I get the following error during startup: org.flywaydb.core.api.FlywayException: Unsupported Database: Microsoft SQL Server 12.0

hawkbit-flywayexception.log

I assume that the issue has been introduced with the update to flyway > 8.1.0 in this commit: https://github.com/eclipse/hawkbit/commit/d0882fd87d0d4c0dd09c7c1dc9b4588f3cd69677

From that release onwards, you will need to add flyway-sqlserver as an additional dependency.

superkartoffel avatar Mar 19 '24 09:03 superkartoffel

See also this comment: https://github.com/eclipse/hawkbit/issues/1662#issuecomment-1972860999

superkartoffel avatar Mar 19 '24 09:03 superkartoffel

flyway is upgraded in the latest hawkbit versions (I think with spring boot migrations). In master it is 10.x. For the older, outdated, hawkbit version you may have to update the flyway by yourself

avgustinmm avatar Jan 08 '25 09:01 avgustinmm

Thank you. I have not tried it yet, but I belief this has been fixed in https://github.com/eclipse-hawkbit/hawkbit/commit/e41c0efd3daec8d7c6f6a62089adc6413df4ee48

superkartoffel avatar Jan 08 '25 17:01 superkartoffel