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
I have pulled master branch, and attempted to launch docker with docker-compose up, but the container fails to start after attempting to apply liquibase changes; it mentions that gen_random_uuid() does not exist as a function.
My quick research indicates that perhaps gen_random_uuid() was only added in Postgresql v 13. The dockerfile is expecting to launch postgresql v11. The database files were created with v 11, so simply updating the docker-compose.yml doesn't resolve the issue.
Waltz Version
1.62
Steps to Reproduce
Clone the waltz repository
open a command line prompt in the directory where the code was downloaded to
use the command 'docker-compose up' as indicated in the docker/README.md file.
docker obtains the images and attempts to start, however, an error is encountered and the application doesn't start.
...
Expected Result
Expected waltz to be started with an "empty" / default database, with all required liquibase changes applied, without encountering any fatal error messages.
Actual Result
Unexpected error running Liquibase: ERROR: function gen_random_uuid() does not exist
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Position: 60[Failed SQL: (0) UPDATE public.logical_flow SET external_id = CONCAT('LF:', gen_random_uuid()) WHERE external_id IS NULL]
The text was updated successfully, but these errors were encountered:
Thanks for the report. I've recreated the issue and you are correct, it is related to an outdated reference to postgres (v11) in the docker-compose.yml (originally identified by @mharward-gr).
I've updated to the latest stable (v16) and the liquibase files are applied correctly. I'll set up some sample data and run some additional tests before contributing a patch.
Description
I have pulled master branch, and attempted to launch docker with docker-compose up, but the container fails to start after attempting to apply liquibase changes; it mentions that gen_random_uuid() does not exist as a function.
My quick research indicates that perhaps gen_random_uuid() was only added in Postgresql v 13. The dockerfile is expecting to launch postgresql v11. The database files were created with v 11, so simply updating the docker-compose.yml doesn't resolve the issue.
Waltz Version
1.62
Steps to Reproduce
...
Expected Result
Expected waltz to be started with an "empty" / default database, with all required liquibase changes applied, without encountering any fatal error messages.
Actual Result
Unexpected error running Liquibase: ERROR: function gen_random_uuid() does not exist
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Position: 60[Failed SQL: (0) UPDATE public.logical_flow SET external_id = CONCAT('LF:', gen_random_uuid()) WHERE external_id IS NULL]
The text was updated successfully, but these errors were encountered: