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

Unraid-Docker Based MM Container

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 2 Posters 490 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.
  • L Offline
    Linoge
    last edited by Sep 16, 2024, 11:15 AM

    I just set up my MM using a template to create it. Upon first installation I rearranged the default modules and setup the config.js to work with MMM-Civitai module for a nice dynamic background.
    I was setting up MMM-Remote-Control & MM-Remote. Things were coming together! at first, got the module to show up and displaying the “magicmirrorip:8080/remote.html” on my MM. I had gotten the android app setup and showing Timer, Brightness, and Slideshow commands, but upon trying to use the app nothing happened. Reading github pages and docs for help I kept seeing to use a few npm commands to install modules or restart the MM.

    Now I’m uncertain of why. Maybe it’s because I didn’t do the setup correctly, but any npm command gives me a “bash: npm: command not found”.

    I was under the impression that I needed to restart my MM to Maybe get everything working together. So I clicked the restart button on my docker container… Then my MM stopped itself, upon trying to restart it it stopped itself everything. So I took a look at the log.
    It shows a similar [“ERROR] warning” feed that someone previously asked for help with.

    Re: Black Screen After MM Update

    As a n00b I’m stuck. All help says npm, but I cant…

    As I’m only on my 3rd module install I’m leaning to just rebuild but I’m curious as to how to fix what happened, or even learn what happened so I can avoid doing it again. Lol

    S 2 Replies Last reply Sep 16, 2024, 11:47 AM Reply Quote 0
    • S Offline
      sdetweil @Linoge
      last edited by sdetweil Oct 5, 2024, 11:39 AM Sep 16, 2024, 11:47 AM

      @Linoge im not sure i understand what you posted

      setup is a challenge for some, but docker makes it more confusing

      for general module install, see the link below in my signature for a favorite post (i didn’t write it)

      think of a docker container as a another raspberry pi, with network attached drives

      you can put stuff on the drives from outside that pi, but it doesn’t know (that’s the git clone step). there is a problem here

      if you run that command on your uniraid system, you are running under some user number. so the files are created with that users permissions.
      later when you want to access them from a user running inside that pi (container typically configured to userid 1000) oops if the permissions don’t allow access!

      Also you have to make that code runnable INSIDE that pi

      this is the npm install step

      doing it via the uniraid user causes the same permissions problem. AND npm is trying to match libraries to the running system. but thats not the pi if you are doing via a uniraid user session
      if it were a real pi, from outside you would have to ssh in, in docker terms this is docker exec container_name

      i don’t use remote control, but it will be issuing commands INSIDE that pi.

      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 @Linoge
        last edited by Oct 5, 2024, 11:40 AM

        @Linoge did you get this resolved?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        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