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.

    YAPi0 Installer Stretch Lite

    Scheduled Pinned Locked Moved General Discussion
    118 Posts 4 Posters 93.7k 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.
    • S Offline
      sdetweil @bdream
      last edited by

      @bdream try my updated installer, I am working to get this to replace the current version…

      see https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer
      others have reported it works ok on Pi zero

      rename the MagicMirror folder or remove it before running 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

        ok, many thanks! :grinning_face: I will try it now.
        Just deleted the MagicMirror folder…

        If I understand you correctly the new script will replace the old one as:

        ~~curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash~~
        
        bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
        
        

        but all other in your manual will stay. Right?

        CU, bdream

        –
        cheers, bdream

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

          @bdream the installer also fixes pm2 and the screen saver
          and creates a log of the install process results

          i don’t think u will need the other steps in the pi0 manual anymore

          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

            thanks for this info, so I know what to do if my attempt to fix first installation only by deleting /MagicMirror and start your script fails :frowning_face: :winking_face:. And it failed :frowning_face:

            I get a new “Raspbian Buster Lite” now and start again :nerd_face:

            Will let you know about the outcome. It will take long time :sleeping_face:

            Best gerads, bdream

            –
            cheers, bdream

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

              @bdream said in YAPi0 Installer Stretch Lite:

              start your script fails . And it failed

              please post the contents of ~/install.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
                bdream
                last edited by

                Ohh sdetweil, my bad. I overwrote the SD-card already with the new image. I have to learn how to work with forum and being sensitive for upcoming questions/requests.

                For now I started your script again an it seems it’s running :sleeping_face:

                I wonder as I have on screen a warning

                npm WARN npm npm does not support Node.js v10.15.2
                npm WARN npm You should probably upgrade to a newer version of node as we
                npm WARN npm can't make promises that npm will work with this version.
                npm WARN npm Supported releases of Node.js are the latest releases of 4, 6, 7, 8, 9.
                npm WARN npm You can find the latest version at https://nodejs.org/
                /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
                /usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
                + npm@6.11.3
                added 430 packages from 833 contributors in 433.321s
                npm installation Done!
                Cloning MagicMirror ...
                Klone nach 'MagicMirror' ...
                remote: Enumerating objects: 315, done.
                remote: Counting objects: 100% (315/315), done.
                remote: Compressing objects: 100% (282/282), done.
                remote: Total 315 (delta 39), reused 193 (delta 21), pack-reused 0
                Empangene Obekte: 100% (315/315), 655.08 KiB | 867.00 KiB/s, Fertig.
                Löse Unterschiede auf: 100% (39/39), Fertig.
                Cloning MagicMirror Done!
                Installing dependencies ...
                npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
                
                > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
                > node ./download-chromedriver.js
                

                That is the position cursor is blinking and nothing change since a long time.

                Here you are the install.log from actual running? installation.

                install starting  - So Sep 22 18:22:15 CEST 2019
                installing on armv6l processor system
                forcing armv71 architecture for pi 0
                Updating packages ...
                Installing helper tools ...
                Check current Node installation ...
                Node.js is not installed.
                Installing Node.js ...
                Node.js installation Done! version=v10.15.2
                Check current NPM installation ...
                npm is not installed.
                Installing npm ...
                upgrading npm to latest
                npm installation Done!
                Cloning MagicMirror ...
                Cloning MagicMirror Done!
                Installing dependencies ...
                

                Cheers, bdream

                –
                cheers, bdream

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

                  Oh boy, so bad.

                  Maybe I don’t understand what I’m doing here.

                  install.log has not changed but MM ist also not running.
                  After I stopped above stated blinking curser with Ctrl - C

                  > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
                  > node ./download-chromedriver.js
                  

                  I did install MM

                  cd ~/MagicMirror
                  npm install
                  

                  after I did

                  npm install pm@latest -g
                  

                  what failed.
                  I’m :pouting_face:
                  Do I go total wrong way here?
                  Where is my fault?

                  Maybe it’s that I’m not clear in what will your script do and what have I to do additional and in which sequence?

                  Have you any advise to me please?

                  Many thanks fpor your help! bdream

                  –
                  cheers, bdream

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

                    @bdream my script should do EVERYTHING…

                    the chromedriver install had a problem…

                    can u do this

                    cd /home/pi/MagicMirror/node_modules/electron-chromedriver
                    node ./download-chromedriver.js
                    

                    and show me what the results are…

                    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

                      Hi Sam,
                      as I get Error replaying with code inside: 0_1569315660505_Error.JPG
                      I will attach requested resukt as jpg-file 0_1569315787927_result.JPG

                      cheers, bdream

                      –
                      cheers, bdream

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

                        @bdream
                        hmm…

                        try this from the MagicMirror folder

                        npm install  --arch=armv7l electron-chromedriver@1.8.0
                        

                        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
                        • 6
                        • 7
                        • 11
                        • 12
                        • 5 / 12
                        • 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