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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    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 @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
                                    • Stabilostick
                                      Stabilostick @Negalein last edited by

                                      @Negalein

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

                                      ? In der Anleitung von B. sehe ich nichts von hosts...

                                      Negalein 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

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

                                        ? In der Anleitung von B. sehe ich nichts von hosts...

                                        Abschnitt 3

                                        Achtung! Wie es ausschaut hat sich innerhalb des Docker Pakets von Synology etwas in Bezug auf den Hostnamen geändert. Wurde bisher der Hostname der DS verwendet, so wird ab sofort im Container der Name des Containers verwendet. Da ioBroker auf den Hostnamen „geschlüsselt“ ist, kann es sein dass nach dem Update des Containers die ioBroker Adapter nicht mehr starten. Um dies zu korrigieren reicht es folgende Schritte aus zu führen:

                                        cd /opt/iobroker
                                        pkill io
                                        iobroker host this (bei multihostsystemen: iobroker host [hostname der ds])
                                        node node_modules/iobroker.js-controller/controller.js >/opt/scripts/docker_iobroker_log.txt 2>&1 &
                                        

                                        Abschnitt 4 steht auch zB

                                        Schritt 3: ioBroker für den Start auf neuem System vorbereiten und starten
                                        An dieser Stelle ist ioBroker noch nicht lauffähig, da sich mit dem Umzug auf die DS in der Regel auch der Hostname geändert hat. Um ioBroker den neuen Hostname mit zu teilen reicht ein einfacher Befehl, ausgeführt im ioBroker-Verzeichnis über das Terminal des Docker-Containers:

                                        cd /opt/iobroker
                                        iobroker host this
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Stabilostick
                                          Stabilostick @Negalein last edited by

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

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

                                          Kenne mich da mit 1.2.0 nicht aus, aber schlimmer wird es damit nicht:

                                          iobroker upload vis.0
                                          

                                          im ioBroker-Ordner auf Verdacht ausführen.

                                          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:

                                            Kenne mich da mit 1.2.0 nicht aus, aber schlimmer wird es damit nicht:
                                            iobroker upload vis.0

                                            Ja, beim starten von Vis muss dann eine Meldung kommen mit : update found........

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            981
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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