Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Admin seite nicht erreichbar

    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

    Admin seite nicht erreichbar

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

      Hallo Zusammen,

      nach einige tagen suchen und versuchen gehen mir weitere ideen aus. Ich will mein iobroker server von ein "normale" server auf ein raspberry pi 4(4GB) umziehen. Die admin seite auf port 8081 ist aber nicht erreichbar.

      Auf der Raspberry läuft auch owncloud mit nginx und redis, dort gibt es keine Problemen. Mosquitto ist auch installiert.

      Das hauptproblem liegt wahscheinlich hier:
      netstat -n -a -p TCP | grep 8081
      -> nix..
      der grund ist mir aber unklar, es gibt kein firewall.

      Habe die anleitung unter andere genutzt
      https://www.iobroker.net/docu/index-26.htm?page_id=3928&lang=de

      1. ps -A | grep iobroker
        2488 ? 00:00:03 iobroker.js-con

      2. netstat -n -a -p TCP | grep 900
        tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 565/php-fpm: master -> ?
        tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 2488/iobroker.js-co

      3. Versionen
        node -v -> v10.21.0
        npm -v -> 6.14.4
        nodejs -v -> v10.21.0

      4. iobroker list instances
        system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
        system.adapter.discovery.0 : discovery - enabled
        system.adapter.info.0 : info - enabled

      5. cat log/iobroker.2020-06-05.log
        2020-06-05 20:07:40.669 - info: host.home-server iobroker.js-controller version 3.1.4 js-controller starting
        2020-06-05 20:07:40.676 - info: host.home-server Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker
        2020-06-05 20:07:40.677 - info: host.home-server hostname: home-server, node: v10.21.0
        2020-06-05 20:07:40.679 - info: host.home-server ip addresses: 192.168.1.6 fe80::26a1:57d:5a96:ee48
        2020-06-05 20:07:40.739 - info: host.home-server Error inMem-states listening on port 9000
        2020-06-05 20:07:40.779 - info: host.home-server connected to Objects and States
        2020-06-05 20:07:40.994 - info: host.home-server 3 instances found
        2020-06-05 20:07:41.007 - info: host.home-server starting 3 instances
        2020-06-05 20:07:41.031 - info: host.home-server instance system.adapter.admin.0 started with pid 2509
        2020-06-05 20:07:44.444 - warn: admin.0 (2509) slow connection to states DB. Still waiting ...
        2020-06-05 20:07:45.025 - info: host.home-server instance system.adapter.discovery.0 started with pid 2521
        2020-06-05 20:07:48.012 - warn: discovery.0 (2521) slow connection to states DB. Still waiting ...
        2020-06-05 20:07:49.046 - info: host.home-server instance system.adapter.info.0 started with pid 2532
        2020-06-05 20:07:52.714 - warn: info.0 (2532) slow connection to states DB. Still waiting ...

      Habe auch level=debug versucht aber keine auffölligkeiten ausser die
      "warn: admin.0 (2509) slow connection to states DB. Still waiting ..."

      1. netstat -n -a -p TCP
        wie oben erwähnt...nix
        -> Hier steht leider in der anleitung auch nichts was eventuell der Grund sein kann

      2. Mehrfach neu installiert, keine verbesserung

      Kan jemand mir hier weiterhelfen?

      Danke

      S 1 Reply Last reply Reply Quote 0
      • S
        stsch83 @bas last edited by

        @bas said in Admin seite nicht erreichbar:

        Hallo Zusammen,

        nach einige tagen suchen und versuchen gehen mir weitere ideen aus. Ich will mein iobroker server von ein "normale" server auf ein raspberry pi 4(4GB) umziehen. Die admin seite auf port 8081 ist aber nicht erreichbar.

        Auf der Raspberry läuft auch owncloud mit nginx und redis, dort gibt es keine Problemen. Mosquitto ist auch installiert.

        Das hauptproblem liegt wahscheinlich hier:
        netstat -n -a -p TCP | grep 8081
        -> nix..
        der grund ist mir aber unklar, es gibt kein firewall.

        Habe die anleitung unter andere genutzt
        https://www.iobroker.net/docu/index-26.htm?page_id=3928&lang=de

        1. ps -A | grep iobroker
          2488 ? 00:00:03 iobroker.js-con

        2. netstat -n -a -p TCP | grep 900
          tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 565/php-fpm: master -> ?
          tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 2488/iobroker.js-co

        3. Versionen
          node -v -> v10.21.0
          npm -v -> 6.14.4
          nodejs -v -> v10.21.0

        4. iobroker list instances
          system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
          system.adapter.discovery.0 : discovery - enabled
          system.adapter.info.0 : info - enabled

        5. cat log/iobroker.2020-06-05.log
          2020-06-05 20:07:40.669 - info: host.home-server iobroker.js-controller version 3.1.4 js-controller starting
          2020-06-05 20:07:40.676 - info: host.home-server Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker
          2020-06-05 20:07:40.677 - info: host.home-server hostname: home-server, node: v10.21.0
          2020-06-05 20:07:40.679 - info: host.home-server ip addresses: 192.168.1.6 fe80::26a1:57d:5a96:ee48
          2020-06-05 20:07:40.739 - info: host.home-server Error inMem-states listening on port 9000
          2020-06-05 20:07:40.779 - info: host.home-server connected to Objects and States
          2020-06-05 20:07:40.994 - info: host.home-server 3 instances found
          2020-06-05 20:07:41.007 - info: host.home-server starting 3 instances
          2020-06-05 20:07:41.031 - info: host.home-server instance system.adapter.admin.0 started with pid 2509
          2020-06-05 20:07:44.444 - warn: admin.0 (2509) slow connection to states DB. Still waiting ...
          2020-06-05 20:07:45.025 - info: host.home-server instance system.adapter.discovery.0 started with pid 2521
          2020-06-05 20:07:48.012 - warn: discovery.0 (2521) slow connection to states DB. Still waiting ...
          2020-06-05 20:07:49.046 - info: host.home-server instance system.adapter.info.0 started with pid 2532
          2020-06-05 20:07:52.714 - warn: info.0 (2532) slow connection to states DB. Still waiting ...

        Habe auch level=debug versucht aber keine auffölligkeiten ausser die
        "warn: admin.0 (2509) slow connection to states DB. Still waiting ..."

        1. netstat -n -a -p TCP
          wie oben erwähnt...nix
          -> Hier steht leider in der anleitung auch nichts was eventuell der Grund sein kann

        2. Mehrfach neu installiert, keine verbesserung

        Kan jemand mir hier weiterhelfen?

        Danke

        Probier mal den Admin Adapter auf einen anderen Port zu legen:

        cd /opt/iobroker
        sudo iobroker set admin.0 --port 8081

        z.B. auf Port 7777 mit

        cd /opt/iobroker
        sudo iobroker set admin.0 --port 7777

        Dann sollte der iobroker über http://ip-adresse:7777 erreichbar sein

        1 Reply Last reply Reply Quote 0
        • B
          bas last edited by bas

          kein verbesserung

          iobroker list instances
            system.adapter.admin.0                 : admin                 -  enabled, port: 7777, bind: 0.0.0.0, run as: admin
            system.adapter.discovery.0             : discovery             -  enabled
            system.adapter.info.0                  : info                  -  enabled
          
          netstat -n -a -p TCP | grep 7777
          

          nix 😞

          Ich habe auch ein Redis server wegen owncloud, habe aber iobroker als file-basiert konfiguriert:

          Current configuration:
          - Objects database:
            - Type: file
            - Host/Unix Socket: 127.0.0.1
            - Port: 9001
          - States database:
            - Type: file
            - Host/Unix Socket: 127.0.0.1
            - Port: 9000
          - Data Directory: ../../iobroker-data/
          

          wenn ich aber den redis server stop

          service redis stop
          ps -ae | grep redis -> nix
          

          Dann iobroker neu starte:

          service iobroker restart
          

          dan läuft trotzdem der redis server:

          ps -ae | grep redis
          6484 ?        00:00:00 redis-server
          

          Kann es mir schwer vortellen aber könnte das etwas damit zu tun haben?

          Mein altes system hat kein redis server und ist ein normale x86 machine

          1 Reply Last reply Reply Quote 0
          • B
            bas last edited by bas

            Ok, habs

            das problem war tatsächlich:

            2020-06-05 20:07:41.031 - info: host.home-server instance system.adapter.admin.0 started with pid 2509
            2020-06-05 20:07:44.444 - warn: admin.0 (2509) slow connection to states DB. Still waiting ...
            

            anscheinend ist diese konfiguration nicht in in ordnung wenn ein redis server läuft:

            Current configuration:
            - Objects database:
              - Type: file
              - Host/Unix Socket: 127.0.0.1
              - Port: 9001
            - States database:
              - Type: file
              - Host/Unix Socket: 127.0.0.1
              - Port: 9000
            - Data Directory: ../../iobroker-data/
            

            ich habe die konfig nach ein redis basierte DB geändert:

            Current configuration:
            - Objects database:
              - Type: redis
              - Host/Unix Socket: 127.0.0.1
              - Port: 6379
            - States database:
              - Type: redis
              - Host/Unix Socket: 127.0.0.1
              - Port: 6379
            

            und siehe:

            2020-06-06 09:17:28.535  - info: host.home-server instance system.adapter.admin.0 started with pid 8853
            2020-06-06 09:17:30.155  - info: admin.0 (8853) starting. Version 4.0.10 in /opt/iobroker/node_modules/iobroker.admin, node: v12.18.0, js-controller: 3.1.4
            2020-06-06 09:17:30.229  - info: admin.0 (8853) requesting all states
            2020-06-06 09:17:30.230  - info: admin.0 (8853) requesting all objects
            2020-06-06 09:17:30.334  - info: admin.0 (8853) received all objects
            2020-06-06 09:17:30.379  - info: admin.0 (8853) http server listening on port 7777
            2020-06-06 09:17:30.380  - info: admin.0 (8853) Use link "http://localhost:7777" to configure.
            

            geht 🙂

            vielleicht sollte man im log diese "warn" nach ein "error" deklarieren

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

            Support us

            ioBroker
            Community Adapters
            Donate
            FAQ Cloud / IOT
            HowTo: Node.js-Update
            HowTo: Backup/Restore
            Downloads
            BLOG

            611
            Online

            31.9k
            Users

            80.2k
            Topics

            1.3m
            Posts

            admin weboberfläche nicht erreichbar port 8081
            2
            4
            1367
            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