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.

    Screen/Text Size

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    17 Posts 2 Posters 2.9k 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.
    • M Offline
      mrdger @sdetweil
      last edited by

      @sdetweil Correct, didn’t get any output. I did it manually, maybe try reinstalling?

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

        @mrdger rename the MM folder

        cd  ~
        mv MagicMirror MagicMirror.old
        

        then run my install script , see
        https://github.com/sdetweil/MagicMirror_scripts

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mrdger @sdetweil
          last edited by

          @sdetweil

          Completed the steps you outlined. Moved the directory and then ran the install script your provided. Looks like a similar problem is still popping up. The 2nd image is fullscreen screenshot with the 1st showing an example of how it changes if the size of the window is changed.

          2022-05-17-122733_1920x1080_scrot.png 2022-05-17-122609_1920x1080_scrot.png

          Here’s the log from the installers folder
          pm2 setup starting - Tue May 17 12:21:58 EDT 2022
          using parameter bash
          system is Linux raspberrypi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux
          the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
          node version v16.5.0
          force installing latest npm version via npm
          npm version 8.10.0
          pm2 installed
          get the pm2 platform specific startup command
          startup command = sudo env PATH=$PATH:/usr/local/bin:/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
          [PM2] Init System found: systemd
          Platform systemd
          Template
          [Unit]
          Description=PM2 process manager
          Documentation=https://pm2.keymetrics.io/
          After=network.target

          [Service]
          Type=forking
          User=pi
          LimitNOFILE=infinity
          LimitNPROC=infinity
          LimitCORE=infinity
          Environment=PATH=$PATH:/usr/local/bin:/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
          Environment=PM2_HOME=/home/pi/.pm2
          PIDFile=/home/pi/.pm2/pm2.pid
          Restart=on-failure

          ExecStart=/usr/local/lib/node_modules/pm2/bin/pm2 resurrect
          ExecReload=/usr/local/lib/node_modules/pm2/bin/pm2 reload all
          ExecStop=/usr/local/lib/node_modules/pm2/bin/pm2 kill

          [Install]
          WantedBy=multi-user.target

          Target path
          /etc/systemd/system/pm2-pi.service
          Command list
          [ ‘systemctl enable pm2-pi’ ]
          [PM2] Writing init configuration in /etc/systemd/system/pm2-pi.service
          [PM2] Making script booting at startup…

          Executing: systemctl enable pm2-pi…

          [PM2] [v] Command successfully executed.
          ±--------------------------------------+
          [PM2] Freeze a process list on reboot via:
          $ pm2 save

          [PM2] Remove init script via:
          $ pm2 unstartup systemd
          pm2 startup command done
          configure the pm2 config file for MagicMirror
          start MagicMirror via pm2 now
          save MagicMirror pm2 config now
          pm2 setup completed - Tue May 17 12:22:06 EDT 2022

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

            @mrdger strange…

            ok, my guess is a bad cable from pi to display

            I had seen some flakiness on DVI-D display with an hdmi->DVI adapter…
            a different adapter had no trouble with the same cable

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @mrdger did you setup for autostart using the manual procedure?

              pm2 replaces that… so you should dlete that setup if you did it… (as it looks like with 2 autostarts)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                mrdger @sdetweil
                last edited by

                @sdetweil It is on a hdmi to dvi adapter, but I actually have a different cable arriving today, so I’ll attempt again after it gets here. Thank you for all your help so far. The autostart feature asked be during the install if I wanted to use it, a y/N option, and I selected y. Should I change anything about that?

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

                  @mrdger no… I was only asking about what you did on the manual install

                  my script does PM2.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    mrdger @sdetweil
                    last edited by

                    @sdetweil Got it, I don’t believe it was setup. It wasn’t starting after reboot or after closing the window.

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

                      @mrdger ok

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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