XTR breaks with complex MYSQL passwords

CMS Version

4.0.7 – this conceivably could effect multiple versions

Installation Method

Custom Installation – In Docker

Operating System

Debian 11

Issue

XTR fails to run even when enabled – and manually triggering tasks was failing as well. /var/www/maintenance.sh was throwing “command not found” when manually run – the issue turned out to be special characters in the MYSQL_PASSWORD ENV-VAR that bash didn’t like

Putting this out for anyone else who’s had issues with XTR when it by-all-accounts should otherwise be working normally.

As a temporary fix I encapsulated the password in double-quotes in the maintenance.sh and that fixed the bash script and XTR now works again via cron – but whatever constructs the bash script strips the double-quotes provided in the config.env so the symptom returns after a container restart.

Thanks for letting us know, we will get it resolved