@sdetweil OK, I was able to run the script on 2 different VMs where MagicMirror is failing to run. In both cases, it still doesn’t run. Th script reported substantially more space available after running, but MagicMirror still doesn’t run. While I am approaching the point where it will be more efficient of my time and yours to just create a 3rd VM, I will post the output of pm2 status below, in case it happens to shed any light on the subject:
al@MM-Dev-VM:~/MagicMirror$ pm2 status
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Configuration.getAllSync (/usr/local/lib/node_modules/pm2/lib/Configuration.js:299:17)
at Configuration.getSync (/usr/local/lib/node_modules/pm2/lib/Configuration.js:270:30)
at new API (/usr/local/lib/node_modules/pm2/lib/API.js:116:44)
at Object.<anonymous> (/usr/local/lib/node_modules/pm2/lib/binaries/CLI.js:27:11)
at Module._compile (node:internal/modules/cjs/loader:1706:14)
at Object..js (node:internal/modules/cjs/loader:1839:10)
at Module.load (node:internal/modules/cjs/loader:1441:32)
at Function._load (node:internal/modules/cjs/loader:1263:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Configuration.getAllSync (/usr/local/lib/node_modules/pm2/lib/Configuration.js:299:17)
at Configuration.getSync (/usr/local/lib/node_modules/pm2/lib/Configuration.js:270:30)
at module.exports [as list] (/usr/local/lib/node_modules/pm2/lib/API/UX/pm2-ls.js:470:32)
at doList (/usr/local/lib/node_modules/pm2/lib/API.js:1758:12)
at /usr/local/lib/node_modules/pm2/lib/API.js:1728:7
at /usr/local/lib/node_modules/pm2/node_modules/pm2-axon-rpc/lib/client.js:45:10
at Parser.<anonymous> (/usr/local/lib/node_modules/pm2/node_modules/pm2-axon/lib/sockets/req.js:67:8)
at Parser.emit (node:events:519:28)
at Parser._write (/usr/local/lib/node_modules/pm2/node_modules/amp/lib/stream.js:91:16)
┌────┬───────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
└────┴───────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
al@MM-Dev-VM:~/MagicMirror$