MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

pm2 dosn`t start after reboot

  • Hello

    i have the problem that pm2 dosn`t start after reboot. it was working with the MM2 Version 2.8.0 but after the update to 2.9.0 its no longer working.
    Any Idea?

  • thx for the fast reason.

  • @Skorpionbird did it fix it?

  • no dosn`t work with your reason

  • @Skorpionbird can u show me


  • pm2 setup starting - Di Nov 5 15:55:05 CET 2019
    node version v10.17.0
    force installing latest npm version via npm
    npm version 6.11.3
    pm2 installed
    pm2 installed, but does not work, uninstalling
    pm2 not installed, installing
    get the pm2 platform specific startup command
    command = sudo env PATH=$PATH:/usr/bin:/bin /usr/lib/node_modules/pm2/bin/pm2 startup sys$
    [PM2] Init System found: systemd
    Platform systemd
    Description=PM2 process manager


    ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect
    ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all
    ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill


    Target path
    Command list
    [ ‘systemctl enable pm2-pi’ ]
    [PM2] Writing init configuration in /etc/systemd/system/pm2-pi.service
    [PM2] Making script booting at startup…

    Executing: systemctl enable pm2-pi…

    [PM2] [v] Command successfully executed.
    [PM2] Freeze a process list on reboot via:
    $ pm2 save

    [PM2] Remove init script via:
    $ pm2 unstartup systemd
    pm2 startup done
    configure the pm2 config file for MagicMirror
    start MagicMirror via pm2 now
    save MagicMirror pm2 config now
    pm2 setup completed - Di Nov 5 15:56:55 CET 2019

  • @Skorpionbird what is the output of pm2 logs?

  • @sdetweil already postet

  • @sdetweil when i copy paste ~/MagicMirror/installers/pm2_setup.log

    Then i recive

    Connecting to port 22, please wait…
    login as: 
    pi@’s password: 
    Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Sun Nov  3 20:42:57 2019 from

    pi@raspberrypi:~ $ ~/MagicMirror/installers/pm2_setup.log
    -bash: /home/pi/MagicMirror/installers/pm2_setup.log: Keine Berechtigung access denied
    pi@raspberrypi:~ $

Log in to reply