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 287.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.
    • 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
            • swvalentiS Offline
              swvalenti Project Sponsor @sdetweil
              last edited by

              @sdetweil that is correct, can I somehow delete this node process as I don’t even use that module anymore?

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

                @swvalenti yes, somehow… I don’t know how it got added…

                can u do a

                pm2 status
                

                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

                  pi@raspberrypi:~ $ pm2 status
                  ┌─────────────┬────┬───────┬────────┬─────────┬─────┬────────┬───────────┐
                  │ Name        │ id │ mode  │ status │ ↺       │ cpu │ memory │
                  ├─────────────┼────┼───────┼────────┼─────────┼─────┼────────┼───────────┤
                  │ mm          │ 1  │ N/A   │ fork   │ stopped │ 176 │ 0%     │ 0 B       │
                  │ omx_stream1 │ 2  │ N/A   │ fork   │ stopped │ 61  │ 0%     │ 0 B       │
                  │ omx_stream2 │ 3  │ N/A   │ fork   │ stopped │ 0   │ 0%     │ 0 B       │
                  │ omx_stream3 │ 4  │ N/A   │ fork   │ stopped │ 0   │ 0%     │ 0 B       │
                  │ server      │ 0  │ 1.6.5 │ fork   │ online  │ 3   │ 0.4%   │ 40.0 MB   │
                  └─────────────┴────┴───────┴────────┴─────────┴─────┴────────┴───────────┘
                   Use `pm2 show <id|name>` to get more details about an app
                  pi@raspberrypi:~ $ 
                  
                  
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @swvalenti
                    last edited by

                    @swvalenti i would guess server

                    pm2 stop server

                    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 Awesome that worked thanks Sam!

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

                        @swvalenti cool… maybe I should dump out the ps -ef list if I find that problem…

                        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 So I renamed the old magicmirror folder and updated. Now the updates stripped modules and config.js. They are not in the new magicmirror folder at all…what gives?

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

                            @swvalenti this is not an update, it is a NEW install…

                            so you have to copy from the old mm folder to the new…

                            if u wanted to UPDATE then u should run the UPDATE script

                            https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing

                            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 Well I am an idiot, so I can just delete the new MagicMirror folder and then run the update in the other?

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

                                @swvalenti yes… UPDATE just gets you the new MagicMirror version. currently 2.9.0

                                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

                                  Thanks Sam

                                  1 Reply Last reply Reply Quote 0
                                  • bheplerB Offline
                                    bhepler Module Developer
                                    last edited by

                                    Huh. I just tried it on a fresh Buster install on a RPI 3B+ and PM2 failed to install correctly. It seems to be a permissions issue.

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

                                      @bhepler show me the log please

                                      ~/install.log

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • bheplerB Offline
                                        bhepler Module Developer
                                        last edited by

                                        It’s not terribly illuminating.

                                        install and setup pm2
                                        pm2 not installed, installing
                                        pm2 install result
                                        get the pm2 platform specific startup command
                                        startup command =
                                        pm2 startup command done
                                        configure the pm2 config file for MagicMirror
                                        start MagicMirror via pm2 now
                                        save MagicMirror pm2 config now
                                        disable screensaver via lxsession
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @bhepler
                                          last edited by

                                          @bhepler hang on, I’ll be back home in a few minutes.

                                          Can u do

                                          pm2 startup

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          bheplerB 1 Reply Last reply Reply Quote 0
                                          • bheplerB Offline
                                            bhepler Module Developer @sdetweil
                                            last edited by bhepler

                                            @sdetweil I already went through the installation procedure to get pm2 installed. That required the npm command to install pm2.

                                            After the initial script run, pm2 start MagicMirror returned a “bash: pm2: command not found” error. Once I got pm2 installed, getting the script monitored by pm2 was easy enough. At a guess, it’s a problem with using sudo to install pm2, but I’m afraid I don’t have the exact error message.

                                            S 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
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 7 / 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