Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirrorΒ² Repository
    • Donate
    • Discord
    1. Home
    2. Klinge
    K
    • Continue chat with Klinge
    • Start new chat with Klinge
    • Flag Profile
    • Block User
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Klinge

    @Klinge

    5
    Reputation
    39
    Posts
    936
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Klinge Follow

    Posts made by Klinge

    • RE: pm2 do not work after v2.8.0 Update

      @sdetweil Yes, you are right

      on my sytem it was

      sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
      
      

      @bhepler Yes, you are right too.

      My path above was relative, not absolute. But of course, it was wrong. I entered the absolute path. So I have improved it above πŸ™‚

      posted in Troubleshooting
      K
      Klinge
    • RE: pm2 do not work after v2.8.0 Update

      Thank you for your advice.

      What exactly did I do?

      I installed npm again with

      sudo npm install -g pm2 
      

      Then I entered

      pm2 startup
      pm2 start /home/pi/MagicMirror/installers/mm.sh 
      

      Der MM startete. And then

      sudo pm2 flush
      pm2 flush
      pm2 save
      sudo pm2 save
      

      And when I restart the PI, MM start automatically.

      I do not know exactly what helped. But it works.

      Thank you again πŸ™‚

      posted in Troubleshooting
      K
      Klinge
    • RE: pm2 do not work after v2.8.0 Update

      Thank you for your help.

      But unfortunately it doesnΒ΄t work.

      I cleared the logfiles and started the MM as you described. The MM also started. And so I saved the state. But after I restarted the Pi, the MM did not start automatically anymore.

      PM2 status was empty

      pi@raspberrypi:~ $ pm2 status
      [PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
      [PM2] PM2 Successfully daemonized
      β”Œβ”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”
      β”‚ Name β”‚ id β”‚ mode β”‚ status β”‚ β†Ί β”‚ cpu β”‚ memory β”‚
      β””β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       Use `pm2 show ` to get more details about an app
      
      
      posted in Troubleshooting
      K
      Klinge
    • pm2 do not work after v2.8.0 Update

      Hello,

      I installed a new MM and I got a problem with automatic start with pm2.
      I take a freshly installed Raspbian Buster and installed the MM on it. The option of automatic start over pm2 I confirmed with β€œy”. After the installation, the MM also started automatically.
      But when I restart the Pi now, the MM does not start automatically anymore. When I enter β€œpm2 status”, no application will appear. Of course, I try to start the MM via β€œpm2 start MagicMirror”. But it also fails. Although pm2 shows the application MagicMirror with the status β€œonline”, but the MM does not start. β€œpm2 logs MagicMirror” gives the following problem

      /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
      0|MagicMir | { Error: ENOENT: no such file or directory, open 'package.json'
      0|MagicMir | at Object.openSync (fs.js:443:3)
      0|MagicMir | at Object.readFileSync (fs.js:343:35)
      0|MagicMir | at Object. (/home/pi/MagicMirror/js/app.js:15:32)
      0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:776:30)
      0|MagicMir | at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
      0|MagicMir | at Module.load (internal/modules/cjs/loader.js:653:32)
      0|MagicMir | at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      0|MagicMir | at Module.require (internal/modules/cjs/loader.js:690:17)
      0|MagicMir | at Module.Hook._require.Module.require (/usr/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:70:37)
      0|MagicMir | errno: -2,
      0|MagicMir | syscall: 'open',
      0|MagicMir | code: 'ENOENT',
      0|MagicMir | path: 'package.json' }
      

      The MM suddenly has a problem with the package.json file.

      From the directory … \ MagicMirror I can start the MM manually via β€œnpm start”. But of course I need the automatic start.

      It would be really great if anyone could help me.
      Thanks in advance

      posted in Troubleshooting
      K
      Klinge
    • Black Desktop after installing PIR-Sensor

      Hello,

      unfortunately I have a problem with my PIR-Sensor.
      I followed the instructions of MagicMirrorCentral (https://www.magicmirrorcentral.com/pir-sensor-raspberry-pi-magic-mirror/).
      Now the PIR sensor also works. But after I installed that and restarted the Raspi, my desktop is black. But only the desktop. The application, MagicMirror, is displayed. When I minimize MM with Ctrl + M, I only see a black desktop. The mouse pointer is displayed and can be moved. But I can not click on anything.

      Of course I already tried the option with β€œvcgencmd display_power 1”. Unfortunately with the same result.
      I would really appreciate, if you could help me.

      Thank you in advance.
      Lars

      posted in Troubleshooting
      K
      Klinge
    • RE: Black Screen Of Death After Couple of Hours

      Hello,

      I have the same problem with the black screen and google maps.

      Have you already found a solution?

      Thank you.
      Lars

      posted in Troubleshooting
      K
      Klinge
    • RE: Whole font should be displayed brightly

      Hello,

      thank you for your help.

      The changes works.

      Lars

      posted in Troubleshooting
      K
      Klinge
    • Whole font should be displayed brightly

      Hello,

      my bathroom, where my MM is , is too bright. So I would like to have all fonts bright. No darker shades.
      Unfortunately, I could not find anything to this in this forum.

      I would be happy if someone could help me.

      Thanks in advance.
      Lars

      posted in Troubleshooting
      K
      Klinge
    • Problem with 2 MMs. Both Monitors turns off

      Hello,

      I have a problem with my two MMs. Both runs independently.

      For both MMs, the monitor always turns off at the same time (MM one every day at about 8 a.m., MM two every day at about 21:30 p.m.) and stays off until the PI is restarted.

      The monitor one turns off after about 3 hours after reboot, the other after about 16 hours after reboot.

      For both PIs I installed the XScreensaver and deactivated the screensaver.

      Monitor one has an installed PIR sensor but the other one does not.

      When I connect via VNC, I can see the MM display. But not at the monitor.

      I have unfortunately no idea, why the monitor turns off.

      I would really appreciate if anyone have a good advice for me.

      Thanks in advance.
      Lars

      posted in Troubleshooting
      K
      Klinge
    • Problem with pm2 (package.json) after installing the first module

      Hello,

      currently I am building a new MM and have at the beginning unusual problems.
      I installed the MM blank and take my old config.js from my old MM. After that the MM starts normally via pm2.
      As soon as I installed the first module, the MM does not start anymore via pm2.
      The pm2-Logs are

      pi@raspberrypi:~ $ pm2 logs MagicMirror
      [TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option)
      /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
      0|MagicMir | All module helpers loaded.
      0|MagicMir | Starting server on port 8080 ... 
      0|MagicMir | Server started ...
      0|MagicMir | Connecting socket for: calendar
      0|MagicMir | Starting node helper for: calendar
      0|MagicMir | Connecting socket for: newsfeed
      0|MagicMir | Starting module: newsfeed
      0|MagicMir | Sockets connected & modules started ...
      0|MagicMir | Launching application.
      0|MagicMir | Create new calendar fetcher for url: https://calendar.google.com/…/…/private-xxxxxxxxxx/basic.ics - Interval: 300000
      0|MagicMir | Create new calendar fetcher for url: https://calendar.google.com/…/…/private-xxxxxxxxxx/basic.ics - Interval: 300000
      0|MagicMir | Create new news fetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
      0|MagicMir | Shutting down server...
      0|MagicMir | Stopping module helper: calendar
      0|MagicMir | Stopping module helper: newsfeed
      
      /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
      0|MagicMir | { Error: ENOENT: no such file or directory, open 'package.json'
      0|MagicMir | at Object.fs.openSync (fs.js:660:18)
      0|MagicMir | at Object.fs.readFileSync (fs.js:565:33)
      0|MagicMir | at Object. (/home/pi/MagicMirror/js/app.js:15:32)
      0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:654:30)
      0|MagicMir | at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
      0|MagicMir | at Module.load (internal/modules/cjs/loader.js:566:32)
      0|MagicMir | at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
      0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:498:3)
      0|MagicMir | at Module.require (internal/modules/cjs/loader.js:598:17)
      0|MagicMir | at require (internal/modules/cjs/helpers.js:11:18)
      0|MagicMir | errno: -2,
      0|MagicMir | code: 'ENOENT',
      0|MagicMir | syscall: 'open',
      0|MagicMir | path: 'package.json' }
      

      When the MM start via pm2 the package.json file seems to be corrupt. When I start with DISPLAY =: 0 it works.

      I would be grateful if someone could help me.

      Thanks in advance.

      posted in Troubleshooting
      K
      Klinge
    • 1
    • 2
    • 3
    • 4
    • 1 / 4