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.

    Step by step guide to MagicMirror on Ubuntu 22 server?

    Scheduled Pinned Locked Moved General Discussion
    10 Posts 2 Posters 2.6k 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.
    • E Offline
      eqpaisley @sdetweil
      last edited by

      @sdetweil oh sorry - a vps is a remote, virtual machine. but it functions exactly like a low power (2cores 8g of ram) ARM machine.

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

        @eqpaisley does it have a local UI?

        if not, then you do
        npm run server
        to execute the server
        and then view with a browser somewhere else

        there is one install, and three different run modes
        full
        server
        client

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • E Offline
          eqpaisley @sdetweil
          last edited by

          @sdetweil great ty. Yeah the plan is to run this non-gui version in server mode. I’ll need to edit the config to allow remote connections from my IPs and open the right ports, etc it will be a process lol but I think I can sort it out.

          1 Reply Last reply Reply Quote 1
          • E Offline
            eqpaisley @sdetweil
            last edited by

            @sdetweil could you remind me of the command to run NPM RUN SERVER in the background so it won’t quit when I close my SSH session?

            Also, if I need to re-run the server (let’s say I update the config or add a module) how do I do that?

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

              @eqpaisley if u setup pm2, then

              pm2 status will show u the managed apps

              pm2 --help will show u all the things it can do

              pm2 start
              pm2 restart
              pm2 stop
              pm2 info

              all take the name of the app, or the number

              if u setup pm2 q my script then it launches
              MagicMirror/installers/mm.sh

              change the npm start to npm run server

              if u didn’t setup pm2, then the script on my script
              fixuppm2.sh will do that

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                eqpaisley @sdetweil
                last edited by

                @sdetweil Thanks! I ended up setting up a magicmirror.service. now I use

                sudo service magicmirror resart
                

                after each tweak to my config. I have it up and running on a free oracle cloud instance and behind a reverse proxy.

                I guess the danger there is that anyone with the URL can access it…but they’d have to guess the URL…right?

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

                  @eqpaisley right

                  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