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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    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 Jey Cee

      Nachdem ich heute mein VIS von 1.1.10 auf 1.2.0 updaten wollte, wurde das Update mit Code 10 beendet.

      An was könnte das liegen und was könnte ich machen, damit es durchläuft?

      VIS und VIS-Edit funktionieren weiterhin.

      $ ./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
       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: 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 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 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-08T20_35_35_493Z-debug.log
      
      ERROR: Cannot find io-package.json in null
      ERROR: process exited with code 10
      

      2019-05-08T20_35_35_493Z-debug.log

      Node.js: 8.15.1
      NPM: 6.4.1
      JS-Controller: 1.4.2
      installiert auf Synology im Docker

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

        Mach mal einen Neustart............

        Negalein 2 Replies 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:

          Mach mal einen Neustart............

          Da trau ich mich wetten, dass VIS dann nicht mehr geht.

          Melde mich gleich zurück.

          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:

            Mach mal einen Neustart............

            So, nach einem Neustart läuft VIS und VIS-Edit noch.
            Im VIS-Edit wird 1.1.10 angezeigt.

            Im Admin wird es jetzt komisch.

            Als verfügbar wird mir 1.2.0 angezeigt.
            Aber das Feld für installiert ist leer!
            adapters - ioBroker.png

            Dann hätte ich über das + eine Instanz hinzugefügt.
            host.ioBroker error: this adapter does not allow multiple instances

            $ ./iobroker add vis  --host ioBroker
            NPM version: 6.4.1
            npm install iobroker.vis --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.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-08T21_06_05_301Z-debug.log
            
            ERROR: host.ioBroker error: this adapter does not allow multiple instances
            ERROR: process exited with code 19
            
            sigi234 1 Reply 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:

              Dann hätte ich über das + eine Instanz hinzugefügt.
              host.ioBroker error: this adapter does not allow multiple instances

              Das war Falsch, Vis geht nur eine Instanz!

              Negalein 1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            482
                                            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