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.

    updated installer script available for testing

    Scheduled Pinned Locked Moved Solved Troubleshooting
    211 Posts 18 Posters 288.2k Views 19 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

      Just got Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10 run under Windows 7.

      This version of MM is version 2.6.0. I planned to run updatescript from @sdetweil but failed. Have you any idea?

      –
      cheers, bdream

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

        @bdream

        I planned to run updatescript from @sdetweil but failed.

        what does ‘planned’ mean?
        if you DID run my upgrade-script,
        can u show me the ~/MagicMirror/installers/upgrade.log

        thanks

        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 bdream

          @sdetweil umpf, yes I started the script but it doesn’t work. So it was a plan not a run :rolling_on_the_floor_laughing:

          bdream@win7 MINGW64 ~/MagicMirror (master)
          $ bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
          
          $$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$\
          $$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                        $$  __$$\
          $$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  \__/  $$ |
          $$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\  $$$$$$  |
          $$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |  \__|$$ /  $$ |$$ |  \__|$$  ____/
          $$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
          $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |      \$$$$$$  |$$ |      $$$$$$$$\
          \__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|       \______/ \__|      \________|
                                 $$\   $$ |
                                 \$$$$$$  |
                                  \______/
          
          install log being saved to /c/Users/HikischB/install.log
          this appears not to be a Raspberry Pi 2 or 3, do you want to continue installation (y/N)?y
          Updating packages ...
          bash: line 93: sudo: command not found
          Update failed, carrying on installation ...
          Installing helper tools ...
          bash: line 99: sudo: command not found
          
          
          

          Seems there is an failure with sudo on my windows machine.

          Do I need to run as admin for update GIT Bash as admin?

          –
          cheers, bdream

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

            @bdream i don’t think it will run in the CYGWIN or MINW environments

            you will have to do the manual install

            see the instructions here https://github.com/MichMich/MagicMirror#manual-installation

            this also requires sudo, to install nodejs
            if you succeed, let me know what you did (step by step) and I will consider updating the installer

            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 looks like a new workingplace :dizzy_face:
              I will hang it on for the next time and mark your comment for further usage.
              1st try to follow the manual installation instruction failed and need more investigatin and understanding on my side

              bdream@win7 MINGW64 ~ (master)
              $ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
              bash: sudo: command not found
              
              

              –
              cheers, bdream

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

                @bdream CYGWIN and MINW don’t allow sudo operations, as they don’t control the machine directly

                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 yeah, that is I don’t know what and how to do. And it sounds like a big lack of knowledge on my side…

                  –
                  cheers, bdream

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

                    @bdream try, this, may not work

                    curl -sL https://deb.nodesource.com/setup_10.x | bash -
                    

                    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 it don’t work

                      $ curl -sL https://deb.nodesource.com/setup_10.x | bash -
                      
                      ## Installing the NodeSource Node.js 10.x repo...
                      
                      
                      ## Populating apt-get cache...
                      
                      + apt-get update
                      bash: apt-get: command not found
                      Error executing command, exiting
                      
                      

                      –
                      cheers, bdream

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

                        @bdream yeh, figured

                        if u have windows 10, you could install the ubuntu support, MM will install and run (in serveronly mode) there.

                        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

                          then I will start thinking update to Windows10, latest in case I get trouble with MM 2.6.0

                          –
                          cheers, bdream

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

                            @bdream 2.9 is current version.

                            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

                              that is, why I wnated to update to 2.9

                              –
                              cheers, bdream

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

                                @BD0G said in Anyone want to try updated installer...:

                                XXABI_1.3.9’ not found (required by node) node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: versionGLIBCXX_3.4.21’

                                I have found a fix, allowing jessie to continue to work… added fix to latest installer…
                                thanks for your help

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 2
                                • swvalentiS Offline
                                  swvalenti Project Sponsor
                                  last edited by

                                  Tried using the updated install script but get this error. I did killall node
                                  and it said that node: no process found

                                  install log being saved to /home/pi/MagicMirror/installers/install.log
                                  No LSB modules are available.
                                  Updating packages ...
                                  Installing helper tools ...
                                  Reading package lists... Done
                                  Building dependency tree       
                                  Reading state information... Done
                                  build-essential is already the newest version (12.3).
                                  curl is already the newest version (7.52.1-5+deb9u9).
                                  git is already the newest version (1:2.11.0-3+deb9u4).
                                  unzip is already the newest version (6.0-21+deb9u2).
                                  wget is already the newest version (1.18-5+deb9u3).
                                  The following packages were automatically installed and are no longer required:
                                    coinor-libipopt1v5 libcommon-sense-perl libdbi1 libencode-locale-perl
                                    libfile-which-perl libhttp-daemon-perl libhttp-date-perl
                                    libhttp-message-perl libio-html-perl libipc-sharelite-perl libjson-perl
                                    libjson-xs-perl liblwp-mediatypes-perl libmumps-seq-4.10.0 libraw15 librrd8
                                    librrds-perl libtimedate-perl libtypes-serialiser-perl liburi-perl realpath
                                  Use 'sudo apt autoremove' to remove them.
                                  0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
                                  Check current Node installation ...
                                  Node currently installed. Checking version number.
                                  Minimum Node version: v10.1.0
                                  Installed Node version: v9.11.2
                                  Node should be upgraded.
                                  A Node process is currently running. Can't upgrade.
                                  Please quit all Node processes and restart the installer.
                                  pi@raspberrypi:~ $ 
                                  pi@raspberrypi:~ $ killall node
                                  node: no process found
                                  pi@raspberrypi:~ $ 
                                  
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @swvalenti
                                    last edited by sdetweil

                                    @swvalenti the code is doing a

                                    pgrep "node"
                                    

                                    to test, do

                                    ps -ef | grep node 
                                    

                                    so, they are usually running as /usr/bin/node, killall won’t kill those

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    swvalentiS 1 Reply Last reply Reply Quote 0
                                    • swvalentiS Offline
                                      swvalenti Project Sponsor @sdetweil
                                      last edited by

                                      @sdetweil said in Anyone want to try updated installer...:

                                      ps -ef | grep node

                                      pi@raspberrypi:~ $ ps -ef | grep node 
                                      pi        5623  5392  0 13:11 pts/0    00:00:00 grep --color=auto node
                                      pi       19082   648  0 Nov12 ?        00:51:53 node /home/pi/node-sonos-http-api/server.js
                                      
                                      

                                      I dont even have this module anymore I thought it was deleted…what do I need to do in order to make the update work?

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

                                        @swvalenti said in Anyone want to try updated installer...:

                                        19082

                                        kill -9 19082

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • swvalentiS Offline
                                          swvalenti Project Sponsor
                                          last edited by

                                          Still won’t work did the kill command

                                          pi@raspberrypi:~ $ kill -9 19082
                                          pi@raspberrypi:~ $ 
                                          pi@raspberrypi:~ $ bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
                                          
                                          
                                          $$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$\
                                          $$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                        $$  __$$\
                                          $$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  \__/  $$ |
                                          $$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\  $$$$$$  |
                                          $$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |  \__|$$ /  $$ |$$ |  \__|$$  ____/
                                          $$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
                                          $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |      \$$$$$$  |$$ |      $$$$$$$$\
                                          \__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|       \______/ \__|      \________|
                                                                 $$\   $$ |
                                                                 \$$$$$$  |
                                                                  \______/
                                          
                                          install log being saved to /home/pi/MagicMirror/installers/install.log
                                          No LSB modules are available.
                                          Updating packages ...
                                          Installing helper tools ...
                                          Reading package lists... Done
                                          Building dependency tree       
                                          Reading state information... Done
                                          build-essential is already the newest version (12.3).
                                          curl is already the newest version (7.52.1-5+deb9u9).
                                          git is already the newest version (1:2.11.0-3+deb9u4).
                                          unzip is already the newest version (6.0-21+deb9u2).
                                          wget is already the newest version (1.18-5+deb9u3).
                                          The following packages were automatically installed and are no longer required:
                                            coinor-libipopt1v5 libcommon-sense-perl libdbi1 libencode-locale-perl
                                            libfile-which-perl libhttp-daemon-perl libhttp-date-perl
                                            libhttp-message-perl libio-html-perl libipc-sharelite-perl libjson-perl
                                            libjson-xs-perl liblwp-mediatypes-perl libmumps-seq-4.10.0 libraw15 librrd8
                                            librrds-perl libtimedate-perl libtypes-serialiser-perl liburi-perl realpath
                                          Use 'sudo apt autoremove' to remove them.
                                          0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
                                          Check current Node installation ...
                                          Node currently installed. Checking version number.
                                          Minimum Node version: v10.1.0
                                          Installed Node version: v9.11.2
                                          Node should be upgraded.
                                          A Node process is currently running. Can't upgrade.
                                          Please quit all Node processes and restart the installer.
                                          pi@raspberrypi:~ $ 
                                          pi@raspberrypi:~ $ kill -9 19082
                                          bash: kill: (19082) - No such process
                                          pi@raspberrypi:~ $ 
                                          pi@raspberrypi:~ $ bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
                                          
                                          
                                          $$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$\
                                          $$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                        $$  __$$\
                                          $$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  \__/  $$ |
                                          $$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\  $$$$$$  |
                                          $$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |  \__|$$ /  $$ |$$ |  \__|$$  ____/
                                          $$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
                                          $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |      \$$$$$$  |$$ |      $$$$$$$$\
                                          \__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|       \______/ \__|      \________|
                                                                 $$\   $$ |
                                                                 \$$$$$$  |
                                                                  \______/
                                          
                                          install log being saved to /home/pi/MagicMirror/installers/install.log
                                          No LSB modules are available.
                                          Updating packages ...
                                          Installing helper tools ...
                                          Reading package lists... Done
                                          Building dependency tree       
                                          Reading state information... Done
                                          build-essential is already the newest version (12.3).
                                          curl is already the newest version (7.52.1-5+deb9u9).
                                          git is already the newest version (1:2.11.0-3+deb9u4).
                                          unzip is already the newest version (6.0-21+deb9u2).
                                          wget is already the newest version (1.18-5+deb9u3).
                                          The following packages were automatically installed and are no longer required:
                                            coinor-libipopt1v5 libcommon-sense-perl libdbi1 libencode-locale-perl
                                            libfile-which-perl libhttp-daemon-perl libhttp-date-perl
                                            libhttp-message-perl libio-html-perl libipc-sharelite-perl libjson-perl
                                            libjson-xs-perl liblwp-mediatypes-perl libmumps-seq-4.10.0 libraw15 librrd8
                                            librrds-perl libtimedate-perl libtypes-serialiser-perl liburi-perl realpath
                                          Use 'sudo apt autoremove' to remove them.
                                          0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
                                          Check current Node installation ...
                                          Node currently installed. Checking version number.
                                          Minimum Node version: v10.1.0
                                          Installed Node version: v9.11.2
                                          Node should be upgraded.
                                          A Node process is currently running. Can't upgrade.
                                          Please quit all Node processes and restart the installer.
                                          pi@raspberrypi:~ $ 
                                          pi@raspberrypi:~ $ 
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @swvalenti
                                            last edited by

                                            @swvalenti looks like it gets restarted…

                                            again… you killed it before u ran installer

                                            ps -ef | grep node

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            swvalentiS 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
                                            • 3
                                            • 4
                                            • 5
                                            • 10
                                            • 11
                                            • 3 / 11
                                            • 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