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

Mirror not starting after update

Scheduled Pinned Locked Moved Solved Troubleshooting
33 Posts 4 Posters 2.8k Views 4 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 @chrisfr1976
    last edited by sdetweil Oct 2, 2024, 11:08 AM Oct 2, 2024, 10:39 AM

    @chrisfr1976 its been reported that the upgrade script doesn’t restore the installers/MagicMirror.sh we took out of the MagicMirror repo and put in my repo

    pm2 info 0
    

    will list out the details of the managed app. it will list the program started

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S C 2 Replies Last reply Oct 2, 2024, 1:22 PM Reply Quote 0
    • S Offline
      sdetweil @sdetweil
      last edited by Oct 2, 2024, 1:22 PM

      I have fixed the upgrade script to save/restore the installers folder and mm.sh

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • X Offline
        xIExodusIx @sdetweil
        last edited by Oct 2, 2024, 1:58 PM

        @sdetweil
        how can I update nodejs?

        I have:
        nodejs -v
        v18.19.0
        and
        node -v
        v20.9.0

        npm install nodejs@latest
        does not change my nodejs version.

        S 1 Reply Last reply Oct 2, 2024, 1:59 PM Reply Quote 0
        • S Offline
          sdetweil @xIExodusIx
          last edited by Oct 2, 2024, 1:59 PM

          @xIExodusIx what OS are you on?

          lsb_release -a
          and
          uname -a
          will show

          did you use my upgrade script? it will upgrade node too

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          X 2 Replies Last reply Oct 2, 2024, 2:00 PM Reply Quote 0
          • X Offline
            xIExodusIx @sdetweil
            last edited by Oct 2, 2024, 2:00 PM

            @sdetweil

            Raspberry Pi 4
            OS = bookworm 64bit

            S 1 Reply Last reply Oct 2, 2024, 2:02 PM Reply Quote 0
            • S Offline
              sdetweil @xIExodusIx
              last edited by sdetweil Oct 2, 2024, 2:05 PM Oct 2, 2024, 2:02 PM

              @xIExodusIx did you use my upgrade script?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @chrisfr1976
                last edited by Oct 2, 2024, 2:05 PM

                @chrisfr1976 can you show me the output of thew npm run install-mm

                do it this way (from the MM folder of course)

                cd ~/MagicMirror
                npm run install-mm >somefile.txt 2>&1
                

                then when it finishes all the output is in somefile.txt

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                X 1 Reply Last reply Oct 2, 2024, 2:13 PM Reply Quote 0
                • X Offline
                  xIExodusIx @sdetweil
                  last edited by Oct 2, 2024, 2:05 PM

                  @sdetweil
                  lsb_release -a shows:
                  No LSB modules are available.
                  Distributor ID: Debian
                  Description: Debian GNU/Linux 12 (bookworm)
                  Release: 12
                  Codename: bookworm

                  uname -a shows:
                  Linux MirrorPi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linux

                  yes I used your upgrade-script with apply and also with force.

                  pm2 start MagicMirror will start the MM but it won’t show up!

                  npm start results in following errors:
                  [41163:1002/155017.678545:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
                  [41163:1002/155017.688550:ERROR:env.cc(258)] The platform failed to initialize. Exiting.
                  /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV

                  S 2 Replies Last reply Oct 2, 2024, 2:08 PM Reply Quote 0
                  • S Offline
                    sdetweil @xIExodusIx
                    last edited by Oct 2, 2024, 2:08 PM

                    @xIExodusIx before this morning, my upgrade script had a bug

                    do

                    cd ~/MagicMirror
                    ls installers
                    

                    that should fail (not found)
                    then do

                    mkdir installers
                    curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/mm.sh >installers/mm.sh
                    chmod +x installers/mm.sh
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    X 1 Reply Last reply Oct 2, 2024, 2:16 PM Reply Quote 0
                    • S Offline
                      sdetweil @xIExodusIx
                      last edited by Oct 2, 2024, 2:09 PM

                      @xIExodusIx also, if you do

                      cd ~/MagicMirror
                      npm start 
                      

                      does MM come up?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      X 1 Reply Last reply Oct 2, 2024, 2:18 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        18/33
                        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