• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 7.9k 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 Apr 8, 2023, 6:37 PM

    @sdetweil I just followed the procedure on a pi4 and everything worked great.

    S 1 Reply Last reply Apr 8, 2023, 6:46 PM Reply Quote 0
    • S Away
      sdetweil @theaddies
      last edited by Apr 8, 2023, 6:46 PM

      @theaddies cool

      my pi0w test

      flash sd card with legacy full desktop, 32gb sd card
      edit the wap_supplicant file to enable wifi
      boot
      auto run update
      enable ssh
      change machine name (add a 0) (have others running on the network , pi3, pi4, pi42…)

      reboot

      logon via ssh

      paste my install script url
      run
      select yes to pm2
      select yes to screen saver off

      pm2 install failed
      fixuppm2 script failed

      reboot

      logon via ssh
      run the pm2 startup command
      copy/paste the output to execute pm2 setup again
      worked this time
      run fixuppm2 to add mm as an app…

      mm starts

      reboot

      mm starts

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Apr 8, 2023, 7:14 PM Reply Quote 0
      • T Offline
        theaddies @sdetweil
        last edited by theaddies Apr 8, 2023, 7:15 PM Apr 8, 2023, 7:14 PM

        @sdetweil I am loathed to start the pi2 over again for the fourth time. here is what I have right now. I think I got MagicMirror and mm removed from the pm2. I installed mm when I thought things were not working.
        41751be5-514e-4c1e-a149-5a6cfe629561-image.png

        The HDMI output still does not work. I was thinking now I would run the pm2 startup command although I am sure I already did it and then I would run fixuppm2.

        T 1 Reply Last reply Apr 8, 2023, 7:24 PM Reply Quote 0
        • T Offline
          theaddies @theaddies
          last edited by Apr 8, 2023, 7:24 PM

          @theaddies a72ca281-0f6c-46d7-acb0-844afd32caca-image.png

          S 1 Reply Last reply Apr 8, 2023, 7:48 PM Reply Quote 0
          • S Away
            sdetweil @theaddies
            last edited by Apr 8, 2023, 7:48 PM

            @theaddies yes, it says spawining, so pm2 is not set to autostart

            do

            pm2 startup
            

            it will output a command string, copy paste that command string (last line) and hit enter,
            DO NOT USE MINE BELOW

            pi@raspberrypi0:~ $ pm2 startup
            [PM2] Init System found: systemd
            [PM2] To setup the Startup Script, copy/paste the following command:
            sudo env PATH=$PATH:/usr/local/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
            

            note the error in your post of running my fixuppm2 script
            init system not found

            THAT is the problem… for some reason it cannot figure out HOW to do the correct startup stuff…
            BUT it just said what type to use…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            T 1 Reply Last reply Apr 8, 2023, 9:35 PM Reply Quote 0
            • T Offline
              theaddies @sdetweil
              last edited by Apr 8, 2023, 9:35 PM

              @sdetweil OK So I went ahead and did the whole thing over again for the fourth time with the exact method you outlined. It works. It would be nice to somehow let the next poor sod who wants to waste 2 days of their life of the right way to do this on a pi2.

              S 1 Reply Last reply Apr 8, 2023, 9:39 PM Reply Quote 0
              • S Away
                sdetweil @theaddies
                last edited by Apr 8, 2023, 9:39 PM

                @theaddies I am trying to get a fix for pm2. not our code, so nothing we can force

                glad u got it working

                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
                • 1 / 4
                1 / 4
                • First post
                  37/39
                  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