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

Blackscreen after update to v.2.8.0



  • Hello,
    afer the updatre I get a black screen, but Magicmirror is still running.

    pi@Mirror:~/MagicMirror $ pm2 status
    ┌──────────┬────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────────┐
    │ App name │ id │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ watching │
    ├──────────┼────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────────┤
    │ mm       │ 0  │ fork │ 1030 │ online │ 0       │ 12h    │ 0%  │ 2.3 MB   │ enabled  │
    └──────────┴────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────────┘
     Use `pm2 show ` to get more details about an app
    pi@Mirror:~/MagicMirror $ cd ..
    pi@Mirror:~ $ cd MagicMirror
    pi@Mirror:~/MagicMirror $ ls
    CHANGELOG.md  config  css            fonts         index.html  js             LICENSE.md  module-types.ts  package.json       README.md     serveronly    tests         vendor
    clientonly    core    dangerfile.js  Gruntfile.js  installers  jsconfig.json  modules     node_modules     package-lock.json  run-start.sh  splashscreen  translations
    pi@Mirror:~/MagicMirror $ cd config
    pi@Mirror:~/MagicMirror/config $ ls
    config.js  config.js.sample
    pi@Mirror:~/MagicMirror/config $ cd ..
    pi@Mirror:~/MagicMirror $ npm run config:check
    
    > magicmirror@2.8.0 config:check /home/pi/MagicMirror
    > node tests/configs/check_config.js
    
    Checking file...  /home/pi/MagicMirror/config/config.js
    Your configuration file doesn't contain syntax errors :)
    pi@Mirror:~/MagicMirror $ npm install
    
    > magicmirror@2.8.0 install /home/pi/MagicMirror
    > cd vendor && npm install
    
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    
    > magicmirror@2.8.0 postinstall /home/pi/MagicMirror
    > sh installers/postinstall/postinstall.sh && npm run install-fonts
    
    MagicMirror installation successful!
    
    > magicmirror@2.8.0 install-fonts /home/pi/MagicMirror
    > cd fonts && npm install
    
    npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none was installed.
    

    I hope someone can help me.

    greets Blackmirror



  • @Blackmirror after the git pull, you did

     npm install 
    

    in the MagicMirror folder and then also

    npm install 
    

    in each module folder that has a package.json file


  • Project Sponsor

    @Blackmirror Hi. Are there any errors in pm2 logs?



  • Thanks.

    I have only npm install at Magicmirror not for the modules.

    Now it was running fine.



  • @Blackmirror great!.. thanks for the feedback…

    I am working on an upgrade script to do all this for users.
    https://forum.magicmirror.builders/topic/10729/new-script-for-mirror-release-upgrades

    how many modules did u have to npm install for?



  • I am having the same issue but doing npm install in all of the modules folders doesn’t resolve it. Any other thoughts?


  • Project Sponsor

    @potts-mike Are there any issues in your config.js? Can you run npm run config:check and see if there are errors?



  • I can, should I run that from the config file?

    I will say though that it worked before the upgrade and I tried the config.js.sample file and it didnt work.


  • Project Sponsor

    @potts-mike - Run it from the command line in the /home/pi/MagicMirror folder.



  • THe config file does not contain syntax errors.

    pi@raspberrypi:~/MagicMirror $ npm run config:check
    
    > magicmirror@2.8.0 config:check /home/pi/MagicMirror
    > node tests/configs/check_config.js
    
    Checking file...  /home/pi/MagicMirror/config/config.js
    Your configuration file doesn't contain syntax errors :)
    pi@raspberrypi:~/MagicMirror $