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

Problems restarting MagicMirror (Port 8080 in use ...)

Scheduled Pinned Locked Moved Troubleshooting
20 Posts 7 Posters 11.8k Views 7 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
    roramirez Core Contributors @binderth
    last edited by Jan 23, 2017, 1:35 PM

    @binderth said in Problems restarting MagicMirror (Port 8080 in use ...):

    Do I need pm2?

    Is optional. If you installed by script and choice. After that you can configurate mannually.

    Easy module development with MagicMirror Module Template

    1 Reply Last reply Reply Quote 0
    • R Offline
      roramirez Core Contributors @ostfilinchen
      last edited by Jan 23, 2017, 1:40 PM

      @ostfilinchen That version don’t have the feature for use pm2 for process control by installer script. What is your problem in 2.1.0?

      Easy module development with MagicMirror Module Template

      O 1 Reply Last reply Jan 23, 2017, 1:42 PM Reply Quote 0
      • O Offline
        ostfilinchen @roramirez
        last edited by Jan 23, 2017, 1:42 PM

        @roramirez my Problem is this error

        8080 at Object.exports._errnoException (util.js:1026:11) at exports._exceptionWithHostPort (util.js:1049:20) at Server._listen2 (net.js:1253:14) at listen (net.js:1289:10) at net.js:1399:9 at _combinedTickCallback (internal/process/next_tick.js:77:11) at process._tickCallback (internal/process/next_tick.js:98:9) at Module.runMain (module.js:592:11) at run (bootstrap_node.js:402:7) at startup (bootstrap_node.js:157:9) code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '::', port: 8080 }

        when i restart the mirror via pm2

        R 1 Reply Last reply Jan 23, 2017, 2:11 PM Reply Quote 0
        • C Offline
          cowboysdude Module Developer
          last edited by Jan 23, 2017, 1:48 PM

          Thanks guys!

          1 Reply Last reply Reply Quote 0
          • R Offline
            roramirez Core Contributors @ostfilinchen
            last edited by roramirez Jan 23, 2017, 2:11 PM Jan 23, 2017, 2:11 PM

            @ostfilinchen What pm2 version are using?. There are other process to start control of MagicMirror?

            Please, send some log lines of pm2 and what show you
            pm2 status

            Easy module development with MagicMirror Module Template

            O 1 Reply Last reply Jan 23, 2017, 3:56 PM Reply Quote 0
            • O Offline
              ostfilinchen @roramirez
              last edited by Jan 23, 2017, 3:56 PM

              @roramirez i think the Problem is the pm2. My in Memory Version is 2.0.19 and my local Version is 2.3.0.

              if i do pm2 update it updates the Version, but if i restart the pi, i have 2 Versions again.

              R 1 Reply Last reply Jan 23, 2017, 4:12 PM Reply Quote 0
              • R Offline
                roramirez Core Contributors @ostfilinchen
                last edited by Jan 23, 2017, 4:12 PM

                @ostfilinchen So stranger. What is for you memory version?

                Note: The last stable release of pm2 is 2.2.1.

                I recomend use the last version stable. In my case, the 2.1.5, work fine the restart action.

                Easy module development with MagicMirror Module Template

                O 1 Reply Last reply Jan 23, 2017, 4:13 PM Reply Quote 0
                • O Offline
                  ostfilinchen @roramirez
                  last edited by Jan 23, 2017, 4:13 PM

                  @roramirez thanks for the Information. how can i update to 2.1.5?

                  R 1 Reply Last reply Jan 23, 2017, 4:30 PM Reply Quote 0
                  • R Offline
                    roramirez Core Contributors @ostfilinchen
                    last edited by Jan 23, 2017, 4:30 PM

                    @ostfilinchen by npm

                    sudo npm install -g pm2@2.1.5
                    

                    First remove previous version installed
                    https://docs.npmjs.com/cli/uninstall

                    Easy module development with MagicMirror Module Template

                    O 1 Reply Last reply Jan 23, 2017, 4:45 PM Reply Quote 0
                    • O Offline
                      ostfilinchen @roramirez
                      last edited by Jan 23, 2017, 4:45 PM

                      @roramirez i’ve done this and have a look on the restartprocess in the next time. thanks a lot.

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