Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. TypeError: common.log is not a function

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    TypeError: common.log is not a function

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

      Guten Abend zusammen.

      Ich habe heute mein iobroker geupdatet. Dabei kam es leider zu Fehlern die ich nicht mehr in der History habe.

      Ein starten von iobroker ist nicht mehr möglich. Es bricht mit folgender Meldung ab.

      Starting iobroker controller daemon...
      /opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136
                  throw new Error(msg.error);
                  ^
      
      Error: TypeError: common.log is not a function
          at DailyRotateFile.log (/opt/iobroker/node_modules/winston-daily-rotate-file/index.js:215:23)
          at transportLog (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/winston/lib/winston/logger.js:234:15)
          at /opt/iobroker/node_modules/iobroker.js-controller/node_modules/async/lib/async.js:157:13
          at _each (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/async/lib/async.js:57:9)
          at Object.async.each (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/async/lib/async.js:156:9)
          at Logger.log (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/winston/lib/winston/logger.js:246:9)
          at target.(anonymous function) [as info] (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/winston/lib/winston/common.js:54:18)
          at init (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:2512:12)
          at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/controller.js:2624:1)
          at Module._compile (module.js:577:32)
          at ChildProcess. <anonymous>(/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136:19)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at process.nextTick (internal/child_process.js:787:12)
          at _combinedTickCallback (internal/process/next_tick.js:73:7)
          at process._tickCallback (internal/process/next_tick.js:104:9)</anonymous></anonymous> 
      

      Meine Versionen sind wie folgt:

      # npm -v && node -v
      3.10.10
      v6.14.4
      
      

      Das ganze läuft auf einem Debian 9.

      Leider habe ich ab hier nicht mehr viel ideen was zu tun ist. Linux ist nicht das Problem. Aber das ganze Node etc. ist leider noch nicht so mein Thema.

      Habt ihr Ideen, was ich tun könnte?

      Gruß und schonmal Danke

      zimpi

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

        Was genau hast du den geupdatet? Welche js-Controller Version nutzt du?

        Gesendet vom Handy …

        1 Reply Last reply Reply Quote 0
        • Z
          zimpi last edited by

          Das ist die Version 1.4.2

          Ich habe den iobroker selber aktualisiert.

          1 Reply Last reply Reply Quote 0
          • Z
            zimpi last edited by

            Nachdem ich gerade NodeJS neuinstalliert habe und anschließend die reinstall.sh ausgeführt habe.

            Läuft wieder alles.

            Mir ist es nicht ganz klar. Warum das so ist, aber es läuft nun erstmal wieder.

            Danke und Gruß

            zimpi

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

              Zweiteres bzw ja Controller nochmal drüber installieren wär auch mein Tipp gewesen.

              Gesendet vom Handy …

              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

              835
              Online

              32.1k
              Users

              80.6k
              Topics

              1.3m
              Posts

              2
              5
              522
              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