MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    UNSOLVED Black screen after update 2.11 (electron)

    Troubleshooting
    2
    24
    349
    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
      Blackmirror last edited by

      @sdetweil said in Black screen after update 2.11 (electron):

      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” force

      ok. Now I have no black screnn but the mirror say i must install a config.js, but my old config.js is in the folder.

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @Blackmirror last edited by

        @Blackmirror how did u start mm??? pm2 or npm start?

        open the developers window, ctrl-shift-i on keyboard, select the console tab, and scroll up to find any errors (usually red text)…

        this same error is displayed in a module crashes hard

        Sam

        Create a working config
        How to add modules

        B 1 Reply Last reply Reply Quote 0
        • B
          Blackmirror @sdetweil last edited by

          @sdetweil

          sorry i have not all // delete from the MMM-Buttons module. It the same blank mirror.

          At I get the same errors in the MMM-Buttons module after npm install. Your script have not wrote that it is make npm install at the MMM-Buttons module

          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @Blackmirror last edited by

            @Blackmirror said in Black screen after update 2.11 (electron):

            MMM-Buttons

            it should, there is a package.json file present…

            please show me upgrade.log

            ~/MagicMirror/installers/upgrade.log
            

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • B
              Blackmirror last edited by

              Yes it have it.
              I can not open the log file.
              No authorization.

              S B 2 Replies Last reply Reply Quote 0
              • S
                sdetweil @Blackmirror last edited by

                @Blackmirror eh? was created in user name running the script

                please do

                ls -laF ~/MagicMirror/installers
                

                show results

                Sam

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • B
                  Blackmirror @Blackmirror last edited by

                  Okay works if it run in single steps

                  Upgrade started - Sa Apr  4 17:52:55 CEST 2020
                  system is Linux Mirror 4.9.22-v7+ #987 SMP Fri Apr 14 23:23:05 BST 2017 armv7l GNU/L$
                  the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Rele$
                  user requested to force apply changes
                  doing test run = false
                  
                  saving custom.css
                  remote name = origin
                  upgrading from version 2.11.0 to 2.11.0
                  fetching latest revisions
                  git fetch rc=0
                  current branch = master
                  On branch master
                  Your branch is up-to-date with 'origin/master'.
                  Changes not staged for commit:
                    (use "git add <file>..." to update what will be committed)
                    (use "git checkout -- <file>..." to discard changes in working directory)
                  
                          modified:   package.json
                  
                  Untracked files:
                    (use "git add <file>..." to include in what will be committed)
                  
                          core
                          css/save_custom.css
                          modules/default/compliments/compliments.json
                  
                  
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sdetweil @Blackmirror last edited by

                    @Blackmirror there should be more

                    Sam

                    Create a working config
                    How to add modules

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      Blackmirror @sdetweil last edited by Blackmirror

                      @sdetweil

                      Untracked files:
                        (use "git add <file>..." to include in what will be committed)
                      
                              core
                              css/save_custom.css
                              modules/default/compliments/compliments.json
                      
                      no changes added to commit (use "git add" and/or "git commit -a")
                      there are 1 local files that are different than the master repo
                      
                         package.json
                      
                      save/restore files selection = y
                      Saved working directory and index state WIP on master: 447c0bf Merge pull request #1968 from MichMich/develop
                      HEAD ist jetzt bei 447c0bf Merge pull request #1968 from MichMich/develop
                      test merge result rc='' , if empty, no conflicts
                      executing merge, apply specified
                      merge result rc= 0
                       Already up-to-date.
                      processor architecture is armv7l
                      updating MagicMirror runtime, please wait
                      
                      > magicmirror@2.11.0 install /home/pi/MagicMirror
                      > echo "Installing vendor files ...
                      " && cd vendor && npm install --loglevel=error
                      
                      Installing vendor files ...
                      
                      
                      > magicmirror@2.11.0 postinstall /home/pi/MagicMirror
                      > npm run install-fonts && echo "MagicMirror installation finished successfully!
                      "
                      
                      
                      > magicmirror@2.11.0 install-fonts /home/pi/MagicMirror
                      > echo "Installing fonts ...
                      " && cd fonts && npm install --loglevel=error
                      
                      Installing fonts ...
                      
                      MagicMirror installation finished successfully!
                      
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/chokidar/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      npm WARN ws@7.2.3 requires a peer of bufferutil@^4.0.1 but none was installed.
                      npm WARN ws@7.2.3 requires a peer of utf-8-validate@^5.0.2 but none was installed.
                      npm install completed - Sa Apr  4 17:54:21 CEST 2020 on base
                      downloading dumpactivemodules script
                      
                      processing dependency changes for active modules with package.json files
                      processing for module MMM-Carousel please wait
                      ----------------------------------
                      processing complete for module MMM-Carousel
                      processing for module MMM-Podcast please wait
                      ----------------------------------
                      
                      > Magic-Mirror-Module-Podcast@1.0.1 postinstall /home/pi/MagicMirror/modules/MMM-Podcast
                      > electron-rebuild -e ../../node_modules/electron
                      
                      - Searching dependency tree
                      ✔ Rebuild Complete
                      processing complete for module MMM-Podcast
                      processing for module MMM-DWD-WarnWeather please wait
                      ----------------------------------
                      processing complete for module MMM-DWD-WarnWeather
                      processing for module MMM-Todoist please wait
                      ----------------------------------
                      processing complete for module MMM-Todoist
                      processing for module MMM-FRITZ-Box-Callmonitor please wait
                      ----------------------------------
                      processing complete for module MMM-FRITZ-Box-Callmonitor
                      processing for module MMM-RadioDe please wait
                      ----------------------------------
                      processing complete for module MMM-RadioDe
                      processing for module MMM-Fuel please wait
                      ----------------------------------
                      npm WARN eslint-config-airbnb-base@11.1.3 requires a peer of eslint@^3.19.0 but none was installed.
                      npm WARN eslint-plugin-import@2.2.0 requires a peer of eslint@2.x - 3.x but none was installed.
                      processing complete for module MMM-Fuel
                      restoring custom.css
                      removing git alias
                      we stashed a set of files that appear changed from the latest repo versions. you should review them
                      Upgrade ended - Sa Apr  4 17:55:24 CEST 2020
                      
                      Upgrade started - Sa Apr  4 17:57:51 CEST 2020
                      system is Linux Mirror 4.9.22-v7+ #987 SMP Fri Apr 14 23:23:05 BST 2017 armv7l GNU/Linux
                      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Release: 8.0 Codename: jessie
                      user requested to force apply changes
                      doing test run = false
                      
                      saving custom.css
                      remote name = origin
                      upgrading from version 2.11.0 to 2.11.0
                      fetching latest revisions
                      git fetch rc=0
                      current branch = master
                      On branch master
                      Your branch is up-to-date with 'origin/master'.
                      Untracked files:
                        (use "git add <file>..." to include in what will be committed)
                      
                              core
                              css/save_custom.css
                              installers/stashed_files
                              modules/default/compliments/compliments.json
                      
                      nothing added to commit but untracked files present (use "git add" to track)
                      no files different from github version
                      test merge result rc='' , if empty, no conflicts
                      executing merge, apply specified
                      merge result rc= 0
                       Already up-to-date.
                      processor architecture is armv7l
                      updating MagicMirror runtime, please wait
                      
                      > magicmirror@2.11.0 install /home/pi/MagicMirror
                      > echo "Installing vendor files ...
                      " && cd vendor && npm install --loglevel=error
                      
                      Installing vendor files ...
                      
                      
                      > magicmirror@2.11.0 postinstall /home/pi/MagicMirror
                      > npm run install-fonts && echo "MagicMirror installation finished successfully!
                      "
                      
                      
                      > magicmirror@2.11.0 install-fonts /home/pi/MagicMirror
                      > echo "Installing fonts ...
                      " && cd fonts && npm install --loglevel=error
                      
                      Installing fonts ...
                      
                      MagicMirror installation finished successfully!
                      
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/chokidar/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      npm WARN ws@7.2.3 requires a peer of bufferutil@^4.0.1 but none was installed.
                      npm WARN ws@7.2.3 requires a peer of utf-8-validate@^5.0.2 but none was installed.
                      npm install completed - Sa Apr  4 17:58:55 CEST 2020 on base
                      downloading dumpactivemodules script
                      no modules found needing npm refresh
                      restoring custom.css
                      removing git alias
                      Upgrade ended - Sa Apr  4 17:58:55 CEST 2020
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S
                        sdetweil @Blackmirror last edited by

                        @Blackmirror can u show me the config.js section for MMM-Button?

                        my code (dumpActiveModules.js) lists out the modules that are enabled…

                        Sam

                        Create a working config
                        How to add modules

                        B 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy