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.

    update package list

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    29 Posts 2 Posters 1.4k 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.
    • S Offline
      sdetweil @pat59
      last edited by

      @pat59 said in update package list:

      I used restart RPII used restart RPI

      I don’t know what that means in reality under the covers

      so, you need to delete one of the apps… unless you intentionally have two instances.

      they show online, and no restarts, which is weird

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • P Online
        pat59
        last edited by

        Well, thank you, I’m going to stop now. I’m 65 years old and I don’t always understand what to do. I’m a novice. I don’t know which application to delete. Thanks again for your help.

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

          @pat59 im 74… so its never too late

          try this

          pm2 stop mm
          pm2 restart MagicMirror
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Online
            pat59
            last edited by sdetweil

            pi@raspberrypi:~ $ cd ~/MagicMirror
            pi@raspberrypi:~/MagicMirror $ pm2 stop mm
            [PM2] Applying action stopProcessId on app [mm](ids: [ 0 ])
            [PM2] mm ✓

            ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
            │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
            ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
            │ 1  │ MagicMirror        │ fork     │ 0    │ online    │ 0%       │ 2.4mb    │
            │ 0  │ mm                 │ fork     │ 0    │ stopped   │ 0%       │ 0b       │
            └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
            

            pi@raspberrypi:~/MagicMirror $ pm2 restart MagicMirror
            Use --update-env to update environment variables
            [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 1 ])
            [PM2] MagicMirror ✓

            ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
            │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
            ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
            │ 1  │ MagicMirror        │ fork     │ 1    │ online    │ 0%       │ 2.4mb    │
            │ 0  │ mm                 │ fork     │ 0    │ stopped   │ 0%       │ 0b       │
            └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
            

            pi@raspberrypi:~/MagicMirror $

            1 Reply Last reply Reply Quote 0
            • P Online
              pat59
              last edited by

              Congratulations on your courage
              Do I have to restart after that?

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

                @pat59 is it working? after the pm2 restart?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • P Online
                  pat59
                  last edited by

                  Hello
                  No, I have the other apps working fine except for Calendar, which is still loading, and Newsfeed, which is also loading.

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

                    @pat59

                    Ok,

                    Because you are using pm2 makes getting log a little more interesting

                    Do

                    pm2 stop all
                    pm2 flush
                    pm2 start MagicMirror
                    

                    Wait til MagicMirror comes up and modules show loading
                    Then do

                    pm2 logs —lines=100. 
                    

                    The n look thru the listing and see if there are any errors reported

                    Also can you post the configuration from config.js for those two modules
                    Note the calendar module url needs to be mangled, xxx part so it doesn’t expose the full url

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • P Online
                      pat59
                      last edited by

                      Hello, here is the error it gives me.

                      pi@raspberrypi:~ $ cd ~/MagicMirror
                      pi@raspberrypi:~/MagicMirror $ pm2 stop all
                      [PM2] Applying action stopProcessId on app [all](ids: [ 0, 1 ])
                      [PM2] mm ✓
                      [PM2] MagicMirror ✓
                      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                      │ id │ name │ mode │ ↺ │ status │ cpu │ memory │
                      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                      │ 1 │ MagicMirror │ fork │ 0 │ stopped │ 0% │ 0b │
                      │ 0 │ mm │ fork │ 0 │ stopped │ 0% │ 0b │
                      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                      pi@raspberrypi:~/MagicMirror $ pm2 flush
                      [PM2] Flushing /home/pi/.pm2/pm2.log
                      [PM2] Flushing:
                      [PM2] /home/pi/.pm2/logs/mm-out.log
                      [PM2] /home/pi/.pm2/logs/mm-error.log
                      [PM2] Flushing:
                      [PM2] /home/pi/.pm2/logs/MagicMirror-out.log
                      [PM2] /home/pi/.pm2/logs/MagicMirror-error.log
                      [PM2] Logs flushed
                      pi@raspberrypi:~/MagicMirror $ pm2 start MagicMirror
                      [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 1 ])
                      [PM2] MagicMirror ✓
                      [PM2] Process successfully started
                      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                      │ id │ name │ mode │ ↺ │ status │ cpu │ memory │
                      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                      │ 1 │ MagicMirror │ fork │ 0 │ online │ 0% │ 2.4mb │
                      │ 0 │ mm │ fork │ 0 │ stopped │ 0% │ 0b │
                      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                      pi@raspberrypi:~/MagicMirror $ pm2 logs -lines=100.

                      error: unknown option `-=’

                      pi@raspberrypi:~/MagicMirror $

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

                        @pat59 it’s 2 dashes

                        —lines

                        You could have seen this in the help from pm2

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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