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

[MMM-Remote-Control] Can not access remote control module

Scheduled Pinned Locked Moved Solved Troubleshooting
7 Posts 2 Posters 649 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.
  • R Offline
    ruffneck2 @sdetweil
    last edited by Jan 6, 2022, 11:22 AM

    @sdetweil said in [MMM-Remote-Control] Can not access remote control module:

    pm2 logs --lines=

    Thanks for your reply.
    I’ve performed pm2 logs --lines=100

    Please find result below:

    /home/pi/.pm2/logs/mm-error.log last 100 lines:
    0|mm       |     at Module._compile (module.js:606:28)
    0|mm       |     at Object.Module._extensions..js (module.js:653:10)
    0|mm       |     at Module.load (module.js:561:32)
    0|mm       |     at tryModuleLoad (module.js:504:12)
    0|mm       |     at Function.Module._load (module.js:496:3)
    0|mm       |     at Module.require (module.js:586:17)
    0|mm       |     at require (internal/module.js:11:18)
    0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/tasks/branch.js:6:24)
    0|mm       | /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/parsers/parse-branch.js:10
    0|mm       |     new utils_1.LineParser(/^(\*\s)?(\S+)\s+([a-z0-9]+)\s(.*)$/s, (result, [current, name, commit, label]) => {
    0|mm       |                            ^
    0|mm       | 
    0|mm       | SyntaxError: Invalid regular expression flags
    0|mm       |     at createScript (vm.js:80:10)
    0|mm       |     at Object.runInThisContext (vm.js:139:10)
    0|mm       |     at Module._compile (module.js:606:28)
    0|mm       |     at Object.Module._extensions..js (module.js:653:10)
    0|mm       |     at Module.load (module.js:561:32)
    0|mm       |     at tryModuleLoad (module.js:504:12)
    0|mm       |     at Function.Module._load (module.js:496:3)
    0|mm       |     at Module.require (module.js:586:17)
    0|mm       |     at require (internal/module.js:11:18)
    0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/tasks/branch.js:6:24)
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | [9288:0105/224644.968557:FATAL:bus.cc(1152)] D-Bus connection was disconnected. Aborting.
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | npm ERR! code ELIFECYCLE
    0|mm       | npm ERR! errno 1
    0|mm       | npm ERR! magicmirror@2.5.0 start: `sh run-start.sh`
    0|mm       | npm ERR! Exit status 1
    0|mm       | npm ERR! 
    0|mm       | npm ERR! Failed at the magicmirror@2.5.0 start script.
    0|mm       | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    0|mm       | 
    0|mm       | npm ERR! A complete log of this run can be found in:
    0|mm       | npm ERR!     /home/pi/.npm/_logs/2022-01-05T21_54_38_745Z-debug.log
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | Failure: Error: connect ECONNREFUSED ::1:5005
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
    0|mm       | App threw an error during load
    0|mm       | /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/parsers/parse-branch.js:10
    0|mm       |     new utils_1.LineParser(/^(\*\s)?(\S+)\s+([a-z0-9]+)\s(.*)$/s, (result, [current, name, commit, label]) => {
    0|mm       |                            ^
    0|mm       | 
    0|mm       | SyntaxError: Invalid regular expression flags
    0|mm       |     at createScript (vm.js:80:10)
    0|mm       |     at Object.runInThisContext (vm.js:139:10)
    0|mm       |     at Module._compile (module.js:606:28)
    0|mm       |     at Object.Module._extensions..js (module.js:653:10)
    0|mm       |     at Module.load (module.js:561:32)
    0|mm       |     at tryModuleLoad (module.js:504:12)
    0|mm       |     at Function.Module._load (module.js:496:3)
    0|mm       |     at Module.require (module.js:586:17)
    0|mm       |     at require (internal/module.js:11:18)
    0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/tasks/branch.js:6:24)
    0|mm       | /home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/parsers/parse-branch.js:10
    0|mm       |     new utils_1.LineParser(/^(\*\s)?(\S+)\s+([a-z0-9]+)\s(.*)$/s, (result, [current, name, commit, label]) => {
    0|mm       |                            ^
    0|mm       | 
    0|mm       | SyntaxError: Invalid regular expression flags
    0|mm       |     at createScript (vm.js:80:10)
    0|mm       |     at Object.runInThisContext (vm.js:139:10)
    0|mm       |     at Module._compile (module.js:606:28)
    0|mm       |     at Object.Module._extensions..js (module.js:653:10)
    0|mm       |     at Module.load (module.js:561:32)
    0|mm       |     at tryModuleLoad (module.js:504:12)
    0|mm       |     at Function.Module._load (module.js:496:3)
    0|mm       |     at Module.require (module.js:586:17)
    0|mm       |     at require (internal/module.js:11:18)
    0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_modules/simple-git/src/lib/tasks/branch.js:6:24)
    0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    0|mm       | MESA-LOADER: failed to retrieve device information
    
    S 1 Reply Last reply Jan 6, 2022, 1:12 PM Reply Quote 0
    • S Offline
      sdetweil @ruffneck2
      last edited by Jan 6, 2022, 1:12 PM

      @ruffneck2 you are running MagicMirror 2.5?

      current is 2.18, and released every 3 months, so 4 years old.

      what node/nom version are you using?
      do

      node -v
      npm -v
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Jan 6, 2022, 4:34 PM Reply Quote 0
      • R Offline
        ruffneck2 @sdetweil
        last edited by Jan 6, 2022, 4:34 PM

        @sdetweil said in [MMM-Remote-Control] Can not access remote control module:

        npm -v

        Node Version is v9.11.2
        NPM Version is 5.6.0

        Yes, unfortunately I’m using MagicMirror 2.5.0, because my mirror is already finished and mounted to the wall.
        In the past I had a lot of trouble after trying to update to a higher version. I had to disassemble the entire system, re-install it to get it working again. To avoid running into same issue once again, I decided to be fine with running system, but now I have found this helpful module and would like to use it to shutdown the system more securely.
        However, does it has to do with incompatible version of the module and old files of node and npm? Should I use an older version of the module instead?

        S 1 Reply Last reply Jan 6, 2022, 4:56 PM Reply Quote 0
        • S Offline
          sdetweil @ruffneck2
          last edited by Jan 6, 2022, 4:56 PM

          @ruffneck2 this is certainly because of the system level …

          I do not know if you can make it work…

          IF you decide to upgrade, make a backup of the MM folder
          and try my upgrade script

          see https://github.com/sdetweil/MagicMirror_scripts

          its a 2 part process…

          1 is test, identify any issues, make no changes
          you fix any issue u want to fix

          if you choose to upgrade then
          2 rerun with ‘apply’ parameter to DO the upgrade (make changes)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply Jan 6, 2022, 5:37 PM Reply Quote 0
          • R Offline
            ruffneck2 @sdetweil
            last edited by Jan 6, 2022, 5:37 PM

            @sdetweil
            I removed the MMM-Remote-Control folder with newest Release version and downloaded and installed an older Release version (1.1.5) and this one is working on my old mirror which is totally fine for me :)
            I’m happy now, so thank you for your efforts and support on this topic. :flexed_biceps_light_skin_tone:

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