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.

    config.js for MMM-WeatherChart

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 1.3k 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 @johndeluxe
      last edited by

      @johndeluxe is pm2 starting the correct script?

      pm2 status
      to get the name/number

      pm2 info x
      where x is the name or number

      part of the output

      |   status             │ stopped                                   │
      │ name                 │ MagicMirror                               │
      │ namespace            │ default                                   │
      │ version              │ 2.23.0                                    │
      │ restarts             │ 27                                        │
      │ uptime               │ 0                                         │
      │ script path          │ /home/sam/MagicMirror/installers/mm.sh    │
      

      then

      pm2 stop all
      pm2 flush
      pm2 start x
      

      and then

      pm2 logs --lines=????
      

      the default for ??? is 15

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • J Offline
        johndeluxe
        last edited by

        That helped for diagnosis, partially! Correct script was executed, and log --lines showed 15. But it also throws some errors like shown here (SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox., which you also solved :-) ): https://forum.magicmirror.builders/topic/17122/sharedimagemanager-produceskia-trying-to-produce-a-skia-representation-from-a-non-existent-mailbox/2
        So when disabling the gpu I can now see the graph also on the direct screen, but not the images (clouds etc.).
        Gettings there…Thank you very much until here Sam!

        1 Reply Last reply Reply Quote 0
        • J Offline
          johndeluxe
          last edited by

          BTW, this is my uname -a:

          Linux raspberrypi3b 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux

          1 Reply Last reply Reply Quote 0
          • J Offline
            johndeluxe
            last edited by

            So I figured out that everything is working after pm2 restart. So first attempt after boot always has some issues, but after restart it is fine.
            Thanks all for oyur help!

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

              @johndeluxe pm2 flush will empty the log

              then reboot

              the log will be just for that first start…

              let’s see what’s in there

              pm2 logs --lines=50

              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