Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. bas

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Groups 1

    bas

    @bas

    Starter

    0
    Reputation
    99
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    bas Follow
    Starter

    Latest posts made by bas

    • RE: Admin seite nicht erreichbar

      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

      posted in ioBroker Allgemein
      B
      bas
    • RE: Admin seite nicht erreichbar

      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

      posted in ioBroker Allgemein
      B
      bas
    • 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

      posted in ioBroker Allgemein
      B
      bas
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo