Matomo deployed at bitnami helm charts unable to connect to external mysql

Hi Team

we have deployed matomo using bitnami helm charts. Its working fine when it is utilizing internal mariadb or mysql deployed on cluster but when we trying to connect to external db its giving below error.

matomo 10:24:01.22 INFO ==> ** Starting Apache **
[Mon Sep 11 10:24:01.356361 2023] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.57 (Unix) OpenSSL/1.1.1n configured – resuming normal operations
[Mon Sep 11 10:24:01.356457 2023] [core:notice] [pid 1] AH00094: Command line: β€˜/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf -D FOREGROUND’
[11-Sep-2023 10:24:15 UTC] PHP Fatal error: Uncaught Matomo\Ini\IniReadingException: Unable to read INI file {/bitnami/matomo/config/config.ini.php}: Syntax error in INI configuration: syntax error, unexpected β€˜"’ in Unknown on line 6

Your host may have disabled parse_ini_file(). in /bitnami/matomo/core/Config/IniFileChain.php:247
Stack trace:
#0 /bitnami/matomo/core/Application/Kernel/GlobalSettingsProvider.php(66): Piwik\Config\IniFileChain->reload()
#1 /bitnami/matomo/core/Application/Kernel/GlobalSettingsProvider.php(57): Piwik\Application\Kernel\GlobalSettingsProvider->reload()
#2 /bitnami/matomo/core/Application/Environment.php(172): Piwik\Application\Kernel\GlobalSettingsProvider->__construct()
#3 /bitnami/matomo/core/Application/Environment.php(147): Piwik\Application\Environment->getGlobalSettings()
#4 /bitnami/matomo/core/Application/Environment.php(184): Piwik\Application\Environment->getGlobalSettingsCached()
#5 /bitnami/matomo/core/Application/Environment.php(159): Piwik\Application\Environment->getPluginList()
#6 /bitnami/matomo/core/Application/Environment.php(131): Piwik\Application\Environment->getPluginListCached()

We have not modifiied any php configuration through code.

1 Like