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
Setting the environment variable _MP_DATABASE__READONLY_URL results in a malformed JDBC connection string in mirth.properties as forward slashes are escaped when being parsed by entrypoint.sh
Removing the toothpicks from ${VALUE} in a custom image fixed the issue for me sed -i "s/^${ESCAPED_KEY}\s*=\s*.*\$/${ACTUAL_KEY} = ${VALUE//\//\\/}/" /opt/connect/conf/mirth.properties
to sed -i "s/^${ESCAPED_KEY}\s*=\s*.*\$/${ACTUAL_KEY} = ${VALUE}/" /opt/connect/conf/mirth.properties
The text was updated successfully, but these errors were encountered:
Setting the environment variable _MP_DATABASE__READONLY_URL results in a malformed JDBC connection string in mirth.properties as forward slashes are escaped when being parsed by entrypoint.sh
_MP_DATABASE__READONLY_URL=jdbc:postgresql://db.hostname.example.com:5432/mirthdb
becomes
database-readonly.url = jdbc:postgresql:\\/\\/db.hostname.example.com:5432\\/mirthdb
Removing the toothpicks from ${VALUE} in a custom image fixed the issue for me
sed -i "s/^${ESCAPED_KEY}\s*=\s*.*\$/${ACTUAL_KEY} = ${VALUE//\//\\/}/" /opt/connect/conf/mirth.properties
to
sed -i "s/^${ESCAPED_KEY}\s*=\s*.*\$/${ACTUAL_KEY} = ${VALUE}/" /opt/connect/conf/mirth.properties
The text was updated successfully, but these errors were encountered: