After updating with wrong user I started getting this when cron jobs run to compile segments.
WARNING CoreConsole[2024-12-03 02:09:22 UTC] [3104581] /opt/bitnami/matomo/core/CliMulti/Process.php(196): Warning - file_put_contents(/opt/bitnami/matomo/tmp/climulti/4e2e37be821a647a128ffea34fc97d63678f0133a9c6fbaf5060be3fee18f0c12c303fed9aee02412bd6b364fa147c9987631.pid): Failed to open stream: Permission denied - Matomo 5.1.2 - Please report this message in the Matomo forums:(please do a search first as it might have been reported already) [internal function]: Piwik\ErrorHandler::errorHandler(),#1/core/CliMulti/Process.php(196),#2/core/CliMulti/Process.php(76),#3/core/CliMulti/Process.php(51),#4/core/CliMulti.php(371),#5/core/CliMulti.php(187),#6/core/CliMulti.php(174),#7/core/CliMulti.php(460),#8/core/CliMulti.php(119),#9/core/CronArchive.php(504)