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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    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.
    • 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
                              • apollon77
                                apollon77 last edited by

                                machs mal wieder manuell mit dem --force

                                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:

                                  @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?

                                  Gibt schon seit einiger Zeit ein Thema darüber. Leider ohne Lösung.

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

                                    Und hast Du bei der Einrichtung des Containers z.B. auf Synology die Einstellung „dasselbe Netzwerk wie Docker Host verwenden“ ausgewählt? Das vermeidet Probleme mit dem Hostnamen.

                                    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:

                                      machs mal wieder manuell mit dem --force

                                      Danke jungs
                                      Jetzt bin ich auf 1.2.0 lt. Adapter

                                      Im VIS-Edit scheint zwar noch oben links die 1.1.10 auf.

                                      Stabilostick 2 Replies Last reply Reply Quote 0
                                      • Stabilostick
                                        Stabilostick @Negalein last edited by

                                        @Negalein

                                        Mache das gleiche bei JavaScript.

                                        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:

                                          Und hast Du bei der Einrichtung des Containers z.B. auf Synology die Einstellung „dasselbe Netzwerk wie Docker Host verwenden“ ausgewählt? Das vermeidet Probleme mit dem Hostnamen.

                                          Ja, ich bin da 1:1 nach der Anleitung von Buanet vorgegangen.

                                          Wenn ich in die Hosts meine IP und den Namen der Syno eintrage, verschwindet dieser Eintrag spätestens beim 1. ausgeführten Befehl.

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

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

                                            @Negalein

                                            Mache das gleiche bei JavaScript.

                                            schon dabei 🙂

                                            EDIT: Suuuuuuuper
                                            4.1.12 läuft

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            853
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            error update vis
                                            4
                                            59
                                            2787
                                            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