MagicMirror icon indicating copy to clipboard operation
MagicMirror copied to clipboard

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

Open sdetweil opened this issue 1 year ago • 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

sdetweil avatar Jan 01 '24 18:01 sdetweil

related to this

bugsounet avatar Jan 02 '24 13:01 bugsounet

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

sdetweil avatar Jan 02 '24 13:01 sdetweil

is this still an issue or can we close this?

khassel avatar Jun 24 '24 21:06 khassel

We can close it, solved by using pm2 dependency

bugsounet avatar Jun 25 '24 04:06 bugsounet