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 4.2k 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.
    • S Offline
      sdetweil @Blackmirror
      last edited by

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

      rebuild electron in cd magicmirror and all modules. and npm install again.

      and npm install (in base and module folders) (as this will copy down new files based on the MM changes)
      and THEN
      electron-rebuild

      AND you did npm install in MagicMirror folder, BEFORE all modules

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        yes. first cd magicmirror after this the modules

        1 Reply Last reply Reply Quote 0
        • S Offline
          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 Offline
              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 Offline
                  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 Offline
                      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
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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