You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SONG server fails to initialize the database schema during startup due to missing database types and tables.
Description
When starting the SONG server, the application logs indicate that several database types and tables do not exist. When flyaway is enabled, this issue prevents the server from properly setting up the database schema and causes the container to exit.
Here is a snippet of relevant logs, part of the warning might also point to an error in my or the songs flyway location:
2024-05-27 13:47:43,865 [main] INFO o.f.c.i.d.DatabaseFactory - Database: jdbc:postgresql://song-db:5432/songDb (PostgreSQL 16.3)
2024-05-27 13:47:43,888 [main] WARN o.f.c.i.d.b.Database - Flyway upgrade recommended: PostgreSQL 16.3 is newer than this version of Flyway and support has not been tested.
2024-05-27 13:47:44,029 [main] WARN o.f.c.i.s.c.ClassPathScanner - Unable to resolve location classpath
/sql
Steps to Reproduce
Run the following docker-compose.yml snippet and view the song container logs
Summary
The SONG server fails to initialize the database schema during startup due to missing database types and tables.
Description
When starting the SONG server, the application logs indicate that several database types and tables do not exist. When flyaway is enabled, this issue prevents the server from properly setting up the database schema and causes the container to exit.
Here is a snippet of relevant logs, part of the warning might also point to an error in my or the songs flyway location:
Steps to Reproduce
docker-compose.yml
snippet and view the song container logsExpected Behavior
The SONG server should find and apply all necessary Flyway migration scripts to create the required database types and tables.
Actual Behavior
The SONG server logs indicate that it cannot find the expected database types and tables, causing the initialization process to exit out
Possible Solution
src/main/resources/db/migration
directory.Environment
The text was updated successfully, but these errors were encountered: