Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Update VIS 1.1.10 auf 1.2.0 Error 10

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    UNSOLVED Update VIS 1.1.10 auf 1.2.0 Error 10

    This topic has been deleted. Only users with topic management privileges can see it.
    • Negalein
      Negalein Global Moderator last edited by

      '/opt/iobroker/node_modules/iobroker.vis/main.js'

      das Verzeichnis iobroker.vis gibt es auch nicht.

      1 Reply Last reply Reply Quote 0
      • Negalein
        Negalein Global Moderator @sigi234 last edited by Negalein

        @sigi234 sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

        Das war Falsch, Vis geht nur eine Instanz!

        Ja, aber es wird mir zwar unter Instanzen angezeigt, aber eben nicht unter Adapter.

        Hätte jetzt versucht wieder 1.1.10 zu installieren.

        Bricht mit Error 10 ab.
        Und in der 1. Zeile sieht man, dass er von 0.0.0 auf 1.1.10 updaten möchte.

        $ ./iobroker upgrade vis@1.1.10
        Update vis from @0.0.0 to @1.1.10
        NPM version: 6.4.1
        npm install iobroker.vis@1.1.10 --production --save --prefix "/opt/iobroker" (System call)
        module.js:550    throw err;
            ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.vis/main.js'
            at Function.Module._resolveFilename (module.js:548:15)
            at Function.Module._load (module.js:475:25)
            at Function.Module.runMain (module.js:694:10)
            at startup (bootstrap_node.js:204:16)
            at bootstrap_node.js:625:3
        
        npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        
        
        npm ERR! code ELIFECYCLEnpm ERR! errno 1
        npm
         ERR! iobroker.vis@1.1.10 install: `node main.js --install`npm ERR! Exit status 1
        
        npm ERR! npm ERR! Failed at the iobroker.vis@1.1.10 install script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        
        
        npm ERR!
         A complete log of this run can be found in:
        npm ERR!     /root/.npm/_logs/2019-05-08T21_19_47_886Z-debug.log
        ERROR: Cannot find io-package.json in null
        ERROR: process exited with code 10
        
        sigi234 2 Replies Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @Negalein last edited by

          @Negalein sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

          @sigi234 sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

          Das war Falsch, Vis geht nur eine Instanz!

          Ja, aber es wird mir zwar unter Instanzen angezeigt, aber eben nicht unter Adapter.

          Hm...da muss ein Profi ran, ich bin mir nicht sicher ob Vis nicht einen höheren JS-Controller (du hast 1.4.2) braucht.

          1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @Negalein last edited by

            @Negalein

            Kommst du noch in Vis rein?

            Negalein 1 Reply Last reply Reply Quote 0
            • Negalein
              Negalein Global Moderator @sigi234 last edited by

              @sigi234 sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

              @Negalein

              Kommst du noch in Vis rein?

              Ja, geht einwandfrei.
              Ist auch unter Instanzen immer grün

              sigi234 1 Reply Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @Negalein last edited by

                @Negalein

                Mal Daten sichern..........
                Ich hatte das auch, ging aber nach Neustart, Browser Cache geleert? Strg+F5?

                Negalein 1 Reply Last reply Reply Quote 0
                • Negalein
                  Negalein Global Moderator @sigi234 last edited by

                  @sigi234 sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

                  @Negalein

                  Mal Daten sichern..........
                  Ich hatte das auch, ging aber nach Neustart, Browser Cache geleert? Strg+F5?

                  Cache werde ich versuchen.

                  Backup wird sowieso täglich 4fach erstellt.

                  1 Reply Last reply Reply Quote 0
                  • Stabilostick
                    Stabilostick last edited by Stabilostick

                    Geh mal in den ioBroker-Ordner und führe

                    npm i stream-browserify
                    

                    aus.

                    Dann nochmal das vis Update.

                    Wobei, da erklärt nicht die fehlende main.js .... hmm.

                    Was steht in /root/.npm/_logs/2019-05-08T21_19_47_886Z-debug.log?

                    sigi234 Negalein 2 Replies Last reply Reply Quote 0
                    • sigi234
                      sigi234 Forum Testing Most Active @Stabilostick last edited by

                      @Stabilostick sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

                      npm i stream-browserify

                      Hallo, das kenne ich noch nicht, kannst du mir erklären was das bewirkt? Um zu lernen...........

                      Stabilostick 1 Reply Last reply Reply Quote 0
                      • Stabilostick
                        Stabilostick @sigi234 last edited by

                        @sigi234

                        Das ist für die erste Warnung aus dem Log.

                        1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 last edited by

                          ich frage mal frech: Genug Plattenplatz ist frei und so?

                          Also vis läuft aber es gibt kein /opt/iobroker/node_modules/iobroker-vis Verzeichnis ... ok das kann sein weil am Ende vis geuploaded wird und das das wichtige ist.

                          Der Fehler sagt das er das installations-Kommando nicht ausführen konnte nach der npm Installation.

                          Führe doch mal

                          npm install iobroker.vis@1.1.10 --production --save --prefix "/opt/iobroker"

                          manuell an der Kommandozeile aus

                          Negalein 1 Reply Last reply Reply Quote 0
                          • Negalein
                            Negalein Global Moderator @Stabilostick last edited by

                            @Stabilostick sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

                            Geh mal in den ioBroker-Ordner und führe

                            Du meinst in /opt/iobroker/ ?

                            Wobei, da erklärt nicht die fehlende main.js .... hmm.

                            Ja, denn es existiert schon kein Verzeichnis iobroker.vis
                            /opt/iobroker/node_modules/iobroker.vis/main.js

                            Was steht in /root/.npm/_logs/2019-05-08T21_19_47_886Z-debug.log?

                            2019-05-08T21_19_47_886Z-debug.log

                            1 Reply Last reply Reply Quote 0
                            • Negalein
                              Negalein Global Moderator @apollon77 last edited by Negalein

                              @apollon77 sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

                              ich frage mal frech: Genug Plattenplatz ist frei und so?

                              Ja, mehrere TB 🙂

                              Führe doch mal

                              npm install iobroker.vis@1.1.10 --production --save --prefix "/opt/iobroker"

                              manuell an der Kommandozeile aus

                              root@ioBroker:/opt/iobroker# npm install iobroker.vis@1.1.10 --production --save --prefix "/opt/iobroker"              
                                                                                                                                                     
                              > iobroker.vis@1.1.10 install /opt/iobroker/node_modules/iobroker.vis                                                  
                              > node main.js --install                                                                                               
                                                                                                                                                     
                              module.js:550                                                                                                          
                                  throw err;                                                                                                         
                                  ^                                                                                                                  
                                                                                                                                                     
                              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.vis/main.js'                                            
                                  at Function.Module._resolveFilename (module.js:548:15)                                                             
                                  at Function.Module._load (module.js:475:25)                                                                        
                                  at Function.Module.runMain (module.js:694:10)                                                                      
                                  at startup (bootstrap_node.js:204:16)                                                                              
                                  at bootstrap_node.js:625:3                                                                                         
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):    
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darw
                              in","arch":"any"} (current: {"os":"linux","arch":"x64"})                                                               
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):                    
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arc
                              h":"any"} (current: {"os":"linux","arch":"x64"})                                                                       
                                                                                                                                                     
                              npm ERR! code ELIFECYCLE                                                                                               
                              npm ERR! errno 1                                                                                                       
                              npm ERR! iobroker.vis@1.1.10 install: `node main.js --install`                                                         
                              npm ERR! Exit status 1                                                                                                 
                              npm ERR!                                                                                                               
                              npm ERR! Failed at the iobroker.vis@1.1.10 install script.                                                             
                              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.                     
                                                                                                                                                     
                              npm ERR! A complete log of this run can be found in:                                                                   
                              npm ERR!     /root/.npm/_logs/2019-05-08T21_48_42_503Z-debug.log                                                       
                              root@ioBroker:/opt/iobroker#                                                                                           
                                                             
                              

                              Log von /root/.npm/_logs/2019-05-08T21_48_42_503Z-debug.log
                              2019-05-08T21_48_42_503Z-debug.log

                              1 Reply Last reply Reply Quote 0
                              • Stabilostick
                                Stabilostick last edited by Stabilostick

                                Hmm, da steht auch nur drin:

                                108 silly lifecycle iobroker.vis@1.1.10~install: Args: [ '-c', 'node main.js --install' ]
                                ...
                                112 silly lifecycle iobroker.vis@1.1.10~install: Returned: code: 1  signal: null
                                113 info lifecycle iobroker.vis@1.1.10~install: Failed to exec install script
                                

                                Vielleicht im iobroker Ordner

                                npm i iobroker.vis@1.1.10 --production --force
                                

                                ausführen?

                                Negalein 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 last edited by

                                  Bitte nicht mit alten Versionen dinge tun, die 1.2.0 ist aktuell.

                                  Also ich habe es bei mir manuell gemacht und bei mir ist alles da.

                                  Bei Dir scheint im Verzeichnis iobroker.is die main,js zu fehlen nach dem entpacken ... und das kann an sich nicht sein. Irgendwas st da bei dir gerade komisch. Kann da irgendwas mit Docker dazwischenfunken?

                                  Negalein 1 Reply Last reply Reply Quote 0
                                  • Negalein
                                    Negalein Global Moderator @Stabilostick last edited by

                                    @Stabilostick sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

                                    npm i iobroker.vis@1.1.10 --production --force
                                    

                                    ausführen?

                                    DANKE
                                    Jetzt ist zumindest die 1.1.10 wieder als installiert zu sehen.

                                    root@ioBroker:/opt/iobroker# npm i iobroker.vis@1.1.10 --production --force                                            
                                    npm WARN using --force I sure hope you know what you are doing.                                                        
                                                                                                                                                           
                                    > osx-temperature-sensor@1.0.3 install /opt/iobroker/node_modules/osx-temperature-sensor                               
                                    > node-gyp rebuild                                                                                                     
                                                                                                                                                           
                                    make: Verzeichnis „/opt/iobroker/node_modules/osx-temperature-sensor/build“ wird betreten                             
                                      SOLINK_MODULE(target) Release/obj.target/none.node                                                                   
                                      COPY Release/none.node                                                                                               
                                    make: Verzeichnis „/opt/iobroker/node_modules/osx-temperature-sensor/build“ wird verlassen                            
                                                                                                                                                           
                                    > xpc-connection@0.1.4 install /opt/iobroker/node_modules/xpc-connection                                               
                                    > node-gyp rebuild                                                                                                     
                                                                                                                                                           
                                    make: Verzeichnis „/opt/iobroker/node_modules/xpc-connection/build“ wird betreten                                     
                                      SOLINK_MODULE(target) Release/obj.target/binding.node                                                                
                                      COPY Release/binding.node                                                                                            
                                    make: Verzeichnis „/opt/iobroker/node_modules/xpc-connection/build“ wird verlassen                                    
                                                                                                                                                           
                                    > iobroker.vis@1.1.10 install /opt/iobroker/node_modules/iobroker.vis                                                  
                                    > node main.js --install                                                                                               
                                                                                                                                                           
                                    + iobroker.vis@1.1.10                                                                                                  
                                    added 3 packages from 4 contributors and audited 33920 packages in 114.152s                                            
                                    found 70 vulnerabilities (43 low, 4 moderate, 23 high)                                                                 
                                      run `npm audit fix` to fix them, or `npm audit` for details                                                          
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Stabilostick
                                      Stabilostick last edited by

                                      Dann versuche doch gleich das Update auf die neue Version nocheinmal.

                                      Negalein 1 Reply Last reply Reply Quote 0
                                      • Negalein
                                        Negalein Global Moderator @apollon77 last edited by

                                        @apollon77 sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

                                        Bei Dir scheint im Verzeichnis iobroker.is die main,js zu fehlen nach dem entpacken ... und das kann an sich nicht sein. Irgendwas st da bei dir gerade komisch. Kann da irgendwas mit Docker dazwischenfunken?

                                        Hmmm, beim Docker hab ich aktuell nur 2 Probleme, die ich noch vernachlässigen kann.

                                        1. ich bekomme zB beim Update vom JS-Controller die Meldung "sudo: Hostname ioBroker kann nicht aufgelöst werden"
                                        2. den Javascriptadapter bekomm ich nicht auf 4.1.12

                                        Sonst funktionieren immer alle Adapterupdates.

                                        1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 last edited by

                                          @Negalein sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

                                          den Javascriptadapter bekomm ich nicht auf 4.1.12

                                          und warum?

                                          Negalein 1 Reply Last reply Reply Quote 0
                                          • Negalein
                                            Negalein Global Moderator @Stabilostick last edited by

                                            @Stabilostick sagte in Update VIS 1.1.10 auf 1.2.0 Error 10:

                                            Dann versuche doch gleich das Update auf die neue Version nocheinmal.

                                            Wieder das selbe Problem.

                                            VIS scheint unter Adapter nicht installiert auf.

                                            $ ./iobroker upgrade vis
                                            Update vis from @1.1.10 to @1.2.0
                                            NPM version: 6.4.1
                                            npm install iobroker.vis@1.2.0 --production --save --prefix "/opt/iobroker" (System call)
                                            module.js:550    throw err;
                                                ^
                                            
                                            Error: Cannot find module '/opt/iobroker/node_modules/iobroker.vis/main.js'
                                                at Function.Module._resolveFilename (module.js:548:15)
                                                at Function.Module._load (module.js:475:25)
                                                at Function.Module.runMain (module.js:694:10)
                                                at startup (bootstrap_node.js:204:16)
                                                at bootstrap_node.js:625:3
                                            
                                            npm
                                             ERR! code ELIFECYCLEnpm ERR! errno 1
                                            
                                            npm
                                             ERR! iobroker.vis@1.2.0 install: `node main.js --install`npm ERR! Exit status 1
                                            npm ERR! 
                                            npm ERR! Failed at the iobroker.vis@1.2.0 install script.
                                            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                            
                                            
                                            npm ERR! A complete log of this run can be found in:
                                            npm
                                             
                                            ERR!     /root/.npm/_logs/2019-05-08T22_09_52_789Z-debug.log
                                            ERROR: Cannot find io-package.json in null
                                            ERROR: process exited with code 10
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            926
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            error update vis
                                            4
                                            59
                                            2290
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo