platform
platform copied to clipboard
Setup Fail Error
When DB setup is turned off and I change the application to use a new database, it gives an error of query failure but with no context related to setup configuration.
My Setup configuration is used in the file config/_production.json
:
"setup": {
"schema": {
"execution": false,
"auto_create": false
},
"scripts": {"execution": false},
"enabled": false
},
Error with trace level activated in the logs/log.xml
:
2024-06-18 13:57:16,772 DEBUG [qtp2043313130-47] proteu.Enterprise - Proteu Enterprise Start
2024-06-18 13:57:16,772 DEBUG [qtp2043313130-47] proteu.Proteu - Proteu initialized
2024-06-18 13:57:17,064 INFO [qtp2043313130-47] proteu.DynamicURL - Url: /admin/ loading.
2024-06-18 13:57:17,086 INFO [qtp2043313130-47] proteu.Run - Running /org/netuno/tritao/Index
2024-06-18 13:57:17,093 DEBUG [qtp2043313130-47] proteu.Proteu - HTTP header sent
2024-06-18 13:57:17,114 TRACE [qtp2043313130-47] proteu.Enterprise -
# ERROR: Query executing on netuno$dev_dev$default: select *, (select netuno_group.name from netuno_group where netuno_group.id = netuno_user.group_id) as group_name, (select netuno_group.netuno_group from netuno_group where netuno_group.id = netuno_user.group_id) as netuno_group from netuno_user where 1 = 1 and group_id >= 0 order by name
org.postgresql.util.PSQLException: ERROR: relation "netuno_user" does not exist
Position: 238
# Causes
# > ERROR: relation "netuno_user" does not exist
Position: 238#
2024-06-18 13:57:17,114 ERROR [qtp2043313130-47] proteu.Enterprise - Query executing on netuno$dev_dev$default: select *, (select netuno_group.name from netuno_group where netuno_group.id = netuno_user.group_id) as group_name, (select netuno_group.netuno_group from netuno_group where netuno_group.id = netuno_user.group_id) as netuno_group from netuno_user where 1 = 1 and group_id >= 0 order by name
2024-06-18 13:57:17,116 DEBUG [qtp2043313130-47] db.Manager - netuno$dev_dev$default connection closed
It should give an error with a better description.