Issues upgrading XorMon-NG to latest (2.2.30)
Hello,
Using XorMOn-NG 2.1.10 (VMware OVA), trying to upgrade to latest (xormon-ng-2.2.30.tar.gz), running into issue below, is there anything that I am missing in my upgrade steps?
xormon@Van-XorMon:~/xormon-ng$ ./xormon.sh upgrade /home/xormon/xormon-ng-2.2.30.tar.gz
Loading environment from server-nest/.env
=============================================================================
Installing upgrade ...
Running pre-upgrade script...
Error running pre-upgrade script: Error: Command failed: node /home/xormon/xormon-ng/server-nest/files/tmp/upgrade/server-nest/dist/pre-upgrade.js
/home/xormon/xormon-ng/server-nest/files/tmp/upgrade/server-nest/dist/service/configuration/App.js:9
const uuid_1 = require("uuid");
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/xormon/xormon-ng/server-nest/files/tmp/upgrade/server-nest/node_modules/uuid/dist-node/index.js from /home/xormon/xormon-ng/server-nest/files/tmp/upgrade/server-nest/dist/service/configuration/App.js not supported.
Instead change the require of index.js in /home/xormon/xormon-ng/server-nest/files/tmp/upgrade/server-nest/dist/service/configuration/App.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/xormon/xormon-ng/server-nest/files/tmp/upgrade/server-nest/dist/service/configuration/App.js:9:16) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v20.18.0
An error occurred while running the pre-upgrade script. Please check the logs for more details.
=============================================================================
STARTING AFTER INSTALL / UPGRADE...
Connection to database postgres was successful!
Looking for database xormon
Connection to database xormon was successful!
Exiting verify.ts...
Application launched successfully
xormon@Van-XorMon:~/xormon-ng$ npm list uuid
/home/xormon/xormon-ng
└── (empty)
Comments
-
upgrade node.js at first
Howdy, Stranger!
Categories
- 1.7K All Categories
- 123 XorMon
- 26 XorMon Original
- 175 LPAR2RRD
- 14 VMware
- 20 IBM i
- 2 oVirt / RHV
- 5 MS Windows and Hyper-V
- Solaris / OracleVM
- 1 XenServer / Citrix
- Nutanix
- 8 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 141 STOR2RRD
- 20 SAN
- 7 LAN
- 19 IBM
- 8 EMC
- 12 Hitachi
- 5 NetApp
- 17 HPE
- 1 Lenovo
- 1 Huawei
- 3 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 4 Pure Storage
- Oracle