Console isn't working normally with Matomo 4.6 and later

Hello,

I am running matomo as www-data user and using Matomo’s docker image.

4.5.0 and older works fine, but 4.6.0 and later not.

When running command ./console as user www-data in container, nothing happen. No error.

When running ./console as root it works just fine and get help text.

checked file permissions several times, all matomo files and php files too.

do you have any idea what may be wrong? At least PHP version is different. 4.5.0 7.x and 4.6.0 → 8.x

No other changes, only new docker image take into use