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.

    fixuppm2.sh

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 135 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.
    • S Offline
      sdetweil @Assassins
      last edited by sdetweil

      @Assassins -g means it’s available globally across the system
      You can execute it in every folder
      AND globally means adding to the /usr folder tree which require root authority (sudo)

      Without means you have to be in the folder tree where you did npm install, AND If the install folder is NOT in the path, then you have to prefix pm2 with the correct path EVERY TIME

      I think this also breaks boot time support which is the primary value, in my opinion

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      AssassinsA 1 Reply Last reply Reply Quote 0
      • AssassinsA Offline
        Assassins @sdetweil
        last edited by

        @sdetweil said in fixuppm2.sh:

        @Assassins -g means it’s available globally across the system
        You can execute it in every folder
        AND globally means adding to the /usr folder tree which require root authority (sudo)

        Without means you have to be in the folder tree where you did npm install, AND If the install folder is NOT in the path, then you have to prefix pm2 with the correct path EVERY TIME

        I think this also breaks boot time support which is the primary value, in my opinion

        But your script works fine now that I have installed pm2

        S 1 Reply Last reply Reply Quote 0
        • AssassinsA Assassins has marked this topic as solved
        • S Offline
          sdetweil @Assassins
          last edited by

          @Assassins which script?
          And how did you install it. -g or not

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          AssassinsA 1 Reply Last reply Reply Quote 0
          • AssassinsA Offline
            Assassins @sdetweil
            last edited by

            @sdetweil said in fixuppm2.sh:

            @Assassins which script?

            bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”

            And how did you install it. -g or not

            With -g
            My second test was without -g and it works there too

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

              @Assassins weird

              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