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.

    cannot get Raspberry pi 2 to run

    Scheduled Pinned Locked Moved Solved Troubleshooting
    39 Posts 2 Posters 15.0k Views 2 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.
    • T Offline
      theaddies @sdetweil
      last edited by

      @sdetweil Log file sent.

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

        @theaddies got the log,let’s try this

        in terminal window, pm2 stop all

        cd ~/MagicMirror
        ./run-start.sh
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          theaddies @sdetweil
          last edited by

          @sdetweil I get this.

          Ready to go! Please point your browser to: http://localhost:8080
          Starting chromium browser now, have patience, it takes a minute
          ./run-start.sh: line 147:  1281 Illegal instruction     "$b" -noerrdialogs -kiosk -start_maximized --new-window --site-per-process --no-zygote --no-sandbox --disable-infobars --app=http://localhost:$port --ignore-certificate-errors-spki-list --ignore-ssl-errors --ignore-certificate-errors --user-data-dir=$r 2> /dev/null
          
          
          T S 2 Replies Last reply Reply Quote 0
          • T Offline
            theaddies @theaddies
            last edited by

            @theaddies The way I want to run the mirror is that it automatically opens and displays the mirror at boot. I sometimes see things for serveronly and I am not sure if that is what is being configured. I don’t think that is what I want.

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

              @theaddies ok, a little more info

              type in terminal window

              which chromium
              which chromium-browser

              they should return the file path to one of those

              whichever gives a path copy paste that in the terminal window

              and see if it will start

              I’ve never seen a pi 2, but this all works on pi 0w, also armv6l

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @theaddies because there is no electron browser anymore for armv6l

                I change the setup to serveronly, and then launch chrome browser over the server. you get the same result

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  theaddies @sdetweil
                  last edited by

                  @sdetweil

                  /usr/bin/chromium-browser
                  Illegal Instruction
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @theaddies
                    last edited by

                    @theaddies ok, so there is that problem

                    oh, which raspi os image are you using?

                    MUST be the legacy image, 32 bit

                    lsb_release - a

                    will tell us

                    if buster is legacy

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      theaddies @sdetweil
                      last edited by

                      @sdetweil ```
                      No LSB modules are available.
                      Distributor ID: Raspbian
                      Description: Raspbian GNU/Linux 11 (bullseye)
                      Release: 11
                      Codename: bullseye

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

                        @theaddies yep, can’t run bullseye on armv6l

                        must be the legacy image, buster

                        SOOO
                        reflash SD card w buster and run install again

                        chromium is compiled for armv7, so instructions armv6 doesn’t have, this illegal instruction error

                        need to add another test to install

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          theaddies @sdetweil
                          last edited by

                          @sdetweil Oh wow. Sorry for all the trouble. What a pain.

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

                            @theaddies no worries.

                            I’ll update install to end if not buster on armv6l,
                            then u would have known

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              theaddies @sdetweil
                              last edited by

                              @sdetweil Thanks for all the help. I have several pi4s I just want to use the model 2 because the mirror is a perfect application for the older computer.

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

                                @theaddies understood

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                T 1 Reply Last reply Reply Quote 0
                                • T Offline
                                  theaddies @sdetweil
                                  last edited by theaddies

                                  @sdetweil After I run the install script, what do I do. Since the script disables the screen saver and configures the Mirror to autostart I thought I would not need to do anything else. However, pm2 status all reveals that there is nothing running. I run pm2 status all and it is blank.

                                  I am not sure if I should follow the process in the link below.
                                  https://howchoo.com/g/ntcymzbimjv/how-to-install-magic-mirror-on-your-raspberry-pi

                                  When I reboot the mirror I get the magicmirror2 logo showing up and it seems to be booting up but then the screen goes blank and I have nothing. It is almost like it reboots the pi.

                                  S 2 Replies Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @theaddies
                                    last edited by

                                    @theaddies send me the ~/install.log

                                    and do the same chromium
                                    and
                                    ./run-start.sh
                                    tests

                                    lsb_release -a

                                    to confirm buster

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      @theaddies you should not need to do anything. it should be setup to autostart

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      T 1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        theaddies @sdetweil
                                        last edited by

                                        @sdetweil

                                        lsb_release -a
                                        No LSB modules are available.
                                        Distributor ID: Raspbian
                                        Description:    Raspbian GNU/Linux 10 (buster)
                                        Release:        10
                                        Codename:       buster
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          theaddies @sdetweil
                                          last edited by

                                          @sdetweil for which chromium or which chromium-browswer I get nothing returned.

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

                                            @theaddies interesting, log says one of them got installed

                                            Unpacking chromium-browser (92.0.4515.98~buster-rpt2)

                                            note u had an extra w in the text on last message

                                            browswer
                                            pm2 setup for autostart having trouble…

                                            you do

                                            pm2 autostart
                                            and it gives you the command to execute to make that happen

                                            then it says it can’t find the systemd init system to update, after it just said that is the one to use…
                                            will have to research and debug

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            T 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
                                            • 2 / 2
                                            • 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