Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. VIS lädt Projekt nicht mehr

    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

    VIS lädt Projekt nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MP_Trixi @Thomas Braun last edited by MP_Trixi

      @thomas-braun
      danke für die Deine Hilfe - bin da wirklich absoluter DAU der ausführt und nicht wirklich weiß was er tut. In den Files habe ich bisher nichts händisch gemacht (bis auf heute).

      Das sieht jetzt so aus:

      pi@smarthome:~ $ cat /etc/apt/sources.list
      deb http://deb.debian.org/debian bullseye main contrib non-free
      deb http://security.debian.org/debian-security bullseye-security main contrib non-free
      deb http://deb.debian.org/debian bullseye-updates main contrib non-free
      # Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'
      #deb-src http://deb.debian.org/debian bullseye main contrib non-free
      #deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
      #deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
      

      und

      pi@smarthome:~ $ cat /etc/apt/sources.list.d/nodesource.list
      #node 16
      deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main
      deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main
      
      
      

      damit sieht es jetzt so aus:

      pi@smarthome:~ $ uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      aarch64
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      /usr/bin/npx
      v16.19.0
      v16.19.0
      8.19.3
      8.19.3
      4.0.24
      pi
      pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
      tty
      /home/pi
      Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
      Hit:2 http://deb.debian.org/debian bullseye InRelease
      Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
      Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
      Hit:5 https://repos.influxdata.com/debian stretch InRelease
      Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
      Hit:7 https://packages.grafana.com/oss/deb stable InRelease
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      All packages are up to date.
      nodejs:
        Installed: 16.19.0-deb-1nodesource1
        Candidate: 16.19.0-deb-1nodesource1
        Version table:
       *** 16.19.0-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
              100 /var/lib/dpkg/status
           12.22.12~dfsg-1~deb11u3 500
              500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
           12.22.5~dfsg-2~11u1 500
              500 http://deb.debian.org/debian bullseye/main arm64 Packages
      
      

      grafana:

      pi@smarthome:~ $ cat /etc/apt/sources.list.d/grafana.list
      deb https://packages.grafana.com/oss/deb stable main
      
      

      influx gibt es nicht

      pi@smarthome:~ $ cat /etc/apt/sources.list.d/influxdata.list
      cat: /etc/apt/sources.list.d/influxdata.list: No such file or directory
      
      

      Was müsste ich jetzt genau tun? grafana und influx löschen (wie?) und komplett neu installieren? Was ist dann mit den Einstellungen und Daten?

      1 Reply Last reply Reply Quote 0
      • M
        MP_Trixi @Thomas Braun last edited by MP_Trixi

        @thomas-braun

        habe mir den Link angeschaut.

        Stimmt. Beim der Anleitung zum downgrade kamen bei sudo apt update fehler zu keys. Da habe ich auch nach Hilfe gesucht und folgendes gefunden zum Beheben (das habe ich auch gemacht):
        sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9E439B102CF3C0C6
        sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D8FF8E1F7DF8B07E

        einer war influx, einer grafana. Danach lief sudo apt update durch

        pi@smarthome:~ $ apt-key list | grep -i grafana | wc -l
        Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
        2
        
        

        die Keys jetzt löschen?

        pi@smarthome:~ $ apt-key list
        Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
        /etc/apt/trusted.gpg
        --------------------
        pub   rsa4096 2015-09-28 [SC]
              05CE 1508 5FC0 9D18 E99E  FB22 684A 14CF 2582 E0C5
        uid           [ unknown] InfluxDB Packaging Service <support@influxdb.com>
        sub   rsa4096 2015-09-28 [E]
        
        pub   rsa2048 2017-01-24 [SC]
              4E40 DDF6 D76E 284A 4A67  80E4 8C8C 34C5 2409 8CB6
        uid           [ unknown] Grafana <info@grafana.com>
        sub   rsa2048 2017-01-24 [E]
        
        pub   rsa4096 2023-01-18 [SC] [expires: 2026-01-17]
              9D53 9D90 D332 8DC7 D6C8  D3B9 D8FF 8E1F 7DF8 B07E
        uid           [ unknown] InfluxData Package Signing Key <support@influxdata.com>
        
        pub   rsa3072 2023-01-06 [SC] [expires: 2025-01-05]
              0E22 EB88 E39E 1227 7A77  60AE 9E43 9B10 2CF3 C0C6
        uid           [ unknown] Grafana Labs <engineering@grafana.com>
        sub   rsa3072 2023-01-06 [E] [expires: 2025-01-05]
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @MP_Trixi last edited by

          @mp_trixi

          Ja, steht auch so im entsprechenden Thread drin.

          1 Reply Last reply Reply Quote 0
          • M
            MP_Trixi @Thomas Braun last edited by

            @thomas-braun
            habs für grafana nach Deiner Anleitung gemacht. Die Keys für influx analog gelöscht

            wie sind die folgenden zwei Befehle für influx?

            sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
            echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @MP_Trixi last edited by

              @mp_trixi

              Influx wird auch in dem Thread behandelt.

              M 1 Reply Last reply Reply Quote 0
              • M
                MP_Trixi @Thomas Braun last edited by MP_Trixi

                @thomas-braun
                danke - denke nach ein paar hops habe ich es gefunden und influxdb sollte nun auch passen. Kannst kurz drüber schauen?

                pi@smarthome:~ $ sudo apt update
                Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                Hit:2 http://deb.debian.org/debian bullseye InRelease
                Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                Get:5 https://repos.influxdata.com/debian stable InRelease [6874 B]
                Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
                Hit:7 https://apt.grafana.com stable InRelease
                Get:8 https://repos.influxdata.com/debian stable/main armhf Packages [1669 B]
                Get:9 https://repos.influxdata.com/debian stable/main arm64 Packages [3275 B]
                Fetched 11.8 kB in 2s (7438 B/s)
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                All packages are up to date.
                
                pi@smarthome:~ $ uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                aarch64
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                /usr/bin/npx
                v16.19.0
                v16.19.0
                8.19.3
                8.19.3
                4.0.24
                pi
                pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
                tty
                /home/pi
                Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                Hit:2 http://deb.debian.org/debian bullseye InRelease
                Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
                Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                Hit:6 https://repos.influxdata.com/debian stable InRelease
                Hit:7 https://apt.grafana.com stable InRelease
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                All packages are up to date.
                nodejs:
                  Installed: 16.19.0-deb-1nodesource1
                  Candidate: 16.19.0-deb-1nodesource1
                  Version table:
                 *** 16.19.0-deb-1nodesource1 500
                        500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                        100 /var/lib/dpkg/status
                     12.22.12~dfsg-1~deb11u3 500
                        500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                     12.22.5~dfsg-2~11u1 500
                        500 http://deb.debian.org/debian bullseye/main arm64 Packages
                
                
                pi@smarthome:~ $ cat /etc/apt/sources.list.d/influxdata.list
                deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                pi@smarthome:~ $ cat /etc/apt/sources.list.d/grafana.list
                deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main
                
                
                pi@smarthome:~ $ ls -la /etc/apt/sources.list.d/
                total 24
                drwxr-xr-x 2 root root 4096 Jan 28 14:47 .
                drwxr-xr-x 8 root root 4096 Jan 28 14:27 ..
                -rw-r--r-- 1 root root   84 Jan 28 13:54 grafana.list
                -rw-r--r-- 1 root root  117 Jan 28 14:46 influxdata.list
                -rw-r--r-- 1 root root  218 Jan 28 13:24 nodesource.list
                -rw-r--r-- 1 root root  191 Apr  4  2022 raspi.list
                
                
                M 1 Reply Last reply Reply Quote 0
                • M
                  MP_Trixi @MP_Trixi last edited by

                  nachdem mein System auf der richtigen Nodejs Version ist und die Repos passen sollten zurück zu meinem eigentlichen Problem:

                  @Glasfaser
                  @Scrounger

                  habt ihr da evtl. eine Idee (s. erster Post)

                  1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @MP_Trixi last edited by Glasfaser

                    @mp_trixi sagte in VIS lädt Projekt nicht mehr:

                    Will ich mein Projekt öffnen, bleibt es bei Loading Values hängen.

                    Ich würde auf das bekannte Thema "Verbindungsfehler " in zusammenhang mit ws tippen !

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MP_Trixi @Glasfaser last edited by MP_Trixi

                      @glasfaser
                      die Posts dazu habe ich gefunden (deshalb hatte ich Dich angesprochen). Hab das aber schon probiert (vlt. habe ich da noch was falsch):

                      1. habe die beiden Adapter installiert
                        d8c11f0d-f8b3-40fc-bbf2-43593fc233c7-image.png
                      2. vom socket.io gibt es keine Instanz
                      3. die Instanz vom Web Socket ist so konfiguriert
                        413baa6b-0287-42d3-bd4e-b9dfdca0a82a-image.png
                      4. die Instanz vom web:
                        daae41fd-6b3d-4f19-8a11-5b123b25ce0e-image.png

                      Es geht nicht. Ich hatte vor der Änderung gestern keine Probleme. Da habe in das Projekt eine Index-Seite eingefügt mit Material Design Top Bar Menu und View8. Das lädt nicht mehr (bleibt beim Loading Values wie oben beschrieben hängen). Aus dem Backup habe ich mir das json der Version von Vorgestern geholt und damit ein neues Projekt erstellt. Das lädt. Wie auch das Default.main.

                      Wenn die default VIS geladen wird kommt das in der Konsole:

                      Version vis-google-fonts: 0.0.1
                      edit.html:6581 Version vis-map: 1.0.3
                      lib.min.js:43 Download the Vue Devtools extension for a better development experience:
                      https://github.com/vuejs/vue-devtools
                      lib.min.js:43 You are running Vue in development mode.
                      Make sure to turn on production mode when deploying for production.
                      See more tips at https://vuejs.org/guide/deployment.html
                      edit.html:8765 Metro version: "1.2.0"
                      edit.html:10097 Version vis-plumb: 1.0.0
                      trashschedule.js:152 Version trashschedule: 2.0.3
                      vis-material-advanced.js:184 Version vis-material-advanced: 1.6.0
                      edit.html:19283 Version vis-weather: 2.5.6
                      socket.io.js:66 [2023-01-28T15:00:36.789Z] Try to connect
                      conn.js:305 2023-01-28T15:00:36.808Z Connected => authenticate
                      conn.js:326 2023-01-28T15:00:36.865Z Authenticated: true
                      materialdesign.js:33 Version vis-materialdesign: 0.5.9
                      edit.html:1 Unchecked runtime.lastError: The message port closed before a response was received.
                      instrument.ts:129 sentry initialized for vis-materialdesign
                      instrument.ts:129 Create inner vis object demoTemperature
                      instrument.ts:129 Create inner vis object demoHumidity
                      instrument.ts:129 "Use background": {"en": "Use background", "de": "Use background", "ru": "Use background"},
                      7instrument.ts:129 "ctrl - Bool": {"en": "ctrl - Bool", "de": "ctrl - Bool", "ru": "ctrl - Bool"},
                      instrument.ts:129 "string": {"en": "string", "de": "string", "ru": "string"},
                      2instrument.ts:129 "progress": {"en": "progress", "de": "progress", "ru": "progress"},
                      5instrument.ts:129 "view": {"en": "view", "de": "view", "ru": "view"},
                      2instrument.ts:129 "messages": {"en": "messages", "de": "messages", "ru": "messages"},
                      DevTools failed to load source map: Could not load content for http://192.168.1.112:8082/vis/widgets/material-webfont/css/materialdesignicons.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
                      

                      772e2ab3-732a-45d4-aae9-f704714c0d01-image.png
                      Also einen Fehler und die Warnung habe ich da schon. Aber es wird noch geladen.

                      Beim "Problemprojekt" kommt das hinzu:

                      visUtils.js:455 Uncaught TypeError: Cannot read properties of undefined (reading 'data')
                          at getUsedObjectIDs (visUtils.js:455:97)
                          at Object.getUsedObjectIDs (vis.js:519:22)
                          at vis.js:2055:34
                          at conn.js:580:25
                      getUsedObjectIDs @ visUtils.js:455
                      getUsedObjectIDs @ vis.js:519
                      (anonymous) @ vis.js:2055
                      (anonymous) @ conn.js:580
                      setTimeout (async)
                      (anonymous) @ conn.js:579
                      SocketClient.findAnswer @ socket.io.js:294
                      socket.onmessage @ socket.io.js:202
                      instrument.ts:129 sentry initialized for vis-materialdesign
                      

                      Da scheint der Hund begraben zu sein.

                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @MP_Trixi last edited by

                        @mp_trixi

                        Was ist ist in einem neuen Projekt mit nur

                        . Da habe in das Projekt eine Index-Seite eingefügt mit Material Design Top Bar Menu und View8.

                        kommt dort auch :

                        Das lädt nicht mehr (bleibt beim Loading Values

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MP_Trixi @Glasfaser last edited by

                          @glasfaser
                          ich hoffe ich habe dich richtig verstanden. Ich habe vorher ein neues Projekt angelegt. Da dann in den Projektpfad per VIS-Dateimanager die aus dem Backup geholte json reinkopiert. Das war der Stand vor TopBarMenu und View8 (waren aber auch schon andere Material Design Widget drin). Das wird im Editor geladen. Da sieht die Console erstmal so aus wie beim Default, dann kommt viel anderes Zeugs (Fehler nur noch dass er Bilder nicht findet).

                          Glasfaser 1 Reply Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @MP_Trixi last edited by

                            @mp_trixi sagte in VIS lädt Projekt nicht mehr:

                            Da dann in den Projektpfad per VIS-Dateimanager die aus dem Backup geholte json reinkopiert.

                            Nein .. nicht so .

                            Ein neues leeres Projekt erstellen , nennen wir es Test .

                            und dort ein View erstellen mit den beiden Widget´s... was ist dann !?

                            ... ich wollte erstmal von deinem bestehenden Projekt weg !!

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              MP_Trixi @Glasfaser last edited by

                              @glasfaser
                              habs mal ganz rudimentär nachgestellt - da tuts (also eine Seite mit dem TopBarMenu und view8 Widget) mit zwei Menüeinträgen und dazu zwei blanke Views zum testen)

                              im Prinzip könnte ich doch aus dem "kaputten" json mir view für view rauskopieren und importieren, oder?

                              Glasfaser 1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @MP_Trixi last edited by

                                @mp_trixi

                                richtig ... importiere einzeln die Views in dein neues Projekt ... nach und nach .

                                Eventuell ein Widget was quer schießt , ist aber sehr schwer zu finden.

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  MP_Trixi @Glasfaser last edited by MP_Trixi

                                  @glasfaser
                                  danke - habe so jetzt mal alle Views wieder herbekommen. Passt erstmal. Komisch das Ganze.
                                  Bevor ich das nochmals mit dem Menü versuche. Meine Einstellungen socket und Web stimmen so? Und die Fehler die schon beim default kommen sind ok/normal?

                                  Glasfaser 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @MP_Trixi last edited by

                                    @mp_trixi sagte in VIS lädt Projekt nicht mehr:

                                    Und die Fehler die schon beim default kommen sind ok/normal?

                                    ich habe keine Ahnung was du jetzt damit meinst .. bzw. wissen willst .

                                    (Fehler nur noch dass er Bilder nicht findet).

                                    meinst du das , er findet die Bilder nicht , weil sie in deinem Projekt " PFH-Vis " hinterlegt sind . ( Pfadangabe )

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      MP_Trixi @Glasfaser last edited by

                                      @glasfaser

                                      Ja. Das mit den Bildern ist kein Problem und schon gefixt. Bevor ich neu anfange würde ich gerne mögliche Fehler vorher ausmerzen. Wichtig ist ob das mit den Adaptern so passt und ob die Meldung beim Laden des Default-Projektes ok sind. Da ist wie oben gepostet ein Fehler und eine Warnung zu Material Design drin:
                                      a5b8dfff-837e-4f4c-b561-4006a390d006-image.png https://forum.iobroker.net/assets/uploads/files/1674918472801-772e2ab3-732a-45d4-aae9-f704714c0d01-image.png

                                      Glasfaser 1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @MP_Trixi last edited by

                                        @mp_trixi

                                        das hier :

                                        835ad346-2522-48be-8f35-f28f56f3342f-grafik.png

                                        kommt aber nicht von diesem Widget Adapter

                                        Wenn es nicht stört kann du es vernachlässigen .

                                        den gibt es auch hier :

                                        https://github.com/ioBroker/ioBroker.vis/issues/588

                                        crunchip77 created this issue in ioBroker/ioBroker.vis

                                        closed Vis2 Browserlog beim öffnen der vis und neu laden der Viewesseite beim umschalten der Palette #29

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          MP_Trixi @Glasfaser last edited by

                                          @glasfaser
                                          Ok. Danke dir

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          494
                                          Online

                                          31.9k
                                          Users

                                          80.1k
                                          Topics

                                          1.3m
                                          Posts

                                          4
                                          35
                                          1258
                                          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