Freepbx 17 UCP missing mariadb module

After fresh install, I’m unable to start UCP, the npm mariadb module seems missing.

Installing it manually does not resolve may problem

root@lsapbxp60:~# npm list -g
/usr/local/lib
└── [email protected]

2025-06-16 07:27 +00:00: Error: Cannot find module ‘mariadb’
2025-06-16 07:27 +00:00: Require stack:
2025-06-16 07:27 +00:00: - /var/www/html/admin/modules/ucp/node/lib/freepbx.js
2025-06-16 07:27 +00:00: - /var/www/html/admin/modules/ucp/node/index.js
2025-06-16 07:27 +00:00: at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
2025-06-16 07:27 +00:00: at Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:81:25)
2025-06-16 07:27 +00:00: at require (node:internal/modules/helpers:177:18)
2025-06-16 07:27 +00:00: at Object. (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:15)
2025-06-16 07:27 +00:00: at Module._compile (node:internal/modules/cjs/loader:1356:14)
2025-06-16 07:27 +00:00: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
2025-06-16 07:27 +00:00: at Module.load (node:internal/modules/cjs/loader:1197:32)
2025-06-16 07:27 +00:00: at Module._load (node:internal/modules/cjs/loader:1013:12)
2025-06-16 07:27 +00:00: at Module.require (node:internal/modules/cjs/loader:1225:19)
2025-06-16 07:27 +00:00: at Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:101:39) {
2025-06-16 07:27 +00:00: code: ‘MODULE_NOT_FOUND’,
2025-06-16 07:27 +00:00: requireStack: [
2025-06-16 07:27 +00:00: ‘/var/www/html/admin/modules/ucp/node/lib/freepbx.js’,
2025-06-16 07:27 +00:00: ‘/var/www/html/admin/modules/ucp/node/index.js’
2025-06-16 07:27 +00:00: ]
2025-06-16 07:27 +00:00: }

Which method used for FreePBX installation ? ISO or Bash Script?

The install was hybrid.

Iso first but as we use a proxy the installation does not work properly, so install with the script after the OS was installed.