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.

    Setting Up Magic Mirror on Ubuntu issue

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    11 Posts 5 Posters 3.7k Views 5 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @DuhCompuder
      last edited by

      @duhcompuder said in Setting Up Magic Mirror on Ubuntu issue:

      I’m going to stick with Raspbian for now

      I don’t know if this matters but I use ubuntu 16.04 LTS exclusively on several machines, including my dev machine. The one time I tried to install MM on ubuntu 18.xx I encountered all the vulnerabilities that you are talking about. I immediately wiped the machine and installed ubuntu 16.04 LTS. Then I installed MM without a single problem. That includes the most current MM, v2.6.0

      Create a working config
      How to add modules

      T 1 Reply Last reply Reply Quote 1
      • T Offline
        THeStigh @Mykle1
        last edited by THeStigh

        @mykle1 said in Setting Up Magic Mirror on Ubuntu issue:

        @duhcompuder said in Setting Up Magic Mirror on Ubuntu issue:

        I’m going to stick with Raspbian for now

        I don’t know if this matters but I use ubuntu 16.04 LTS exclusively on several machines, including my dev machine. The one time I tried to install MM on ubuntu 18.xx I encountered all the vulnerabilities that you are talking about. I immediately wiped the machine and installed ubuntu 16.04 LTS. Then I installed MM without a single problem. That includes the most current MM, v2.6.0

        @Mykle1

        I’ve just installed Ubuntu 14.04 on my laptop (to get full support for Snowboy), but when I run ‘npm start’, it starts the application but dont “open the magicmirror”. I can use my browser to dial into it.

        Do you know if I need to add something extra to make it show upon running the application?

        I run GNOME as desktop.

        S Mykle1M 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @THeStigh
          last edited by

          @thestigh i just upgraded to 2.6.0

          this is what I see in the console window when I do npm start, obviously some of these modules are specific for my system

          Starting MagicMirror: v2.6.0
          Loading config ...
          Loading module helpers ...
          No helper found for module: alert.
          handler helper in init
          Module helper loaded: MMM-SleepWake
          Initializing new module helper ...
          Module helper loaded: MMM-ImagesPhotos
          Initializing new module helper ...
          Module helper loaded: MMM-voice
          Initializing new module helper ...
          Module helper loaded: WaterLevels
          All module helpers loaded.
          Starting server on port 8086 ...
          Server started ...
          Connecting socket for: MMM-SleepWake
          handler helper in start
          Connecting socket for: MMM-ImagesPhotos
          Starting node helper for: MMM-ImagesPhotos
          Connecting socket for: MMM-voice
          Starting module helper: MMM-voice
          Connecting socket for: WaterLevels
          Starting module: WaterLevels
          Sockets connected & modules started ...
          Launching application.
          

          do you see anything different?

          npm start  dev
          

          would open the developers console, and then change to the console tab to check for any errors (red text)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @THeStigh
            last edited by Mykle1

            @thestigh said in Setting Up Magic Mirror on Ubuntu issue:

            Do you know if I need to add something extra to make it show upon running the application?

            No, you shouldn’t need anything “extra” although I only use ubutnu 16.04 LTS. I’m reading through some posts that mention the same exact problem that you’re experiencing, where MM is running but can only be seen remotely.

            As suggested by @sdetweil, run npm start dev in your MagicMirror directory and choose the Console tab in the resulting window. Then copy/paste/report any errors there and/or in your terminal.

            You might also want to make sure that all updates have been performed on your current ubuntu installation as well as ensuring that you have current stable versions of node and npm.

            Create a working config
            How to add modules

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

              also check the node and npm versions,

              node -v
              

              and

              npm -v
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • T Offline
                THeStigh
                last edited by

                Guys, I’m giving up this task of getting Debian/Ubuntu running on an amd64 with MMM-Hotword. I again are getting the “invalid pointer” error.

                Perhaps this is happening only on amd64 distro and would not happen on i386 (32bit).
                If I’m going to test it? Maybe, but returning back to my Pi and Tinker Board for now…

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