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.

    Black screen after update 2.11 (electron)

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    24 Posts 2 Posters 5.7k Views 2 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

      yes. first cd magicmirror after this the modules

      1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @sdetweil
        last edited by

        @sdetweil maybe run my upgrade script …

        from here
        https://github.com/sdetweil/MagicMirror_scripts

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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • B Offline
          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 Do not disturb
            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

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              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 Do not disturb
                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

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • B Offline
                  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 Do not disturb
                    sdetweil @Blackmirror
                    last edited by

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

                    please do

                    ls -laF ~/MagicMirror/installers
                    

                    show results

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      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 Do not disturb
                        sdetweil @Blackmirror
                        last edited by

                        @Blackmirror there should be more

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        B 1 Reply Last reply Reply Quote 0
                        • B Offline
                          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 Do not disturb
                            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

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @sdetweil

                                  {
                                   module: 'MMM-Buttons',
                              //                        classes: 'default everyone',
                                   config: {
                                  minShortPressTime: 20,
                                  bounceTimeout: 10,
                                           buttons: [
                                           {
                                           pin: 10,
                                           name: "Radio",
                                           longPress: {
                                                    notification: "CURRENT_PROFILE",
                                                  payload: "default"},
                                           shortPress: {
                                                  notification: "CURRENT_PROFILE",
                                                  payload: "Radio"}},
                                      {
                                          pin: 11,
                                          name: "Tagesschau",
                                          longPress: {
                                            notification: "BUTTON_PRESSED",
                                            payload: true
                                          },
                                         shortPress: {
                                            notification: "BUTTON_PRESSED",
                                            payload: true
                                          }
                                      }
                                  ]
                              }},
                              
                              

                              But I think it have not update the MMM-Buttons because it was out comment.

                              I have your script restarted at now it comes the same error codes as I start npm install in the MMM-Buttons module

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

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

                                But I think it have not update the MMM-Buttons because it was out comment.
                                I have your script restarted at now it comes the same error codes as I start npm install in the MMM-Buttons module

                                ok, that explains it.

                                lets try this

                                cd ~/MagicMirror/modules
                                mv MMM-Buttons MMM-Buttons.save
                                git clone https://github.com/Jopyth/MMM-Buttons.git
                                cd MMM-Buttons
                                npm install
                                

                                it worked ok on my system

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

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

                                  mv MMM-Buttons MMM-Buttons.save
                                  git clone https://github.com/Jopyth/MMM-Buttons.git
                                  cd MMM-Buttons
                                  npm install

                                  Yes Thanks. It’s works.

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

                                    @Blackmirror ok, I have fixed update to erase the old files (node_modules and package-lock.json) to force a different npm install

                                    weird

                                    thanks for your help and patience

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    • 1
                                    • 2
                                    • 1 / 2
                                    • First post
                                      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