Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. Online Version

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Online Version

    This topic has been deleted. Only users with topic management privileges can see it.
    • Bluefox
      Bluefox last edited by

      > Was mir nun aber auffällt, ich kann keinerlei Webseiten mittels iobroker.web aufrufen
      Was für einein Link willst du z.B. aufrufen?

      1 Reply Last reply Reply Quote 0
      • V
        versteckt last edited by

        Vis musste ich noch eine Instanz hinzufügen.

        Geht nicht und occ auch nicht.

        Ich geh mal davon aus, das ich das komplett neu installieren soll und es kein Update auf eine bestehende Installation ist.

        Gesendet von meinem iPhone mit Tapatalk

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

          @versteckt:

          Vis musste ich noch eine Instanz hinzufügen.

          Geht nicht und occ auch nicht.

          Ich geh mal davon aus, das ich das komplett neu installieren soll und es kein Update auf eine bestehende Installation ist.

          Gesendet von meinem iPhone mit Tapatalk `
          Update muss auch gehen.

          1 Reply Last reply Reply Quote 0
          • H
            Heinzelmaennchen last edited by

            Hallo Bluefox,

            das Verhalten kann ich bestätigen. Die Applikationen/Webseiten die auf dem web Adapter (8082) beruhen, kommen mit der Fehlermeldung, dass die entsprechende Seite nicht gefunden wird.

            Beispiel:

            8082/vis/index.html/#MAIN

            Das Vergalten gilt bei mir für vis, rickshaw und icons-mfd-png. Die Seiten sind natürlich im Filesystem da. Anscheinend ist mit dem Mapping der Verzeichnisse in den webservice auf Port 8082 noch etwas nicht ganz korrekt.

            Gruß

            Bernhard

            1 Reply Last reply Reply Quote 0
            • V
              versteckt last edited by

              Wenn ich auf eine externe socket.io umstelle, kommt zumindest die Website von occ.

              Bei vis erscheint folgendes in der Javascript Konsole:

              Die Verbindung zu ws://localhost:8084/socket.io/?key=nokey&EIO=3&transport=websocket&sid=NIc8NygDsIOVwpLSAAAC wurde unterbrochen, während die Seite geladen wurde. socket.io.js:4519:0
              GET 
              XHR 
              http://localhost:8082/vis.0/main/vis-user.css [HTTP/1.1 404 Not Found 7ms]
              "Error: Cannot load /vis.0/main/vis-user.css - Not Found" conn.js:582:8
              "2015-06-22T12:00:59.068Z Connected => authenticate" conn.js:186:0
              

              Und die Seite bleibt mit "Verbinde mit Server …" stehen.

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

                ` > Hallo Bluefox,

                das Verhalten kann ich bestätigen. `

                Kannst du bitte das ausführen in /opt/iobroker

                iobroker object get system.adapter.web --pretty
                

                und Ergebniss mir schicken.

                1 Reply Last reply Reply Quote 0
                • V
                  versteckt last edited by

                  {
                    "_id": "system.adapter.web",
                    "type": "adapter",
                    "common": {
                      "name": "web",
                      "version": "0.4.0",
                      "title": "ioBroker simple web Adapter",
                      "desc": {
                        "en": "opens a webserver for the ioBroker",
                        "de": "Stellt webserver für 'ioBroker Adapter' zur Verfügung",
                        "ru": "Запускает веб сервер для 'ioBroker драйверов'"
                      },
                      "mode": "daemon",
                      "platform": "Javascript/Node.js",
                      "loglevel": "info",
                      "icon": "web.png",
                      "readme": "https://github.com/ioBroker/ioBroker.web/blob/master/README.md",
                      "enabled": true,
                      "keywords": [
                        "web",
                        "server",
                        "www",
                        "express"
                      ],
                      "extIcon": "https://raw.githubusercontent.com/ioBroker/ioBroker.web/master/admin/web.png",
                      "type": "visualisation",
                      "installedVersion": "0.4.0"
                    },
                    "native": {
                      "port": 8082,
                      "auth": false,
                      "secure": false,
                      "bind": "0.0.0.0",
                      "cache": false,
                      "socketio": "",
                      "simpleapi": false,
                      "defaultUser": "admin",
                      "ttl": 3600,
                      "secret": "86ce20d98ed710b3abc957d57acc65a5efdba4784cddaca4"
                    }
                  }
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • Bluefox
                    Bluefox last edited by

                    @Bluefox:

                    ` > Hallo Bluefox,

                    das Verhalten kann ich bestätigen. `

                    Kannst du bitte das ausführen in /opt/iobroker

                    iobroker object get system.adapter.web --pretty
                    

                    und Ergebniss mir schicken. `
                    Sorry habe ein Fehler gemacht.

                    Bitte:

                    iobroker object get system.adapter.web.0 --pretty
                    

                    aufrufen.

                    1 Reply Last reply Reply Quote 0
                    • V
                      versteckt last edited by

                      {
                        "_id": "system.adapter.web.0",
                        "type": "instance",
                        "common": {
                          "name": "web",
                          "version": "0.4.0",
                          "title": "ioBroker simple web Adapter",
                          "desc": {
                            "en": "opens a webserver for the ioBroker",
                            "de": "Stellt webserver für 'ioBroker Adapter' zur Verfügung",
                            "ru": "Запускает веб сервер для 'ioBroker драйверов'"
                          },
                          "mode": "daemon",
                          "platform": "Javascript/Node.js",
                          "loglevel": "debug",
                          "icon": "web.png",
                          "readme": "https://github.com/ioBroker/ioBroker.web/blob/master/README.md",
                          "enabled": true,
                          "keywords": [
                            "web",
                            "server",
                            "www",
                            "express"
                          ],
                          "extIcon": "https://raw.githubusercontent.com/ioBroker/ioBroker.web/master/admin/web.png",
                          "type": "visualisation",
                          "installedVersion": "0.4.0",
                          "host": "Christians-MacBook-Pro.local",
                          "schedule": ""
                        },
                        "native": {
                          "port": "8082",
                          "auth": false,
                          "secure": false,
                          "bind": "192.168.1.90",
                          "cache": false,
                          "socketio": "",
                          "simpleapi": false,
                          "defaultUser": "admin",
                          "ttl": 3600,
                          "certPublic": "",
                          "certPrivate": ""
                        }
                      }
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • Bluefox
                        Bluefox last edited by

                        Ich habe 3 Systeme ausprobiert. Ich kann es nicht reproduzieren….

                        Seid ihr sicher, dass mindestens das ausgeführt habt?

                        iobroker stop
                        npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production
                        npm install https://github.com/ioBroker/ioBroker.admin/tarball/master --production
                        npm install https://github.com/ioBroker/ioBroker.web/tarball/master --production
                        cd node_modules/iobroker.web
                        npm install https://github.com/ioBroker/ioBroker.simple-api/tarball/master  --production
                        npm install https://github.com/ioBroker/ioBroker.socketio/tarball/master  --production
                        cd ..
                        cd ..
                        iobroker upload web
                        sudo reboot
                        
                        

                        Vielleicht noch das hier:

                        iobroker chmod 777 vis/*
                        iobroker chown admin vis/*
                        
                        

                        und Konfiguration von Web-Instanz aufmachen was verändern/zurückändern und speichern.

                        1 Reply Last reply Reply Quote 0
                        • V
                          versteckt last edited by

                          Hallo,

                          also ich habe folgendes gemacht: (bin Mac User)

                          mkdir /Users/christian/DEVELOPMENT
                          cd /Users/christian/DEVELOPMENT
                          npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master
                          npm install https://github.com/ioBroker/ioBroker.admin/tarball/master
                          npm install https://github.com/ioBroker/ioBroker.web/tarball/master
                          npm install https://github.com/ioBroker/ioBroker.simple-api/tarball/master
                          npm install https://github.com/ioBroker/ioBroker.vis/tarball/master
                          cd node_modules/iobroker.web
                          npm install https://github.com/ioBroker/ioBroker.simple-api/tarball/master
                          npm install https://github.com/ioBroker/ioBroker.socketio/tarball/master
                          cd ..
                          cd ..
                          ln -s ./node_modules/iobroker.js-controller/iobroker iobroker
                          ./iobroker upload web
                          ./iobroker upload vis
                          ./iobroker upload simple-api
                          cd node_modules
                          npm install iobroker.occ
                          cd ..
                          ./iobroker start
                          

                          Danach in der Weboberfläche vis und occ hinzugefügt.

                          Dann kamen die Fehler.

                          Aber was noch wichtiger ist, ich habe eine komplette Neuinstallation gemacht.

                          Ev. verhält sich das System anders, wenn es auf eine bestehende draufgestülpt wird,

                          das muss ich erst ausprobieren.

                          1 Reply Last reply Reply Quote 0
                          • H
                            Heinzelmaennchen last edited by

                            Hallo Bluefox,

                            Bin leider heute beruflich in München.

                            Kann das also erst morgen Abend ausführen.

                            Herzliche Grüße

                            Bernhard

                            1 Reply Last reply Reply Quote 0
                            • S
                              siedi last edited by

                              Auf meinem Mac (Entwicklung) hatte ich nicht das Problem.

                              Auf meinem RPi allerdings auch. Liegt definitiv an den Rechten (getraced bis hin zum checkFileRights). Wie von bluefox vorgeschlagen, mit

                              iobroker chmod 777 vis/*
                              iobroker chown admin vis/*
                              

                              kann ich vis dann auch wieder auf meinem RPi aufrufen.

                              Brauchen wir für die neue Version einen Migrationsleitfaden :-)?

                              LG

                              Siedi

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

                                @versteckt:

                                Hallo,

                                also ich habe folgendes gemacht: (bin Mac User)

                                Danach in der Weboberfläche vis und occ hinzugefügt.

                                Dann kamen die Fehler.

                                Aber was noch wichtiger ist, ich habe eine komplette Neuinstallation gemacht.

                                Ev. verhält sich das System anders, wenn es auf eine bestehende draufgestülpt wird,

                                das muss ich erst ausprobieren. `
                                Habe genau diese Befehle jetzt auf eine Machine auf terminal.com ausgeführt.

                                Mit kleiner Abweichung:

                                mkdir /opt/iobroker
                                cd /opt/iobroker
                                npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production
                                npm install https://github.com/ioBroker/ioBroker.admin/tarball/master --production
                                npm install https://github.com/ioBroker/ioBroker.web/tarball/master --production
                                npm install https://github.com/ioBroker/ioBroker.vis/tarball/master --production
                                cd node_modules/iobroker.web
                                npm install https://github.com/ioBroker/ioBroker.simple-api/tarball/master --production
                                npm install https://github.com/ioBroker/ioBroker.socketio/tarball/master --production
                                cd ..
                                cd ..
                                ln -s ./node_modules/iobroker.js-controller/iobroker iobroker
                                chmod 777 * -R
                                echo Man muss Verzeichnis nicht ändern - cd node_modules
                                npm install iobroker.occ --production
                                echo Man muss Verzeichnis nicht ändern - cd ..
                                ./iobroker start
                                

                                Und dann lief es sofort.

                                > Dann kamen die Fehler.
                                Welche?

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

                                  @siedi:

                                  Auf meinem Mac (Entwicklung) hatte ich nicht das Problem.

                                  Auf meinem RPi allerdings auch. Liegt definitiv an den Rechten (getraced bis hin zum checkFileRights). Wie von bluefox vorgeschlagen, mit

                                  iobroker chmod 777 vis/*
                                  iobroker chown admin vis/*
                                  

                                  kann ich vis dann auch wieder auf meinem RPi aufrufen.

                                  Brauchen wir für die neue Version einen Migrationsleitfaden :-)?

                                  LG

                                  Siedi `
                                  Halleluja. Mindestens bei jemandem geht. Sonst verstehe ich nicht die Welt.

                                  Eigentlich es soll ohne "chmod/chown" gehen. Aber…

                                  Ich habe 3 mal windows (neu und update und von von "versteckt") ausprobiert. Alles geht

                                  Ein mal update auf debian (odroid) geht.

                                  Ein mal neu auf debian terminal.com geht.

                                  ....

                                  iobroker chmod 777 vis/*
                                  iobroker chown admin vis/*
                                  

                                  Muss noch jemand bestätigen.

                                  1 Reply Last reply Reply Quote 0
                                  • V
                                    versteckt last edited by

                                    Ich werde das heute am Abend nochmals Schritt für Schritt durchführen und gebe dann Bescheid.

                                    LG Christian

                                    Gesendet von meinem iPhone mit Tapatalk

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      versteckt last edited by

                                      So, hatte grad 10 Minuten Zeit.

                                      Alles nochmals neu installiert, zuerst mit deiner Anleitung, danach mit meiner.

                                      Jetzt geht's.

                                      Warum auch immer. Dann werde ich heute Abend die Permissions testen anfangen.

                                      Gesendet von meinem iPhone mit Tapatalk

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        StefSign last edited by

                                        Hallo,

                                        gerade auf einem Odroid XU3 mit aktuellen Archlinux nach der letzten Anleitung (OCC habe ich noch weggelassen) installiert.

                                        Von einem Chrome Browser/Mac zugegriffen.

                                        Ergebnis:

                                        • Auf den ersten Blick funktioniert alles.

                                        • VIS lies sich starten und funktioniert besser als Version 0.5.9

                                        Alles in Allen "gute Arbeit"

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          vader722 last edited by

                                          Ich hab mal die letzte Version nach Bluefox Anleitung installiert.

                                          Installation lief auf dem BananaPi Problemlos. Wenn ich die einzelnen Objekte anklicke kann ich auch schön die Rechte vergeben.

                                          Leider bekomme ich den Zugriff über die Simple-API nicht mehr hin. Beim Zugriff auf z.B.

                                          https://IP/getPlainValue/hm-rpc.1.HEQ0XXXXX.1.STATE?user=USERNAME&pass=PASSWORT
                                          

                                          bekomme ich immer````
                                          error: permissionError

                                          
                                          Es ist egal welchen User ich als Owner eintrage. Es sind die Rechte für Alle (sowohl Objekt als auch Zustand) vergeben.
                                          
                                          Im Log ist kein Eintrag zu sehen.
                                          
                                          Ansonsten läuft alles problemlos (wobei ich VIS wegen ein paar fehlenden hq-Widgets) noch nicht nutze.
                                          
                                          Gruss Marco
                                          1 Reply Last reply Reply Quote 0
                                          • Bluefox
                                            Bluefox last edited by

                                            Was wird bei dir angezeigt?

                                            iobroker o get hm-rpc.1.HEQ0XXXXX.1.STATE --pretty
                                            

                                            Kannst du auch andere Variablen probieren. Z.B.

                                            https://IP:8087/getPlainValue/system.adapter.admin.0.uptime?user=admin&pass=iobroker
                                            

                                            ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            990
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            73
                                            11205
                                            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