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

pm2 no longer launching MM

Scheduled Pinned Locked Moved Unsolved Troubleshooting
38 Posts 3 Posters 8.4k Views 3 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.
  • J Offline
    JMac @sdetweil
    last edited by Apr 16, 2023, 7:07 PM

    @sdetweil after running the npm install now getting a different ENOTEMPTY for nodes_modules/basic-auth.
    Same issue of directory not empty

    S 1 Reply Last reply Apr 16, 2023, 9:46 PM Reply Quote 0
    • S Offline
      sdetweil @JMac
      last edited by Apr 16, 2023, 9:46 PM

      @JMac weird, this makes no sense

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Apr 17, 2023, 3:54 PM Reply Quote 0
      • J Offline
        JMac @sdetweil
        last edited by Apr 17, 2023, 3:54 PM

        @sdetweil I’m away with work until Friday but obviously want to try and get to the bottom of this.
        I’ll likely end up moving the mirror to somewhere way closer to the WiFi router.
        Will this stay open until the end of the week?

        Out of curiosity when launching via pm2 should it (in the little box that pops up in terminal) mention fork?

        S 2 Replies Last reply Apr 17, 2023, 3:58 PM Reply Quote 0
        • S Offline
          sdetweil @JMac
          last edited by Apr 17, 2023, 3:58 PM

          @JMac this will stay open til u close it…

          yes, that is the linux term for starting an independent process

          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 @JMac
            last edited by sdetweil Apr 18, 2023, 11:59 AM Apr 18, 2023, 11:58 AM

            @JMac I would rename the existing mm folder
            and then run install again, use my script
            https://github.com/sdetweil/MagicMirror_scripts

            to help move the modules and config, I’d use my backup/restore scripts
            https://github.com/sdetweil/MagicMirror-backup-restore

            backup before rename, restore after reinstall

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • J Offline
              JMac
              last edited by May 14, 2023, 8:29 AM

              may sound like a daft question but how do I rename the magicmirror folder? I’ve run your back up (hopefully).

              S 1 Reply Last reply May 14, 2023, 10:15 AM Reply Quote 0
              • S Offline
                sdetweil @JMac
                last edited by May 14, 2023, 10:15 AM

                @JMac in Linux the rename command is mv

                cd ~
                mv MagicMirror newname
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • J Offline
                  JMac
                  last edited by May 14, 2023, 1:15 PM

                  sorry to sound extremely daft, but what should I be renaming it? Is there a preferred name or one which makes most sense?

                  S 1 Reply Last reply May 14, 2023, 1:43 PM Reply Quote 1
                  • S Offline
                    sdetweil @JMac
                    last edited by May 14, 2023, 1:43 PM

                    @JMac any name that works for you, you are just making room for the installer which is hard coded to use MagicMirror, and will abort if that folder is already created

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      JMac
                      last edited by May 14, 2023, 2:40 PM

                      once a new name is picked can it later be changed back to magicmirror just to keep everything standard?

                      Also, when you say,
                      mv magicmirror newname, I’m guessing the newname bit is actually what I want to call it, or do I put the new name after?
                      I’ve got a terrible feeling I’ll have to start the whole thing again which I definitely won’t look forward to.

                      S 1 Reply Last reply May 14, 2023, 3:10 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      • 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