Sorry it isn't a problem of mapserver.
There is only a problem with permission of public schema.
All the best,
R
Eng. Roberto Marzocchi, PhD
CTO - Chief Technology Officer
Gter srl (Unige spin-off)
Via Ruffini 9R - 16128 Genova
http://P.IVA/CF 01998770992
ph: 010-0899150 - mob: 34
On the server log this is the error:
2020-03-26 21:43:32.939 CET [27786] user@dbname STATEMENT: SELECT
postgis_version()
2020-03-26 21:43:34.185 CET [28060] user@dbname ERROR: function
postgis_version() does not exist at character 8
2020-03-26 21:43:34.185 CET [28060] user@dbname HINT: N