Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Iobroker.js-controller@1.2.7 - kein syslog mehr

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    7
    1
    277

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    9
    1
    258

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    908

Iobroker.js-controller@1.2.7 - kein syslog mehr

Geplant Angeheftet Gesperrt Verschoben Error/Bug
13 Beiträge 6 Kommentatoren 1.3k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • R Offline
    R Offline
    RappiRN
    Most Active
    schrieb am zuletzt editiert von
    #2

    Wenn das wirklich fehlen sollte, geht denn ein

    Mit einem fehlenden Syslog hatte ich keine Probleme.

    Enrico

    Edit: Vergiss es, ich habe so ein Modul nicht finden können in der ioBroker Installation. :?

    1 Antwort Letzte Antwort
    0
    • sissiwupS Offline
      sissiwupS Offline
      sissiwup
      schrieb am zuletzt editiert von
      #3

      iobroker ist nicht mit winston-syslog 2.0 kompatibel,

      deshalb:

      npm i winston-syslog@"1.*"
      
      

      und zwar in /opt/iobroker

      und in /opt/iobroker/node_modules/iobroker.js-controller

      MfG

      Sissi

      –-----------------------------------------

      1 CCU3 1 CCU2-Gateway 1 LanGateway 1 Pi-Gateway 1 I7 für ioBroker/MySQL


      1 Antwort Letzte Antwort
      0
      • apollon77A Offline
        apollon77A Offline
        apollon77
        schrieb am zuletzt editiert von
        #4

        Das kann nicht sein!

        Die Standard Dependecy zu winston-syslog ist 2.0.0 und läuft bei mir schon ewig produktiv.

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        1 Antwort Letzte Antwort
        0
        • haselchenH Offline
          haselchenH Offline
          haselchen
          Most Active
          schrieb am zuletzt editiert von
          #5

          Lustig, dass ihr Beide schonmal eine ähnliche Diskussion hattet :D :D

          viewtopic.php?t=4223

          Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

          1 Antwort Letzte Antwort
          0
          • BluefoxB Offline
            BluefoxB Offline
            Bluefox
            schrieb am zuletzt editiert von
            #6

            Also winston-syslog =>1.2.6 ???

            1 Antwort Letzte Antwort
            0
            • sissiwupS Offline
              sissiwupS Offline
              sissiwup
              schrieb am zuletzt editiert von
              #7

              Hallo,

              ja, winston-syslog 1.2.6.

              winston-syslog 2.0 funktioniert, bist man syslog wirklich aktiviert.

              Dann braucht er ein paar zusätzliche Abhängigkeiten, die dann nicht mehr funktionieren.

              MfG

              Sissi

              –-----------------------------------------

              1 CCU3 1 CCU2-Gateway 1 LanGateway 1 Pi-Gateway 1 I7 für ioBroker/MySQL


              1 Antwort Letzte Antwort
              0
              • apollon77A Offline
                apollon77A Offline
                apollon77
                schrieb am zuletzt editiert von
                #8

                ich kann mich nur wiederholen … Ich habe syslog aktiv und tut mit dem was standard deps sind

                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                1 Antwort Letzte Antwort
                0
                • BluefoxB Offline
                  BluefoxB Offline
                  Bluefox
                  schrieb am zuletzt editiert von
                  #9

                  wenn man

                  cd /opt/iobroker
                  npm i winston-syslog@1.2.6
                  iobroker restart
                  
                  

                  ausführt.. Hilft das?

                  1 Antwort Letzte Antwort
                  0
                  • sissiwupS Offline
                    sissiwupS Offline
                    sissiwup
                    schrieb am zuletzt editiert von
                    #10

                    @Bluefox:

                    wenn man

                    cd /opt/iobroker
                    npm i winston-syslog@1.2.6
                    iobroker restart
                    
                    

                    ausführt.. Hilft das? `

                    Nein (habe grade auf 1.3.0 upgedatet):

                    Ich habe die Datei logger.js im Unterverzeichnis lib angepaßt um einen Fehler zu sehen:

                    /* jshint -W097 */// jshint strict:false
                    /*jslint node: true */
                    'use strict';
                    
                    var winston         = require('winston');
                    var DailyRotateFile = require('winston-daily-rotate-file');
                    var fs              = require('fs');
                    var path            = require('path');
                    var os              = require('os');
                    var tools           = require(__dirname + '/tools.js');
                    var SysLog;
                    var hostname        = tools.getHostName();
                    
                    try {
                        SysLog = require('winston-syslog').Syslog;
                    } catch (ex) {
                        console.error('No syslog support');
                        console.error(ex);
                        console.error('No syslog support');
                    }
                    
                    
                    host.zotac	2018-03-13 13:27:47.460	error	Caught by controller[3]: Syslog configured, but not installed!
                    host.zotac	2018-03-13 13:27:47.460	error	Caught by controller[2]: No syslog support
                    host.zotac	2018-03-13 13:27:47.460	error	Caught by controller[1]: at Function.Module._load (module.js:497:3) code: 'MODULE_NOT_FOUND' }
                    host.zotac	2018-03-13 13:27:47.460	error	Caught by controller[1]: at tryModuleLoad (module.js:505:12)
                    host.zotac	2018-03-13 13:27:47.460	error	Caught by controller[1]: at Module.load (module.js:565:32)
                    host.zotac	2018-03-13 13:27:47.460	error	Caught by controller[1]: at Object.Module._extensions..js (module.js:663:10)
                    host.zotac	2018-03-13 13:27:47.460	error	Caught by controller[1]: at Module._compile (module.js:652:30)
                    host.zotac	2018-03-13 13:27:47.460	error	Caught by controller[1]: at Object. (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/winston-syslog/lib/winston-syslog.js:15:28)
                    host.zotac	2018-03-13 13:27:47.459	error	Caught by controller[1]: at require (internal/module.js:11:18)
                    host.zotac	2018-03-13 13:27:47.459	error	Caught by controller[1]: at Module.require (module.js:596:17)
                    host.zotac	2018-03-13 13:27:47.459	error	Caught by controller[1]: at Function.Module._load (module.js:474:25)
                    host.zotac	2018-03-13 13:27:47.459	error	Caught by controller[1]: at Function.Module._resolveFilename (module.js:547:15)
                    host.zotac	2018-03-13 13:27:47.459	error	Caught by controller[1]: { Error: Cannot find module 'triple-beam'
                    host.zotac	2018-03-13 13:27:47.454	error	Caught by controller[0]: No syslog support
                    

                    Erst:

                    /opt/iobroker/node_modules/iobroker.js-controller# npm i winston-syslog@1.2.6
                    
                    
                    /opt/iobroker/node_modules/iobroker.js-controller# npm i winston-syslog@1.2.6
                    
                    > unix-dgram@0.2.3 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram
                    > node-gyp rebuild
                    
                    gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
                    gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
                    gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
                    make: Entering directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build'
                      CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                      SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                      COPY Release/unix_dgram.node
                    make: Leaving directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build'
                    npm notice save winston-syslog is being moved from dependencies to optionalDependencies
                    npm notice created a lockfile as package-lock.json. You should commit this file.
                    + winston-syslog@1.2.6
                    added 13 packages from 33 contributors and updated 1 package in 15.001s
                    
                    

                    Dann lief der Logger wieder.

                    Meine Einstellungen im iobroker json:

                     "log": {
                        "level": "info",
                        "maxDays": 30,
                        "transport": {
                          "file1": {
                            "type": "file",
                            "enabled": true,
                            "filename": "log/iobroker",
                            "fileext": ".log",
                            "maxsize": null,
                            "maxFiles": null
                          },
                          "syslog1": {
                                    "type":                 "syslog",
                                    "enabled":              true,
                    
                                    "host":                 "192.168.1.13",
                                    "host_comment":         "The host running syslogd, defaults to localhost.",
                                    "port":                 "514",
                                    "port_comment":         "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP
                    ).",
                                    "protocol":             "udp4",
                                    "protocol_comment":     "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                                    "path":                 "",
                                    "path_comment":         "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                    "facility_comment":     "Syslog facility to use (Default: local0).",
                                    "localhost":            "iobroker",
                                    "localhost_comment":    "Host to indicate that log messages are coming from (Default: localhost).",
                                    "sysLogType_comment":   "The type of the syslog protocol to use (Default: BSD).",
                                    "app_name_comment":     "The name of the application (Default: process.title).",
                                    "eol_comment":          "The end of line character to be added to the end of the message (Default: Message without
                    modifications)."
                                }
                        }
                    
                    

                    MfG

                    Sissi

                    –-----------------------------------------

                    1 CCU3 1 CCU2-Gateway 1 LanGateway 1 Pi-Gateway 1 I7 für ioBroker/MySQL


                    1 Antwort Letzte Antwort
                    0
                    • apollon77A Offline
                      apollon77A Offline
                      apollon77
                      schrieb am zuletzt editiert von
                      #11

                      Ich nehme alles frühere zurück und behaupte das Gegenteil :-))

                      Ja mit 1.3.0 vom js-controller geht es mit Syslog nur mit winston-syslog 1.2.6 :-(

                      Die Dependency vom js.contrtoller ist an sich: "winston-syslog": "^1.2.6"

                      (als optionalDependency)

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      1 Antwort Letzte Antwort
                      0
                      • F Offline
                        F Offline
                        fred23
                        schrieb am zuletzt editiert von
                        #12

                        Hallo, ich habe den js.controller 1.3.0 am laufen, ohne Probleme.

                        npm list gibt mir dabei folgende Versionen aus.

                        ! │ ├─┬ winston@2.4.1 │ │ ├── async@1.0.0 │ │ ├── colors@1.0.3 │ │ ├── cycle@1.0.3 │ │ ├── eyes@0.1.8 │ │ ├── isstream@0.1.2 deduped │ │ └── stack-trace@0.0.10 │ ├─┬ winston-daily-rotate-file@1.7.2 │ │ └── mkdirp@0.5.1 deduped │ ├─┬ winston-syslog@2.0.0 │ │ ├── cycle@1.0.3 deduped │ │ ├── glossy@0.1.7 │ │ └─┬ unix-dgram@0.2.3 │ │ ├── bindings@1.1.1 │ │ └── nan@2.3.5 !

                        Es scheint auch winston-syslog 2.0.0 zu gehen.

                        Mein System läuft ohne Fehlermeldungen und das Syslog läuft auch.

                        mfg. Fred

                        RaspMatic auf Raspi 3+

                        ioBroker auf einem Qnap-VM-Server unter Debian 4.9

                        1 Antwort Letzte Antwort
                        0
                        • apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #13

                          Ich hab mal meine installierten Deps gecheckt … da läuft am End eauch wohldie 2.0.0 ... aber vorher gabs Probleme. Vllt fehlte irgend eine andere Dependency?! Ich blicks nicht :-)

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          1 Antwort Letzte Antwort
                          0

                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                          Registrieren Anmelden
                          Antworten
                          • In einem neuen Thema antworten
                          Anmelden zum Antworten
                          • Älteste zuerst
                          • Neuste zuerst
                          • Meiste Stimmen


                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          324

                          Online

                          32.8k

                          Benutzer

                          82.8k

                          Themen

                          1.3m

                          Beiträge
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                          ioBroker Community 2014-2025
                          logo
                          • Anmelden

                          • Du hast noch kein Konto? Registrieren

                          • Anmelden oder registrieren, um zu suchen
                          • Erster Beitrag
                            Letzter Beitrag
                          0
                          • Home
                          • Aktuell
                          • Tags
                          • Ungelesen 0
                          • Kategorien
                          • Unreplied
                          • Beliebt
                          • GitHub
                          • Docu
                          • Hilfe