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.

    MMM-ioBroker - it will not show

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    34 Posts 3 Posters 5.4k Views 3 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 Do not disturb
      sdetweil @kusselin
      last edited by

      @kusselin you need to be at a different node js level

      22.14.0

      if you had used my upgrade script it would have handled that

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil is this o.k. so?

        mm@MagicMirror-live:~/MagicMirror$ git pull && npm run install-mm
        Already up to date.
        
        > magicmirror@2.31.0 install-mm
        > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev
        
        
        > magicmirror@2.31.0 postinstall
        > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
        > "
        
        
        > magicmirror@2.31.0 install-vendor
        > echo "Installing vendor files ...
        > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
        
        Installing vendor files ...
        
        
        changed 1 package in 1s
        
        > magicmirror@2.31.0 install-fonts
        > echo "Installing fonts ...
        > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
        
        Installing fonts ...
        
        
        changed 2 packages in 4s
        MagicMirror² installation finished successfully!
        
        
        > magicmirror@2.31.0 prepare
        > [ -f node_modules/.bin/husky ] && husky || echo no husky installed.
        
        no husky installed.
        
        added 6 packages, removed 7 packages, and changed 193 packages in 34s
        mm@MagicMirror-live:~/MagicMirror$ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
        update log will be in /home/mm/MagicMirror/installers/upgrade.log
        
        doing test run = true, NO updates will be applied!
        
        Check current Node installation ...
        Node currently installed. Checking version number.
        Minimum Node version: v22.14.0
        Installed Node version: v22.14.0
        No Node.js upgrade necessary.
        Check current NPM installation ...
        NPM currently installed. Checking version number.
        Minimum npm version: V10.9.2
        Installed npm version: V10.9.2
        No npm upgrade necessary.
        
        saving custom.css
        upgrading from version 2.31.0 to 2.31.0
        MagicMirror running under control of PM2, stopping
        [PM2] Applying action stopProcessId on app [MagicMirror](ids: [ 0 ])
        [PM2] [MagicMirror](0) ✓
        ┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
        │ id │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
        ├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
        │ 0  │ MagicMirror    │ default     │ 2.31.0  │ fork    │ 0        │ 0      │ 437  │ stopped   │ 0%       │ 0b       │ mm       │ disabled │
        └────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
        fetching latest revisions
        
        Checking for modules with removed libraries
        
        updating dependencies for active modules with package.json files
        
        
                processing for module MMM-Fuel please wait
        
                ----------------------------------
        
                skipped processing for MMM-Fuel, doing test run
        
                processing complete for module MMM-Fuel
        
        
                processing for module MMM-RNV please wait
        
                ----------------------------------
        
                skipped processing for MMM-RNV, doing test run
        
                processing complete for module MMM-RNV
        
        
                processing for module MMM-PublicTransportHafas please wait
        
                ----------------------------------
        
                skipped processing for MMM-PublicTransportHafas, doing test run
        
                processing complete for module MMM-PublicTransportHafas
        
        
                processing for module MMM-ioBroker please wait
        
                ----------------------------------
        
                skipped processing for MMM-ioBroker, doing test run
        
                processing complete for module MMM-ioBroker
        
        
                processing for module MMM-COVID19-AMPEL please wait
        
                ----------------------------------
        
                skipped processing for MMM-COVID19-AMPEL, doing test run
        
                processing complete for module MMM-COVID19-AMPEL
        
        
                processing for module MMM-soccer please wait
        
                ----------------------------------
        
                skipped processing for MMM-soccer, doing test run
        
                processing complete for module MMM-soccer
        
        
                processing for module MMM-Carousel please wait
        
                ----------------------------------
        
                skipped processing for MMM-Carousel, doing test run
        
                processing complete for module MMM-Carousel
        
        
                processing for module MMM-Remote-Control please wait
        
                ----------------------------------
        
                skipped processing for MMM-Remote-Control, doing test run
        
                processing complete for module MMM-Remote-Control
        
        restoring custom.css
        mm@MagicMirror-live:~/MagicMirror$
        
        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @kusselin
          last edited by

          @kusselin

          doing test run = true, NO updates will be applied!

          no

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil Sorry, but I don’t understand what you mean by test run?

            Suddenly the temperature is no longer displayed and I don’t know where the error lies?

            What do I have to do to get it working again?
            thank you thank you thank you

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @kusselin
              last edited by sdetweil

              @kusselin my upgrade script is 2 steps

              test, do nothing
              do

              same script, no parms is test
              add apply to the end does

              BUT, it will NOT install upgrades AGAIN if the version matches
              and you loaded the new code

              so you have to use the word
              force
              instead of
              apply

              please translate the page, instead of having trouble with my english

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil
                Hi sdetweil, thanks for your help. Since I am not a Linux expert I do everything with copy&paste…means also the installation of MM everything made by commands…

                Can you please tell me the Linux commands I need to use to get it working again. thank you!
                Or does it have something to do with Iobroker why the temp values are no longer displayed?
                But in iobroker everything works with the Zigbee adapter.

                I have not changed anything else in the config or anywhere else in MM

                Please help me.

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  rkorell Module Developer @kusselin
                  last edited by

                  @kusselin said

                  Can you please tell me the Linux commands I need to use to get it working again.

                  Hi @kusselin , Sam is talking about parameters you can - and should - overhand to his update-script.

                  If you call the script - as is - without parameter the script only do a “test-run” and did not change anything.

                  The “normal” parameter to DO the upgrade is “apyly” for this the unix command is:

                  bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" -apply
                  

                  Sam is assuming that you already HAVE done some upgrades - for this reason he states “and you loaded the new code” . IF you had already loaded some new versions the above command will “fail” also because you already HAVE the new version.
                  So for this case you have to use the “force” parameter.
                  The unix command for this is:

                  bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" -force 
                  

                  Good luck!

                  Ralf

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @rkorell
                    last edited by sdetweil

                    @rkorell right, but the web page has the copy/paste commands already set up. so you just have to click copy on the correct line, you dont have to type anything

                    the ‘problem’ is that you tried the manual update way, which downloaded (git pull) the new MagicMirror version .

                    so when my upgrade script checks the version agsinst the github repo they match. oops

                    upgrade is so previous because you have a running system. iIdont want to destroy that. so i wont let upgrade run if you are slready at the same level.

                    you have to force it

                    in this case you take the do copy/paste, which has
                    apply
                    at the end
                    and change the to
                    force

                    i dont supply a copy/paste for that because i dont want people using it if its not needed,

                    iobroker is broken cause MagicMirror is in a weird state

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      rkorell Module Developer @sdetweil
                      last edited by

                      @sdetweil said in MMM-ioBroker - it will not show:

                      i dont supply a copy/paste for that because i dont want people using it if its not needed,

                      valid point, but @kusselin seems to struggle :-)

                      Regards,
                      Ralf

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @rkorell
                        last edited by

                        @rkorell i understand.

                        this is exactly why ive added the upgrade script.

                        the base requires system changes. not knowing or understanding can lead to this exact mess

                        but ive made install/upgrade a copy paste so there is no typo problems

                        using force is dangerous,
                        if you use my upgrade script EVERY time, then there will not be problems.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        R 1 Reply Last reply Reply Quote 0
                        • R Offline
                          rkorell Module Developer @sdetweil
                          last edited by rkorell

                          @sdetweil :-) For me this is pretty clear and obvious - in addition I do NOT perform every update/upgrade (“never touch a running system”) because I’m checking upfront if a new release brings in anything I potentially need.

                          But the thread opener is at least irritated and asks for commandlines to copy.

                          I assume the thread opener is aware that everything herein is “enter at your own risk”.

                          That you - as the script creator and owner - are even more cautious is appropriate and highly welcome and appreciated!

                          Ralf

                          kusselinK 1 Reply Last reply Reply Quote 0
                          • kusselinK Offline
                            kusselin @rkorell
                            last edited by

                            @rkorell
                            Sorry everyone, I still don’t get it…when I run the upgrade command with -force then node and npm is up to date and I don’t get an error message.

                            Why does Iobroker with the Zigbee adapter suddenly stop displaying anything? Iobroker and the Zigbee adapter are running perfectly.

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @kusselin
                              last edited by

                              @kusselin can you show the output of npm start , or if using pm2

                              pm2 logs --lines=100

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil
                                is the pm2 log located at
                                /home/mm/.pm2

                                and how do I create the output of npm start?

                                mm@MagicMirror-live:~$ npm start
                                npm error code ENOENT
                                npm error syscall open
                                npm error path /home/mm/package.json
                                npm error errno -2
                                npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/mm/package.json'
                                npm error enoent This is related to npm not being able to find a file.
                                npm error enoent
                                npm error A complete log of this run can be found in: /home/mm/.npm/_logs/2025-04-10T19_02_15_732Z-debug-0.log
                                mm@MagicMirror-live:~$ cd MagicMirror
                                mm@MagicMirror-live:~/MagicMirror$ npm start
                                
                                > magicmirror@2.31.0 start
                                > npm run start:x11
                                
                                
                                > magicmirror@2.31.0 start:x11
                                > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                                
                                sh: 1: ./node_modules/.bin/electron: not found
                                mm@MagicMirror-live:~/MagicMirror$
                                
                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @kusselin
                                  last edited by

                                  @kusselin weird

                                  cd ~/MagicMirror
                                  npm install electron@35.1.2

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    @sdetweil
                                    sorry, please forget me :-(

                                    and now?

                                    cd ~/MagicMirror
                                    mm@MagicMirror-live:~/MagicMirror$ npm install electron@35.1.2
                                    
                                    added 654 packages in 20s
                                    
                                    285 packages are looking for funding
                                      run `npm fund` for details
                                    mm@MagicMirror-live:~/MagicMirror$
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @kusselin
                                      last edited by

                                      @kusselin npm start

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

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

                                        @sdetweil
                                        look :-(

                                        mm@MagicMirror-live:~$ cd MagicMirror
                                        mm@MagicMirror-live:~/MagicMirror$ npm start
                                        npm error code ENOSPC
                                        npm error syscall write
                                        npm error errno -28
                                        npm error nospc ENOSPC: no space left on device, write
                                        npm error nospc There appears to be insufficient space on your system to finish.
                                        npm error nospc Clear up some disk space and try again.
                                        npm error A complete log of this run can be found in: /home/mm/.npm/_logs/2025-04-10T19_51_54_629Z-debug-0.log
                                        

                                        and

                                         verbose cli /usr/local/bin/node /usr/local/bin/npm
                                        1 info using npm@10.9.2
                                        2 info using node@v22.14.0
                                        3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
                                        4 silly config load:file:/home/mm/MagicMirror/.npmrc
                                        5 silly config load:file:/home/mm/.npmrc
                                        6 silly config load:file:/usr/local/etc/npmrc
                                        7 verbose title npm run start:x11
                                        8 verbose argv "run" "start:x11"
                                        9 verbose logfile logs-max:10 dir:/home/mm/.npm/_logs/2025-04-10T19_51_37_854Z-
                                        10 verbose logfile /home/mm/.npm/_logs/2025-04-10T19_51_37_854Z-debug-0.log
                                        11 silly logfile start cleaning logs, removing 1 files
                                        12 silly logfile done cleaning log files
                                        13 verbose cwd /home/mm/MagicMirror
                                        14 verbose os Linux 6.8.12-8-pve
                                        15 verbose node v22.14.0
                                        16 verbose npm  v10.9.2
                                        17 verbose exit 1
                                        18 verbose code 1
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @kusselin
                                          last edited by

                                          @kusselin ok, this typically indicates a failing sd card, happens too often

                                          backup now , but my backup wont work w no disk space

                                          copy config.js and custom.css to a someplace, network , usb stick, email

                                          get a list of all the modules
                                          cd ~/MagicMirror/modules
                                          ls -laF

                                          add that output to the place u saved

                                          make a new sd card, boot, install MagicMirror
                                          copy back config and css

                                          reinstall the modules

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

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

                                            @sdetweil
                                            Thank you…that’s funny…I don’t have any SD in use. I have installed the MM in a Proxmox container…ok then I know that something is wrong and I have to create a new container…config and costum.css I save and modules too…

                                            Thank you again

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 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