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.

    MMM-Remote-Control Help

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 849 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.
    • M Offline
      mmcghee
      last edited by

      Hi Guys,

      i have installed the module and updated my config.js file and i am able to connect to the remote.

      However i am getting the below message when i run npm run start on MagicMirror

      [2020-08-06 21:40:58.178] [ERROR] MODULE LIST ERROR: modules.json updating fail
      :EACCES: permission denied, open '/home/pi/MagicMirror/modules/MMM-Remote-Control/modules.json'
      [2020-08-06 21:40:58.179] [ERROR] ERROR_UPDATING
      [2020-08-06 21:40:59.566] [INFO] Checking git for module: MMM-Remote-Control
      [2020-08-06 21:40:59.645] [ERROR] error: cannot open .git/FETCH_HEAD: Permission denied
      

      Also whenever i make any changes with the remote i get the below error also:

      [2020-08-06 21:48:57.332] [ERROR] Whoops! There was an uncaught exception...
      [2020-08-06 21:48:57.333] [ERROR] [Error: EACCES: permission denied, open '/home/pi/MagicMirror/modules/MMM-Remote-Control/settings.json'] {
      errno: -13,
      code: 'EACCES',
      syscall: 'open',
      path: '/home/pi/MagicMirror/modules/MMM-Remote-Control/settings.json'
      }
      [2020-08-06 21:48:57.341] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [2020-08-06 21:48:57.342] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      

      I’m quite new to all this so any help would be greatly appreciated.

      Kind Regards
      Michael

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

        @mmcghee did u you use sudo git clone to install module??? or sudo unzip?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          mmcghee
          last edited by

          Hi,

          i used sudo git clone to install

          Michael

          S 1 Reply Last reply Reply Quote 0
          • M Offline
            mmcghee
            last edited by

            i also tried the automatic install and manual install too

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

              @mmcghee said in MMM-Remote-Control Help:

              i used sudo git clone to install

              NEVER EVER use sudo , unless for specific command…

              SO, now have to fix it…

              here use sudo

              cd ~
              sudo chown -R pi MagicMirror
              

              this will change ownership of all files and folders from MagicMirror on down to pi from root (sudo sets user as root, but be root to take files away from root)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @mmcghee said in MMM-Remote-Control Help:

                i also tried the automatic install and manual install too

                what does that mean?

                only one MM install should be enough, again do NOT use sudo

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mmcghee
                  last edited by

                  Sorry in the MM-Remote-Control git page you have the option of doing either an auto installation or a manual installation. I dont know if the issue i have is something to do with PM2?

                  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