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 103.9k 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 Do not disturb
      sdetweil @bdream
      last edited by sdetweil

      @bdream

      yes, set as default

      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

        ahh, I have to make it standard ;)
        it works now. That was a hard born (is this I can say in englich? :dizzy_face: )

        RBB

        –
        cheers, bdream

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

          @bdream very hard!!!.. bug in electron I THINK with glibc on buster…

          i think if you went back to raspian stretch it would have worked with electron
          I will test that when my pi 0 gets here

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil many, many thanks to you Sam!

            To recab,
            I need your script, not any Updates and Upgrades of raspbian System, and the last Chat entries?

            Can I run it on Rpi1 also?

            And you woumd prefer Streich instead of Buster?

            –
            cheers, bdream

            B S 2 Replies Last reply Reply Quote 0
            • B Offline
              bdream @bdream
              last edited by

              @bdream excuse my typos!

              –
              cheers, bdream

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

                @bdream said in YAPi0 Installer Stretch Lite:

                I need your script, not any Updates and Upgrades of raspbian System, and the last Chat entries?
                Can I run it on Rpi1 also?

                yes, any pi version, plus odroid, jetson nano, ubuntu, macOS, Sierra-Catalina (all i have tested on)

                And you would prefer Streich instead of Buster?

                the bug is caused by a newer version of glibc (2.28), and buster has that, while stretch has 2.27
                so, i think (will test myself later), with stretch, you would not need to use chrome browser

                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

                  Great Sam!
                  I have next week some time and will try with Pi0 and Pi1 both ways:

                  1. Buster and additions
                  2. Strech
                    let you know results.

                  For now I will close this threat as solved

                  :smiling_face_with_open_mouth_closed_eyes: :grinning_face: :smiling_face_with_open_mouth: :smiling_face_with_open_mouth_smiling_eyes: :hugging_face: :hugging_face: :hugging_face:

                  –
                  cheers, bdream

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

                    @bdream good or bad news, I can create the problem on stretch on my pi0 w

                    so, more work to do figure out the problem…

                    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 YAPi0 Installer Stretch Lite:

                      I can create the problem on stretch on my pi0 w

                      You got your Pi0W :clapping_hands: have fun with this little thing :winking_face:

                      …so no need to get strech installed instead of buster?

                      –
                      cheers, bdream

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

                        @sdetweil said in YAPi0 Installer Stretch Lite:

                        chromium-browser -kiosk -start_maximized http://localhost:8080

                        just added -noerrdialogs getting rid of any messages from the browser.

                        chromium-browser -noerrdialogs -kiosk -start_maximized http://localhost:8080
                        

                        –
                        cheers, bdream

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

                          @bdream would u be willing to look at some new options for your environment? see this topic

                          https://forum.magicmirror.builders/topic/11433/proposed-new-processing-and-config-for-pi0-armv6-and-serveronly-mode

                          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 Hi Sam, u ask me to exchange my run-start.sh with your mentioned input?
                            and do a reboot?

                            –
                            cheers, bdream

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

                              @bdream really do you think it is a good idea?

                              if u want to try it

                              3 changes

                              1. replace file (save old one)
                              2 chmod +x run-start.sh
                              3. edit package,json
                                  change 
                                        "start": "sh run-start.sh",
                                   to 
                                        "start": "./run-start.sh",
                              

                              for install we would move electron to the optional section, so install will finish ok

                                	"optionalDependencies": {
                              	  "electron": "^3.0.13"
                              	},
                              

                              wait!!!
                              have to edit 3 lines of new file to fix because of forum

                              		exec 3< < (node serveronly)   # remove space before (
                                     		done < &3      # remove space before &
                                     		exec 3< &-	# remove space before &
                              

                              you should not have to reboot…

                              just

                              pm2 restart 0
                              

                              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

                                At the moment I work on a RPi1!
                                I maked this changes and mm comes up! 0_1571924685916_run-start.sh.JPG

                                I’m just on the way installing Pi0 again. shall I wait until tomorror execuiting u installation script?

                                will be off now until tomorrow morniong.

                                –
                                cheers, bdream

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

                                  @bdream wait… for pi1 what is output of uname -m

                                  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 YAPi0 Installer Stretch Lite:

                                    uname -m

                                    pi@RPi1:~/MagicMirror $ uname -m
                                    armv6l
                                    
                                    

                                    –
                                    cheers, bdream

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

                                      @bdream thank you… so it would work there the same as pi0.

                                      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 good.
                                        I will run your script and will have tomorrow a Pi0 also running again

                                        And it’s great working on old Pi also, even it’s so slow starting.
                                        But if it’s running, it’s fine.

                                        –
                                        cheers, bdream

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

                                          @bdream said in YAPi0 Installer Stretch Lite:

                                          I’m just on the way installing Pi0 again. shall I wait until tomorror execuiting u installation script?

                                          the install script will fail because of the electron problem

                                          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

                                            it will run and I have to update the run-start.sh again and package.json

                                            –
                                            cheers, bdream

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 6 / 6
                                            • 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