• 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.

Auto-start not working on Pi Zero W

Scheduled Pinned Locked Moved Unsolved Troubleshooting
9 Posts 3 Posters 1.1k 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 @Mason 0
    last edited by sdetweil Nov 25, 2021, 1:52 AM Nov 25, 2021, 1:49 AM

    @mason-0 my setup script configures pm2 to launch installers/mm.sh

    which does npm start

    can u send me the install.log
    same userid at gmail

    pm2 has lots of options

    status
    info

    pm2 --help will show u all the options

    to do start at boot
    you do pm2 start
    and then pm2 save
    to make that restartable at boot

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Nov 25, 2021, 2:30 AM Reply Quote 1
    • S Offline
      sdetweil @sdetweil
      last edited by sdetweil Nov 25, 2021, 2:42 AM Nov 25, 2021, 2:30 AM

      @sdetweil I test my script on the pi0w (and w2) and have to make a special setup on the pi0w as there is no Electron version for armv6l now…

      so I download a script to use to launch MM as server mode and then launch chromium over that as the UI component

      looks and acts the same

      pi0w needs more memory, so u have to increase the swap space

      as the documented platform is FULL desktop, chromium-browser is installed and usable

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • J Offline
        JasperTheWeasel2
        last edited by Dec 11, 2021, 6:28 PM

        @sdetweil I was having the same problem with mine. I tried the pm2 start and it gave me this error [PM2][ERROR] File ecosystem.config.js not found.

        S 1 Reply Last reply Dec 11, 2021, 6:38 PM Reply Quote 0
        • S Offline
          sdetweil @JasperTheWeasel2
          last edited by Dec 11, 2021, 6:38 PM

          @jaspertheweasel2 how did u install pm2

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • J Offline
            JasperTheWeasel2
            last edited by Dec 12, 2021, 6:09 PM

            @sdetweil I used your guide on Github. I ran the master script, then the upgrade-script and upgrade-script apply, then screensaveroff, and last fixuppm2.

            S 1 Reply Last reply Dec 12, 2021, 9:30 PM Reply Quote 0
            • S Offline
              sdetweil @JasperTheWeasel2
              last edited by sdetweil Dec 12, 2021, 10:14 PM Dec 12, 2021, 9:30 PM

              @jaspertheweasel2 only one thing to install

              later when new mm release use upgrade

              if u said no to pm2 during install then fixup lets you add it later.

              no need to run them all at once

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Dec 15, 2021, 3:56 PM Reply Quote 1
              • J Offline
                JasperTheWeasel2 @sdetweil
                last edited by Dec 15, 2021, 3:56 PM

                @sdetweil So how can I fix this? Everything else works except it doesn’t automatically start.

                S 1 Reply Last reply Dec 15, 2021, 4:23 PM Reply Quote 0
                • S Offline
                  sdetweil @JasperTheWeasel2
                  last edited by sdetweil Dec 16, 2021, 2:45 AM Dec 15, 2021, 4:23 PM

                  @jaspertheweasel2 run the fixuppm2 script,

                  happens occasionally don’t know why

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • 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