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
Appsmith-ee, self-hosted, deployed in k8s cluster using helm chart. Chart version 3.6.2. Appsmith image version v1.62
SaaS Postgress DB is used
APPSMITH_KEYCLOAK_DB_URL format used: <user>:<password>@<host>:<port> (which worked fine for ~ 9 months with constant updates)
Misbehavior
After update Appsmith container is in a crashloopbackoff state. Completely inoperable. Following logs observed: Invalid DB connection string, error: Connection String: <contents of APPSMITH_KEYCLOAK_DB_URL envvar>}
Connection string (contents of APPSMITH_KEYCLOAK_DB_URL) is shown unmasked in logs, revealing user credentials historically stored there.
Expected behavior
No crash, old format of APPSMITH_KEYCLOAK_DB_URL envvar is handled without errors
Error message shall explain which format of connection string is expected and how it is related to existing envvars.
Documentation mentioning APPSMITH_KEYCLOAK_DB_URL format shall be correct. It was wrong for versions <= v1.62 and it seems it is still wrong now. jdbc:postgresql://<hostname>:<port>/<database_name> doesn't seem to be the right format.
Helm chart shall refer to a specific version of the appsmith-ee image, not latest. Otherwise such disruptive update can happen unexpectedly.
Recovery method
Forcibly downgrade the appsmith-ee image version back to v1.62
Is there an existing issue for this?
Description
Setup
APPSMITH_KEYCLOAK_DB_URLformat used:<user>:<password>@<host>:<port>(which worked fine for ~ 9 months with constant updates)Misbehavior
Invalid DB connection string, error: Connection String: <contents of APPSMITH_KEYCLOAK_DB_URL envvar>}APPSMITH_KEYCLOAK_DB_URL) is shown unmasked in logs, revealing user credentials historically stored there.Expected behavior
APPSMITH_KEYCLOAK_DB_URLenvvar is handled without errorsAPPSMITH_KEYCLOAK_DB_URLis not displayed in logs in a plain text. Because of historical reasons it contains DB username and password: [Bug]: appsmith-ee helm v3.1.0 - Temporal relies on keycloak postgres database url having all information and does not allow @ symbol in password #34153APPSMITH_KEYCLOAK_DB_URLformat shall be correct. It was wrong for versions <= v1.62 and it seems it is still wrong now.jdbc:postgresql://<hostname>:<port>/<database_name>doesn't seem to be the right format.latest. Otherwise such disruptive update can happen unexpectedly.Recovery method
Forcibly downgrade the appsmith-ee image version back to v1.62
Steps To Reproduce
Public Sample App
No response
Environment
Production
Severity
Critical (Broken Production apps)
Issue video log
No response
Version
Self Hosted v1.63 (Enterprise Edition)