• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Blackscreen after update to v.2.8.0

Scheduled Pinned Locked Moved Unsolved Troubleshooting
30 Posts 8 Posters 8.7k Views 7 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    Blackmirror
    last edited by Jul 6, 2019, 11:19 AM

    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 <id|name>` 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

    S M 2 Replies Last reply Jul 6, 2019, 11:30 AM Reply Quote 0
    • S Offline
      sdetweil @Blackmirror
      last edited by Jul 6, 2019, 11:30 AM

      @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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • M Offline
        mumblebaj Module Developer @Blackmirror
        last edited by Jul 6, 2019, 11:32 AM

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

        Check out my modules at: https://github.com/mumblebaj?tab=repositories

        1 Reply Last reply Reply Quote 0
        • B Offline
          Blackmirror
          last edited by Jul 6, 2019, 11:51 AM

          Thanks.

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

          Now it was running fine.

          S 1 Reply Last reply Jul 6, 2019, 11:53 AM Reply Quote 1
          • S Offline
            sdetweil @Blackmirror
            last edited by sdetweil Jul 6, 2019, 11:53 AM Jul 6, 2019, 11:53 AM

            @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?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • P Offline
              potts-mike
              last edited by Jul 9, 2019, 10:58 PM

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

              M 1 Reply Last reply Jul 10, 2019, 3:47 PM Reply Quote 0
              • M Offline
                mumblebaj Module Developer @potts-mike
                last edited by Jul 10, 2019, 3:47 PM

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

                Check out my modules at: https://github.com/mumblebaj?tab=repositories

                1 Reply Last reply Reply Quote 0
                • P Offline
                  potts-mike
                  last edited by Jul 11, 2019, 2:35 AM

                  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.

                  B 1 Reply Last reply Jul 11, 2019, 2:50 AM Reply Quote 0
                  • B Offline
                    bhepler Module Developer @potts-mike
                    last edited by Jul 11, 2019, 2:50 AM

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

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      potts-mike
                      last edited by Jul 13, 2019, 3:31 PM

                      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 $ 
                      
                      S 1 Reply Last reply Jul 13, 2019, 3:38 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        4/30
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy