MagicMirrorOrg/MagicMirror

updatenotification upgrade fails to check if Pm2 being used for MM..

sdetweil opened this issue · 2 comments

messages

[01.01.2024 12:52.41.557] [ERROR] updatenotification: [PM2] can't GetList!
[01.01.2024 12:52.41.557] [ERROR] updatenotification: [PM2] Can't get process List!

these is a misleading message

in my upgradepm2 script I check

if [ $(pm2 ls -m | grep "\-\-" | grep -i magicmirror | wc -l) -eq 1 ]; then

one coudl also check the paths of the apps used to start the app

related to this

I know why. just reporting that you could handle it and not put out an erroneous error