Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Info.0 Fehler Instanz steht auf rot

    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

    UNSOLVED Info.0 Fehler Instanz steht auf rot

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

      Hallo zusammen,

      Aktuell habe ich das Problem das die Instanz Info.0 auf rot steht.
      Ich kenne mich leider noch nicht mit iobroker aus
      Hier mal meine Log und im Anschluss die Systeminformationen+
      Das System hatte ich neu aufgesetzt.
      Vielen Dank im Voraus

      VG Guido

      host.ubuntu 2020-11-25 21:02:07.986 info Restart adapter system.adapter.info.0 because enabled
      host.ubuntu 2020-11-25 21:02:07.986 error instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.ubuntu 2020-11-25 21:02:07.985 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:15:14)
      host.ubuntu 2020-11-25 21:02:07.985 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ubuntu 2020-11-25 21:02:07.984 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ubuntu 2020-11-25 21:02:07.983 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ubuntu 2020-11-25 21:02:07.983 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ubuntu 2020-11-25 21:02:07.982 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ubuntu 2020-11-25 21:02:07.982 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ubuntu 2020-11-25 21:02:07.981 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/moment/moment.js:11:2)
      host.ubuntu 2020-11-25 21:02:07.980 error Caught by controller[0]: at /opt/iobroker/node_modules/moment/moment.js:8:85
      host.ubuntu 2020-11-25 21:02:07.980 error Caught by controller[0]: at /opt/iobroker/node_modules/moment/moment.js:4919:20
      host.ubuntu 2020-11-25 21:02:07.979 error Caught by controller[0]: TypeError: Cannot assign to read only property 'toString' of object '#<Moment>'
      host.ubuntu 2020-11-25 21:02:07.978 error Caught by controller[0]: ^
      host.ubuntu 2020-11-25 21:02:07.978 error Caught by controller[0]: proto.toString = toString;
      host.ubuntu 2020-11-25 21:02:07.976 error Caught by controller[0]: /opt/iobroker/node_modules/moment/moment.js:4919

      Systemdata Bitte Ausfüllen

      ubuntu
      Platform
      linux
      Betriebssystem
      linux
      Architektur
      arm
      CPUs
      4
      Geschwindigkeit
      900 MHz
      Modell
      ARMv7 Processor rev 5 (v7l)
      RAM
      852.87 MB
      System Betriebszeit
      00:23:47
      Node.js
      v12.20.0
      NPM
      6.14.8
      Festplatte Größe
      7.11 GB
      Festplatte frei
      4.21 GB
      Anzahl der Adapter
      313

      Thomas Braun 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @GK last edited by Thomas Braun

        @GK sagte in Info.0 Fehler Instanz steht auf rot:

        Bitte Konsolen/Log-Text auch in CodeTags </> setzen.

        Hier hat jemand das gleiche Problem:
        https://forum.iobroker.net/topic/39013/iobroker-läuft-nicht-mehr-richtig-nur-noch-logfehler

        Komisch...

        Welche Version des info-Adapters läuft da bei dir?

        Muss sich vermutlich @ldittmar mal anschauen.

        1 Reply Last reply Reply Quote 0
        • L
          Lady Ela last edited by

          Ich habe das selbe Problem alle Adapter aktuell nur der Info Adapter scheint nicht mehr richtig zu laufen nur Logfehler mit eingeschaltetem Info Adatper, dieser bleibt auch rot.

          host.ioBroker-Pi	2020-11-25 21:21:48.470	info	Do not restart adapter system.adapter.info.0 because disabled or deleted
          host.ioBroker-Pi	2020-11-25 21:21:48.469	error	instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          host.ioBroker-Pi	2020-11-25 21:21:48.469	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:15:14)
          host.ioBroker-Pi	2020-11-25 21:21:48.469	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
          host.ioBroker-Pi	2020-11-25 21:21:48.469	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
          host.ioBroker-Pi	2020-11-25 21:21:48.468	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
          host.ioBroker-Pi	2020-11-25 21:21:48.468	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
          host.ioBroker-Pi	2020-11-25 21:21:48.468	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
          host.ioBroker-Pi	2020-11-25 21:21:48.468	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
          host.ioBroker-Pi	2020-11-25 21:21:48.468	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/moment/moment.js:11:2)
          host.ioBroker-Pi	2020-11-25 21:21:48.467	error	Caught by controller[0]: at /opt/iobroker/node_modules/moment/moment.js:8:85
          host.ioBroker-Pi	2020-11-25 21:21:48.467	error	Caught by controller[0]: at /opt/iobroker/node_modules/moment/moment.js:4919:20
          host.ioBroker-Pi	2020-11-25 21:21:48.467	error	Caught by controller[0]: TypeError: Cannot assign to read only property 'toString' of object '#<Moment>'
          host.ioBroker-Pi	2020-11-25 21:21:48.467	error	Caught by controller[0]: ^
          host.ioBroker-Pi	2020-11-25 21:21:48.466	error	Caught by controller[0]: proto.toString = toString;
          host.ioBroker-Pi	2020-11-25 21:21:48.465	error	Caught by controller[0]: /opt/iobroker/node_modules/moment/moment.js:4919
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Lady Ela last edited by Thomas Braun

            @Lady-Ela @ldittmar

            Da klemmt es bei den Dependencies, scheint mir.
            Ich hatte zuvor eine höhere Version von nodeJS (15.3.0) installiert, damit gab es kein Problem. Mit node 12.2.0:

            npm list moment
            npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
            iobroker.inst@2.0.3 /opt/iobroker
            ├─┬ iobroker.backitup@1.7.0
            │ └─┬ node-schedule@1.3.2
            │   └─┬ cron-parser@2.16.3
            │     └─┬ moment-timezone@0.5.31
            │       └── moment@2.27.0  deduped
            ├─┬ UNMET DEPENDENCY iobroker.iot@1.8.5
            │ └── UNMET DEPENDENCY moment@2.29.1
            └─┬ iobroker.js-controller@3.1.6
              └─┬ winston-daily-rotate-file@4.5.0
                └─┬ file-stream-rotator@0.5.7
                  └── moment@2.27.0
            
            npm ERR! missing: iobroker.iot@1.8.5, required by iobroker.inst@2.0.3
            npm ERR! missing: moment@2.29.1, required by iobroker.iot@1.8.5
            

            Zurück auf node15:

            npm list moment
            iobroker.inst@2.0.3 /opt/iobroker
            ├─┬ iobroker.backitup@1.7.0
            │ └─┬ node-schedule@1.3.2
            │   └─┬ cron-parser@2.16.3
            │     └─┬ moment-timezone@0.5.31
            │       └── moment@2.27.0 deduped
            ├─┬ iobroker.iot@1.8.5
            │ └── moment@2.29.1
            └─┬ iobroker.js-controller@3.1.6
              └─┬ winston-daily-rotate-file@4.5.0
                └─┬ file-stream-rotator@0.5.7
                  └── moment@2.27.0
            
            ldittmar 1 Reply Last reply Reply Quote 0
            • ldittmar
              ldittmar Developer @Thomas Braun last edited by

              Also... ich habe node 12.16.3 drauf und bei mir geht alles... Seit wann ist der Fehler da? Welche Versionen vom Adapter habt ihr installiert?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @ldittmar last edited by Thomas Braun

                @ldittmar
                Sorry, ich glaube der info-Adapter ist nur Opfer, da klemmt es wohl beim iot und/oder js-controller.

                system.adapter.info                    : info           - v1.7.10
                

                Mit node14 sieht es aber bei mir auch nicht besser aus:

                pi@raspberrypi:/opt/iobroker $ npm list moment
                npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
                iobroker.inst@2.0.3 /opt/iobroker
                ├─┬ iobroker.backitup@1.7.0
                │ └─┬ node-schedule@1.3.2
                │   └─┬ cron-parser@2.16.3
                │     └─┬ moment-timezone@0.5.31
                │       └── moment@2.27.0  deduped
                ├─┬ UNMET DEPENDENCY iobroker.iot@1.8.5
                │ └── UNMET DEPENDENCY moment@2.29.1
                └─┬ iobroker.js-controller@3.1.6
                  └─┬ winston-daily-rotate-file@4.5.0
                    └─┬ file-stream-rotator@0.5.7
                      └── moment@2.27.0
                
                npm ERR! missing: iobroker.iot@1.8.5, required by iobroker.inst@2.0.3
                npm ERR! missing: moment@2.29.1, required by iobroker.iot@1.8.5
                

                Kann aber vielleicht auch mit der höheren npm-Version@7 zusammenhängen, die mit node15 kommt. (Nein, das ist keine Empfehlung diese krumme Version zu installieren!)

                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @GK last edited by

                  @GK

                  https://github.com/iobroker-community-adapters/ioBroker.info/issues/190

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  666
                  Online

                  31.9k
                  Users

                  80.1k
                  Topics

                  1.3m
                  Posts

                  info.0 fehler
                  4
                  7
                  497
                  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