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.

    Help getting Magic mirror running on Ubuntu Server 16.04.4 LTS as a SERVER

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 4 Posters 3.9k Views 4 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.
    • AlvingerA Offline
      Alvinger
      last edited by

      @j-lewis,
      For some reason your config.js file is missing or inaccessible. Can you issue the command
      ls -l /home/ubuntu/MagicMirror/config
      and post the output. It would also be easier to help if you can post the content of the file /home/ubuntu/MagicMirror/config/config.js.

      J 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @j-lewis
        last edited by

        @j-lewis said in Help getting Magic mirror running on Ubuntu Server 16.04.4 LTS as a SERVER:

        Entered the repository: cd ~/MagicMirror
        Installed: sudo npm install

        Installing dependencies for MM using sudo causes permissions problems

        Create a working config
        How to add modules

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          j-lewis @Alvinger
          last edited by yawns

          ubuntu@UbuntuMagic:~$ ls -l /home/ubuntu/MagicMirror/config
          total 4
          -rw-rw-r-- 1 ubuntu ubuntu 2615 Mar  6 20:19 config.js.sample
          ubuntu@UbuntuMagic:~$ more /home/ubuntu/MagicMirror/config
          
          *** /home/ubuntu/MagicMirror/config: directory ***
          

          I think the issue is with the binding on NPM as it’s only binding to the localhost and not to the IP address of the machine.

          1 Reply Last reply Reply Quote 0
          • J Offline
            j-lewis @Mykle1
            last edited by j-lewis

            @Mykle1 Correct. That was a typo as I was initially having install problems, so I removed the install and did it again without the sudo. The log/error above is after doing the install without the sudo. Sorry for any confusion!

            I think the main issue is with the NPM binding… any idea how to fix that?

            1 Reply Last reply Reply Quote 0
            • yawnsY Offline
              yawns Moderator
              last edited by

              the file needs to be config.js, the existing file config.js.sample is just a sample and will be ignored

              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