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.

    new script to install/fix PM2 config for start on boot

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 3 Posters 2.7k Views 5 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
      last edited by sdetweil

      i have just created a script for pm2 setup only…

      bash -c  "$(curl -sL  https://www.dropbox.com/s/cy2z7lbkpifcbrk/fixuppm2.sh?dl=0)"
      

      this will remove any current MM definition and create a new one
      install pm2 if need be, and set it up for restart on boot…

      I also replicated this code in the installer to fix the problems there

      all these scripts (raspberry.sh, update-script.sh and fixuppm2.sh) now create log files of their processing

      let me know how it goes…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      mumblebajM 1 Reply Last reply Reply Quote 2
      • mumblebajM Offline
        mumblebaj Module Developer @sdetweil
        last edited by

        @sdetweil said in new script to install/fix PM2 config for start on boot:

        https://www.dropbox.com/s/cy2z7lbkpifcbrk/fixuppm2.sh?dl=0)

        Nice one buddy :thumbs_up:

        Check out my modules at: https://github.com/mumblebaj?tab=repositories

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

          @sdetweil said in new script to install/fix PM2 config for start on boot:

          bash -c “$(curl -sL https://www.dropbox.com/s/cy2z7lbkpifcbrk/fixuppm2.sh?dl=0)”

          i added a couple fixes in case pm2 was already installed but didn’t work…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 2
          • S Offline
            Smolo
            last edited by

            I have now searched 2h where the problem lies and that with a fresh installation without deviations!

            With your script it ran immediately :-) Thank you very much.

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

              @Smolo thanks for the feedback!

              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
                last edited by

                I have submitted this script as part of pull request 1789

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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