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.

    troublems with systemd and serveronly

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 2 Posters 589 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 @dnj0104
      last edited by

      @dnj0104 is the vm with desktop.or only text mode?

      I hate systemd setup, it is SO sensitive to os details.

      that is why i use pm2 ( node process manager) in my Installation script.

      try my script fixuppm2
      see
      https://github.com/sdetweil/MagicMirror_scripts

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dnj0104 @sdetweil
        last edited by

        @sdetweil the VM has only terminal interface I access it with ssh

        oo cool script. shall i run it inside my MagicMirror directory or outside in my user directory or in my root folder ?

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

          @dnj0104 script doesn’t care where it is run. assumes ~/MagicMirror

          you would delete the systemd stuff.

          I have not tried the script on cli mode only

          it uses the script at
          ~,/MagicMirror/installers/mm.sh

          it is trying to do npm start
          change it to npm run server
          or node serveronly

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dnj0104 @sdetweil
            last edited by

            @sdetweil

            Thanks! I will try that, seems smooth.

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              dnj0104 @dnj0104
              last edited by

              @sdetweil

              It worked with the pm2 way ! thanks

              In mm.sh I wrote npm run server and everything is up n runnin again .

              Thanks again !

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

                @dnj0104 awesome! 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 sdetweil has marked this topic as solved on
                • 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