Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] VIS lässt sich nicht installieren

    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

    [gelöst] VIS lässt sich nicht installieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • bahnuhr
      bahnuhr Forum Testing Most Active last edited by bahnuhr

      Hallo,
      habe in proxmox eine neue VM erstellt mit bullseye.
      Danach iob installiert.
      Und per backitup ein restore eingespielt.
      Hat alles geklappt, bis auf die Installation von VIS.

      Im log kommt:

      vis.0
      2022-07-10 11:19:53.933	error	Not exists
      vis.0
      2022-07-10 11:19:53.931	error	Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21)
      vis.0
      2022-07-10 11:19:53.928	error	unhandled promise rejection: Not exists
      vis.0
      2022-07-10 11:19:53.927	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      vis.0
      2022-07-10 11:19:53.361	info	vis license is OK.
      vis.0
      2022-07-10 11:19:53.244	info	starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.16.0, js-controller: 4.0.23
      

      Danach manuell per putty probiert mit:

      iob upgrade vis@1.4.15 --debug
      
      This upgrade of "vis" will at least introduce the following changes:
      ==========================================================================
      -> 1.4.15:
      Better check of the offline license
      
      -> 1.4.14:
      Corrected GUI bug
      
      -> 1.4.13:
      The group attributes will be replaced recursively
      
      -> 1.4.12:
      Fixed bug with the export of specific widgets
      
      -> 1.4.11:
      Removed ES6 commands to be supported by older browsers
      Fixed problem with update of grouped widgets
      Added web manifest to be able to handle vis as the web app
      
      -> 1.4.8:
      Added support for js-controller 4.x
      
      -> 1.4.7:
      Fixed subscribeOidAtRuntime if called with invalid IDs
      Added support of license manager
      ==========================================================================
      
      BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
      Would you like to upgrade vis from @0.0.0 to @1.4.15 now? [(y)es, (n)o]: Y
      Update vis from @0.0.0 to @1.4.15
      NPM version: 8.11.0
      Installing iobroker.vis@1.4.15... (System call)
      npm ERR! code 6
      npm ERR! path /opt/iobroker/node_modules/iobroker.vis
      npm ERR! command failed
      npm ERR! command sh -c node main.js --install
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-07-10T09_25_08_664Z-debug-0.log
      host.iobroker Cannot install iobroker.vis@1.4.15: 6
      
      

      Und in dem da gezeigten log steht dann folgendes:
      2022-07-10T09_25_08_664Z-debug-0.log

      Frage:
      Warum lässt sich VIS als einzige Instanz nicht installieren. (alle anderen Instanzen wurden nach installiert)

      Bitte mal kurz drüber schauen wo dort der Fehler liegt.
      Danke.

      mfg
      Dieter

      Homoran crunchip M 3 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @bahnuhr last edited by

        @bahnuhr was sagt iobroker list adapters ?

        bahnuhr 1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @bahnuhr last edited by

          Problem ist ja schon mehrfach hier im Forum aufgetreten

          @bahnuhr sagte in VIS lässt sich nicht installieren:

          iob upgrade vis@1.4.15 --debug

          geht doch eigentlich gar nicht, da vis Adapter nicht vorhanden
          daher auch

          upgrade vis from @0.0.0 to @1.4.15 now?
          
          bahnuhr 1 Reply Last reply Reply Quote 0
          • bahnuhr
            bahnuhr Forum Testing Most Active @crunchip last edited by

            @crunchip

            bei iob install vis@1.4.15 --debug
            kommt:

            dieter@iobroker:~$ iob install  vis@1.4.15 --debug
            NPM version: 8.11.0
            Installing iobroker.vis@1.4.15... (System call)
            npm ERR! code 6
            npm ERR! path /opt/iobroker/node_modules/iobroker.vis
            npm ERR! command failed
            npm ERR! command sh -c node main.js --install
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2022-07-10T11_54_23_970Z-debug-0.log
            host.iobroker Cannot install iobroker.vis@1.4.15: 6
            

            und das dazugehörige log:
            2022-07-10T11_54_23_970Z-debug-0.log

            1 Reply Last reply Reply Quote 0
            • bahnuhr
              bahnuhr Forum Testing Most Active @Homoran last edited by

              @homoran sagte in VIS lässt sich nicht installieren:

              @bahnuhr was sagt iobroker list adapters ?

              dieter@iobroker:~$ iob list adapters
              system.adapter.admin                   : admin          - v5.3.8
              system.adapter.alias-manager           : alias-manager  - v1.2.4
              system.adapter.asterisk                : asterisk       - v1.0.6
              system.adapter.backitup                : backitup       - v2.4.9
              system.adapter.bmw                     : bmw            - v2.5.4
              system.adapter.bosch-ebike             : bosch-ebike    - v0.0.1
              system.adapter.cloud                   : cloud          - v4.1.1
              system.adapter.contact                 : contact        - v1.1.3
              system.adapter.daswetter               : daswetter      - v3.1.2
              system.adapter.doorio                  : doorio         - v2.1.4
              system.adapter.dwd                     : dwd            - v2.8.3
              system.adapter.email                   : email          - v1.1.3
              system.adapter.fb-checkpresence        : fb-checkpresence - v1.1.14
              system.adapter.feiertage               : feiertage      - v1.1.0
              system.adapter.flot                    : flot           - v1.11.0
              system.adapter.fritzbox                : fritzbox       - v0.2.1
              system.adapter.fritzdect               : fritzdect      - v2.2.3
              system.adapter.hm-rega                 : hm-rega        - v3.0.40
              system.adapter.hm-rpc                  : hm-rpc         - v1.15.12
              system.adapter.ical                    : ical           - v1.12.1
              system.adapter.icons-material-png      : icons-material-png - v0.1.0
              system.adapter.icons-mfd-png           : icons-mfd-png  - v1.1.0
              system.adapter.icons-open-icon-library-png: icons-open-icon-library-png - v0.1.2
              system.adapter.info                    : info           - v1.9.19
              system.adapter.javascript              : javascript     - v5.7.0
              system.adapter.linux-control           : linux-control  - v1.1.3
              system.adapter.logparser               : logparser      - v1.1.0
              system.adapter.mbus                    : mbus           - v2.3.4
              system.adapter.mihome                  : mihome         - v1.4.0
              system.adapter.mihome-vacuum           : mihome-vacuum  - v3.4.2
              system.adapter.mqtt                    : mqtt           - v3.0.6
              system.adapter.musiccast               : musiccast      - v1.0.5
              system.adapter.octoprint               : octoprint      - v4.0.0
              system.adapter.onvif                   : onvif          - v0.4.5
              system.adapter.parser                  : parser         - v1.1.7
              system.adapter.ping                    : ping           - v1.5.3
              system.adapter.pollenflug              : pollenflug     - v1.0.6
              system.adapter.proxmox                 : proxmox        - v1.3.4
              system.adapter.rest-api                : rest-api       - v1.0.0
              system.adapter.rssfeed                 : rssfeed        - v1.0.0
              system.adapter.sayit                   : sayit          - v1.12.3
              system.adapter.shelly                  : shelly         - v5.3.2
              system.adapter.simple-api              : simple-api     - v2.7.0
              system.adapter.smartmeter              : smartmeter     - v3.3.4
              system.adapter.socketio                : socketio       - v4.2.0
              system.adapter.sql                     : sql            - v2.1.7
              system.adapter.tankerkoenig            : tankerkoenig   - v2.1.1
              system.adapter.telegram                : telegram       - v1.13.0
              system.adapter.tr-064                  : tr-064         - v4.2.16
              system.adapter.tuya                    : tuya           - v3.6.15
              system.adapter.viessmann               : viessmann      - v1.3.7
              system.adapter.vis                     : vis            - v1.4.15
              system.adapter.vis-bars                : vis-bars       - v0.1.4
              system.adapter.vis-canvas-gauges       : vis-canvas-gauges - v0.1.5
              system.adapter.vis-colorpicker         : vis-colorpicker - v1.2.0
              system.adapter.vis-fancyswitch         : vis-fancyswitch - v1.1.0
              system.adapter.vis-google-fonts        : vis-google-fonts - v1.0.3
              system.adapter.vis-history             : vis-history    - v1.0.0
              system.adapter.vis-hqwidgets           : vis-hqwidgets  - v1.2.0
              system.adapter.vis-icontwo             : vis-icontwo    - v0.87.0
              system.adapter.vis-inventwo            : vis-inventwo   - v3.3.1
              system.adapter.vis-jqui-mfd            : vis-jqui-mfd   - v1.0.12
              system.adapter.vis-justgage            : vis-justgage   - v1.0.2
              system.adapter.vis-keyboard            : vis-keyboard   - v0.0.2
              system.adapter.vis-lcars               : vis-lcars      - v1.0.4
              system.adapter.vis-map                 : vis-map        - v1.0.4
              system.adapter.vis-materialdesign      : vis-materialdesign - v0.5.86
              system.adapter.vis-metro               : vis-metro      - v1.2.0
              system.adapter.vis-players             : vis-players    - v0.1.6
              system.adapter.vis-plumb               : vis-plumb      - v1.0.2
              system.adapter.vis-rgraph              : vis-rgraph     - v0.0.2
              system.adapter.vis-timeandweather      : vis-timeandweather - v1.1.7
              system.adapter.web                     : web            - v4.3.0
              system.adapter.wiobrowser              : wiobrowser     - v1.1.4
              system.adapter.yamaha                  : yamaha         - v0.5.2
              system.adapter.zigbee                  : zigbee         - v1.7.5
              dieter@iobroker:~$
              

              Da steht vis drin. Ist ja auch logisch. Wurde ja durch restore bei backitup eingespielt.
              Er lässt sich nur nicht installieren.

              crunchip Homoran 2 Replies Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @bahnuhr last edited by crunchip

                @bahnuhr https://forum.iobroker.net/post/813432 war z.b. vis/backitup ein Thema
                allerdings war es üblicherweise so, das der vis Adapter nicht vorhanden war, aber die Instanz

                aus dem log sehe ich z.b.

                39 silly fetch manifest iobroker.vis@1.4.15
                40 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
                64 info run iobroker.vis@1.4.15 install node_modules/iobroker.vis node main.js --install
                65 info run iobroker.vis@1.4.15 install { code: 6, signal: null }
                66 timing reify:rollback:createSparse Completed in 433ms
                67 timing reify:rollback:retireShallow Completed in 0ms
                68 timing command:install Completed in 16463ms
                69 verbose stack Error: command failed
                69 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
                69 verbose stack     at ChildProcess.emit (node:events:527:28)
                69 verbose stack     at maybeClose (node:internal/child_process:1092:16)
                69 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
                70 verbose pkgid iobroker.vis@1.4.15
                71 verbose cwd /opt/iobroker
                

                jedoch kann ich damit auch nix anfangen

                probier es mal im Nachgang mit

                cd /opt/iobroker
                
                npm install vis@1.4.12
                
                1 Reply Last reply Reply Quote 1
                • M
                  Michi68 @bahnuhr last edited by

                  @bahnuhr
                  Hallo,
                  hatte letztens das selbe Problem als ich meinen Raspberry auf Bullseye geupdatet habe.
                  Installiere VIS bevor du das Backup zurückspielst dann sollte es gehen.

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

                    @crunchip
                    @Michi68

                    Danke an alle.
                    Die Lösung stand auf git:
                    https://github.com/ioBroker/ioBroker.vis/issues/459

                    zuerst:
                    iobroker install vis@1.4.5

                    Und dann bei den Adapter upgrade gedrückt.

                    Läuft wieder.

                    P.S.
                    Dieser Fehler sollte trotzdem bereinigt werden.

                    RP70DP created this issue in ioBroker/ioBroker.vis

                    open Restore of iobroker with VIS v1.4.12 causes UNCAUGHT_EXCEPTION #459

                    1 Reply Last reply Reply Quote 1
                    • Homoran
                      Homoran Global Moderator Administrators @bahnuhr last edited by

                      @bahnuhr sagte in [gelöst] VIS lässt sich nicht installieren:

                      Da steht vis drin. Ist ja auch logisch. Wurde ja durch restore bei backitup eingespielt.
                      Er lässt sich nur nicht installieren.

                      eben icht!
                      gerade wenn durch den vis bug bei Backitup ein Backup wiederhergestellt wurde.

                      Dann wurde zwar die Instanz, aber eben nicht der Adapter installiert.

                      Dieser ist bei dir ja aus irgendeinem Grund vorhanden.

                      was willst du denn dan installieren?

                      bahnuhr 1 Reply Last reply Reply Quote 0
                      • bahnuhr
                        bahnuhr Forum Testing Most Active @Homoran last edited by

                        @homoran

                        Ein Anwender setzt alles neu auf (gemäß proxmox Doku auf iobroker)
                        Backitup eingespielt.
                        Alle Adapter/Intanzen werden nachinstalliert.

                        Nur nicht vis.

                        Alles muss da irgendwo der Fehler sein.

                        Entweder in vis, oder in iob, oder wo auch immer.

                        Und diesen Fehler/bug sollte man bereinigen.

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @bahnuhr last edited by

                          @bahnuhr sagte in [gelöst] VIS lässt sich nicht installieren:

                          Alles muss da irgendwo der Fehler sein.

                          Richtig!

                          gibt es gefühlt 100 Threads zu

                          bahnuhr 1 Reply Last reply Reply Quote 0
                          • bahnuhr
                            bahnuhr Forum Testing Most Active @Homoran last edited by

                            @homoran sagte in [gelöst] VIS lässt sich nicht installieren:

                            gibt es gefühlt 100 Threads zu

                            Das freut mich für dich wenn du diese alle gelesen hast.

                            Für mich war dies nicht present (obwohl ich mehrere Stunden täglich hier im Forum bin).

                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @bahnuhr last edited by

                              @bahnuhr sagte in [gelöst] VIS lässt sich nicht installieren:

                              obwohl ich mehrere Stunden täglich hier im Forum bin

                              alleine, wenn man genau deinen Threadtitel in die Suche eingibt, findet man etliche Thread's zumal Tage dabei waren, an denen es fast Top Thema war.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              565
                              Online

                              31.8k
                              Users

                              79.9k
                              Topics

                              1.3m
                              Posts

                              error vis
                              4
                              13
                              491
                              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