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

Folder opens randomly in magic mirror display mode

Scheduled Pinned Locked Moved Unsolved Troubleshooting
2 Posts 2 Posters 213 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.
  • B Offline
    bma_diy
    last edited by Dec 13, 2022, 12:15 AM

    hello all,

    Randomly, about once a month, my magic mirror will open a folder to the /home/pi directory . There is no mouse or keyboard attached to this raspberry pi. Any tips on troubleshooting this?

    S 1 Reply Last reply Dec 13, 2022, 12:57 PM Reply Quote 0
    • S Away
      sdetweil @bma_diy
      last edited by Dec 13, 2022, 12:57 PM

      @bma_diy that is a real challenge… it could be an explicit attempt to open a file by a module, or it could be a browser request to download or upload a file.

      so, I would start by searching thru all your installed modules for any file system functions

      in the MagicMirror/modules folder do

      find . -type f -name "node_helper.js" | xargs grep "require(\"fs\")"
      

      that will show any module asking for the fs (file system) functions

      on the browser side… more difficult. if this was chrome or firefox and u have a keyboard, I might try looking thru the history for accessed URLs…
      I haven’t see a good use of history under electron

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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