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.

    Problems with Config.js on Pi4 BlackScreen

    Scheduled Pinned Locked Moved Solved Troubleshooting
    24 Posts 2 Posters 6.6k 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.
    • D Offline
      dazza120 @sdetweil
      last edited by

      @sdetweil hi im getting the dev window then into console bet there is nothing at all in there just > So what do i have to run in the dev window is it cd MagicMirrior then pm2 start MagicMirrior? im lost just work dam you mirror lol

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

        @dazza120 pm2 runs the DEFINITION named x. It doesn’t care about folder.

        The setup typically uses the pm2_MagicMirror.json file in installers, or the mm.sh there as well.

        mm.sh has a bug, it uses ~ to mark ‘current user’, but when start on boot, the user is root, not pi. So the startup fails. My new installer fixes that.

        So, edit mm.sh and change the path to
        /home/pi/MagicMirror

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dazza120 @sdetweil
          last edited by

          @sdetweil its in that path already but it is completely empty. should it contain text?

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

            @dazza120 sorry, what is “it’s”?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              dazza120 @sdetweil
              last edited by dazza120

              @sdetweil /home/pi/MagicMirror The mm.sh should it contain text?

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

                @dazza120 sorry… what is completely empty? mm.sh is in installers folder

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  dazza120 @sdetweil
                  last edited by

                  @sdetweil i unhide my files and one is in the location i said with no text and the other is in installer as you said with text

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

                    @dazza120 remove the one in MagicMirror… useless

                    Fix the one in installers

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      dazza120 @sdetweil
                      last edited by

                      @sdetweil ok done, what to do now. ive just copied the installer one and overwrite the magic mirror path one

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

                        @dazza120 which one does pm2 want to use? I am not near my computer so can’t get the list of pm2 commands.

                        pm2 – help

                        Did u edit the path in mm.sh?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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