Unable to upgrade to 47 - blank screen + vendor bundle and uncaught syntax error

We got this message:
"Metabase 0.47.7 is available. You're running"

After upgrade to 47.7 the browser returned a blank screen
We tried 47.0 same thing
Had to revert to 46.6.4 - did anyone else get this, and have ideas on how to proceed?

Thanks in advance.

ps. we saw this message but don't know if it is related - and what it means or how to handle it

Uncaught Syntax Error: Invalid or unexpected token at vendor bundle

"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36",
"vendor": "Google Inc."
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.20+8",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.20",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.20+8",
"os.name": "Linux",
"os.version": "5.15.0-1040-aws",
"user.language": "en",
"user.timezone": "GMT"
"metabase-info": {
"databases": [
"hosting-env": "unknown",
"application-database": "mysql",
"application-database-details": {
"database": {
"name": "MySQL",
"version": "8.0.33"
"jdbc-driver": {
"name": "MariaDB Connector/J",
"version": "2.7.6"
"run-mode": "prod",
"version": {
"date": "2023-07-28",
"tag": "v0.46.6.4",
"branch": "release-x.46.6.x",
"hash": "7c60aca"
"settings": {
"report-timezone": null

Hi, we figured this out in case anyone is reading.

Some time ago we added google tag manager to nginx configuration and it was automatically added to metabase head and body tags.

Now it seems it started to conflict with metabase javascripts.

When we removed it we were able to upgrade.