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.

    Update to v2.9.0 fail

    Scheduled Pinned Locked Moved Solved Troubleshooting
    48 Posts 3 Posters 14.8k Views 3 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
      bdream
      last edited by

      @sdetweil said in Update to v2.9.0 fail:

      when u see the message about saving files, just hit ctrl-c to exit

      I was to slow for hitting ctrl-c :nerd_face:

      As this is a huge of lines my buffer is to small.
      Is there a log or is there no interest to u of the outcome?

      –
      cheers, bdream

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

        @bdream yes the install.log

        but it should have waited for you to reply about writing over package-lock.json

        hm… if package.lock.json does NOT exist

        then create it

        touch package-lock.json 
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil said in Update to v2.9.0 fail:

          hm… if package.lock.json does NOT exist

          nono, it did exist

          pi@MagicMirror:~/MagicMirror $  ls pack*
          package.json  package-lock.json
          

          but the script run fast

          bash -c "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" force
          

          what path I can find the install.log?

          –
          cheers, bdream

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

            @bdream sorry, not install… upgrade.log

            doing test run = false
            update log will be in /home/pi/MagicMirror/installers/upgrade.log

            on the package-lock.json… it is the same as the update… thus why it didn’t stop

            could edit it an add a space someplace

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil upgrade.log is here from …force… no it isn’t.
              I can’t copy the 2738 lines in here.
              How can I bring it to you?

              And what does this mean?

              on the package-lock.json… it is the same as the update… thus why it didn’t stop
              
              could edit it an add a space someplace
              

              –
              cheers, bdream

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

                @bdream said in Update to v2.9.0 fail:

                upgrade.log is here from …force… no it isn’t.
                I can’t copy the 2738 lines in here.

                you can email it , same userid as here on gmail

                And what does this mean?
                
                on the package-lock.json… it is the same as the update… thus why it didn’t stop
                
                could edit it an add a space someplace
                

                the upgrade should have stopped at the package-lock.json file, just like before…
                but it didn’t… so I looked back at the 2.9.0 package being installed, and it has a package-lock.json file…

                so, the one now on the disk is the new one… and a git status will show it hasn’t changed…

                so, we could MAKE it be different, by using a text editor (like the one you use on the config.js file)
                and add 1 space character (hit the spacebar)
                and then save it… then it will be different

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  got u mail from me? I would send you logs then.

                  @sdetweil said in Update to v2.9.0 fail:

                  so, we could MAKE it be different, by using a text editor (like the one you use on the config.js file)
                  and add 1 space character (hit the spacebar)
                  and then save it… then it will be different

                  Is this you ask me to do? and rund your script again to see if it works now?

                  –
                  cheers, bdream

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

                    @bdream i got one mail and replied. have not got any more

                    yes, was a way to test. if u can

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil said in Update to v2.9.0 fail:

                      if u can

                      Got it

                      Upgrade started - Mi Okt 16 20:03:22 CEST 2019
                      user requested to apply changes
                      doing test run = false
                      
                      saving custom.css
                      not english or locale not set, set git alias
                      alias egrep='egrep --color=auto'
                      alias fgrep='fgrep --color=auto'
                      alias git='LC_ALL=en_US.UTF-8 git'
                      alias grep='grep --color=auto'
                      alias ls='ls --color=auto'
                      remote name = origin
                      local version 2.9.0 already same as master 2.9.0
                      restoring custom.css
                      removing git alias
                      Upgrade ended - Mi Okt 16 20:03:22 CEST 2019
                      

                      there is no statement about the package-lock.json where I added spaces and saved it.

                      Seems it works fine :grinning_face_with_smiling_eyes:

                      One question I have now.
                      Would it make sense changing the guide for update MM using your script instead of git pull && npm install?
                      Or is this only a option in case of failure?

                      –
                      cheers, bdream

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

                        @bdream said in Update to v2.9.0 fail:

                        local version 2.9.0 already same as master 2.9.0
                        restoring custom.css

                        if you do apply, then if the versions are the same, it just exits… if you use force then it keeps going…

                        try with force instead of apply

                        … once we get this tested I will submit to add to the product… u are helping me test… and I thank you very much!!

                        i have 3 scripts.
                        1 updated installer
                        2 new updater
                        3 one for fixing pm2 without having to do installer

                        will submit them all

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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