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

MM2 on my own web server

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 4.9k Views 1 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.
  • T Offline
    TomasZmuda
    last edited by Jul 27, 2016, 8:53 PM

    Hi guys,

    now I’m using MM1 on my own web server without any problem. I’m trying to run MM2 on my server too, but there is only blank page. http://mirror.zmuda.cz/my_2016_2/

    Config is copied and set I hope correctly.

    Thank you for advice.

    Tomas

    1 Reply Last reply Reply Quote 0
    • K Offline
      KirAsh4 Moderator
      last edited by Jul 27, 2016, 9:04 PM

      A whole lot of information is missing here … let’s start with the disclaimer:

      “Running MagicMirror² on anything other than the supported hardware (Raspberry Pi 2 or 3) is not supported. If you choose to run it on hardware other than that, you are going to have to figure things out on your own.”

      That said, it is possible, and also rather easy to do. But there’s a lot here we don’t know:

      1. what server, what is it running for operating system?
      2. what have you done, step-by-step, speciffically (don’t just say ‘I installed MM²’ because that doesn’t help)?
      3. how are you attempting to launch MM²?
      4. how are you attempting to view MM²?
      5. have you checked your screen output, or logs?

      A Life? Cool! Where can I download one of those from?

      1 Reply Last reply Reply Quote 0
      • T Offline
        TomasZmuda
        last edited by Jul 28, 2016, 6:43 AM

        @KirAsh4

        Hi, thank you for reply. So my MM1 is working on http://mirror.zmuda.cz/my_2016, so I hope, that MM2 will working too.

        1. Linux with Apache.
        2. I’ve just copied all files to FTP and edited config.
        3. Same as MM1, as a web page, and Raspberry after boot open Chromium with this web page.
        4. My mirror is finished https://forum.magicmirror.builders/topic/404/czech-mirror-in-ikea-lillången/6
        5. Yes, there are some js error, but I don’t know how to fix them. alt text
        1 Reply Last reply Reply Quote 0
        • K Offline
          KirAsh4 Moderator
          last edited by Jul 28, 2016, 3:39 PM

          MM² does not need a web server, it’s built in. You need to run it as a 'serveronly' setup though. This is what I did on my unix servers (I have one at the office, and one at home, plus two rpis, all running MM²):

          Except for the very first step, all commands should be executed as an unprivileged user. First command needs to be performed as root, or equivalent system user.

          • Make sure node.js it up to date with at least version 6.0.0
          • Clone the Github repository (find instructions on manual install here https://github.com/MichMich/MagicMirror/#manual-installation
          • cd into the MagicMirror folder and run 'npm install'
          • Check/Edit the config/config.js file to match your configuration, specifically the port
          • run node serveronly
          • open web browser (anywhere on the network) and visit http://: (for example http://my.cool.server:8080)

          Done. As I said, MM² does not require a web server for it to work, it’s built into node.

          A Life? Cool! Where can I download one of those from?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            2/4
            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