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.

    v2.18.0 update gave black screen, then nothing.

    Scheduled Pinned Locked Moved Solved Troubleshooting
    73 Posts 4 Posters 32.5k Views 4 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 @Richard238
      last edited by

      @richard238 ok!.. run this to get rid of the sandbox problem

      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixsandbox)"
      

      then

      cd ~/MagicMirror/modules
      # save the new default modules folder
      mv default default.new
      cd ..
      # copy all the modules from old install (incl default) preserve ownership and dates, need sudo to copy git info 
      sudo cp -r -p ~/MagicMirror.save/modules/* modules
      cd modules
      # remove the copied default modules
      rm -rf default
      # restore the saved default
      mv default.new default
      

      copy your full function config.js to MagicMirror/config
      and try it out

      cd ~/MagicMirror
      npm start 
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        Richard238 @sdetweil
        last edited by

        @sdetweil

        pi@magicmirror:~ $ cd ~/MagicMirror/modules
        pi@magicmirror:~/MagicMirror/modules $ mv default default.new
        pi@magicmirror:~/MagicMirror/modules $ sudo cp -r -p ~/MagicMirror.save/modules/* modules
        cp: target 'modules' is not a directory
        

        Tried it without the space…

        pi@magicmirror:~/MagicMirror/modules $ sudo cp -r -p ~/MagicMirror.save/modules/*modules
        cp: missing destination file operand after '/home/pi/MagicMirror.save/modules/*modules'
        Try 'cp --help' for more information.
        pi@magicmirror:~/MagicMirror/modules $ 
        
        R 1 Reply Last reply Reply Quote 0
        • R Offline
          Richard238 @Richard238
          last edited by

          @richard238

          I have to leave shortly Sam.

          Thank you for all your help with this today, I’ll try again tomorrow.

          Richard.

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

            @richard238 ok

            you forgot the cd …

            cd ..
            # copy all the modules from old install (incl default) preserve ownership and dates, need sudo to copy git info 
            sudo cp -r -p ~/MagicMirror.save/modules/* modules
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              Richard238 @sdetweil
              last edited by

              @sdetweil

              Trying to rename config.js to sample,

              Error when getting information for file “/home/pi/MagicMirror/config/config.js”: No such file or directory
              Error renaming file /home/pi/MagicMirror/config/config.js: No such file or directory
              
              

              Yet I can see it, I can query it for permissions…

              Back tomorrow.
              Richard.

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

                @richard238 said in v2.18.0 update gave black screen, then nothing.:

                Error when getting information for file “/home/pi/MagicMirror/config/config.js”

                you need to copy from save

                cd ~/MagicMirror.save/config
                cp -p config.js ~/Magicmirror/config
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  Richard238 @sdetweil
                  last edited by

                  @sdetweil

                  Good morning Sam.

                  Tried that late yesterday, and yes, it works.
                  And this morning, I copied

                  custom.css
                  

                  from

                  /home/pi/MagicMirror.save/css   
                  

                  to

                  /home/pi/MagicMirror/css
                  

                  This too is working perfectly.

                  Is there anything else to do, housekeeping maybe, or is that it now?

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

                    @richard238 if everything is running ok then I think you are done, and can delete the
                    MagicMirror.save folder

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      Richard238 @sdetweil
                      last edited by

                      @sdetweil

                      Ok, I’ll do that then.

                      Do we know what the cause of all this was, was it something to do with a mismatch in versions of node and npm?

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

                        @richard238 no idea what caused it.

                        there clearly was an error somewhere in the upgrade process, maybe reported and missed, or unreported.

                        but can u send me the MagicMirror.save/installers/upgrade.log

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        R 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 6 / 8
                        • 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