Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 2.2 jetzt im Latest

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

js-controller 2.2 jetzt im Latest

Scheduled Pinned Locked Moved ioBroker Allgemein
js-controller
160 Posts 39 Posters 26.1k Views 31 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Archimedeus AA Offline
    Archimedeus AA Offline
    Archimedeus A
    wrote on last edited by
    #108

    @Diginix Oh wunder, der iobroker upgrade self hat was gemacht, konnte jetzt den admin updaten. Cool!

    1 Reply Last reply
    0
    • crunchipC Away
      crunchipC Away
      crunchip
      Forum Testing Most Active
      wrote on last edited by
      #109

      wenn ich den js-controller update, sollte doch node.js auch mit aktualisiert werden, oder irre ich mich jetzt?

      umgestiegen von Proxmox auf Unraid

      J apollon77A 2 Replies Last reply
      0
      • crunchipC crunchip

        wenn ich den js-controller update, sollte doch node.js auch mit aktualisiert werden, oder irre ich mich jetzt?

        J Offline
        J Offline
        Jan1
        wrote on last edited by
        #110

        @crunchip
        Ja weil das eine mit dem anderen nichts zu tun hat. Node wird über System Update aktualisiert und wenn man z.B auf 12 hoch will muss das manuell erledigt werden.

        1 Reply Last reply
        0
        • Archimedeus AA Archimedeus A

          @Diginix Ja wenn ich nur wüsste, wie. Habe genau gemacht was oben steht. Zusätzlich den installationsfixer laufen gelassen und dann
          sudo -H -u iobroker npm install iobroker.js-controller

          mit diesem Output:

          ==========================================================================
          
              Your installation was fixed successfully
              Run iobroker start to start ioBroker again!
          
          ==========================================================================
          
          pi@ioBroker-Pi:~ $
          pi@ioBroker-Pi:~ $ sudo -H -u iobroker npm install iobroker.js-controller
          npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
          npm WARN checkPermissions Missing write access to /home/pi/node_modules/@types
          npm WARN checkPermissions Missing write access to /home/pi/node_modules
          npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
          npm WARN pi No description
          npm WARN pi No repository field.
          npm WARN pi No README data
          npm WARN pi No license field.
          
          npm ERR! code EACCES
          npm ERR! syscall access
          npm ERR! path /home/pi/node_modules/@types
          npm ERR! errno -13
          npm ERR! Error: EACCES: permission denied, access '/home/pi/node_modules/@types'
          npm ERR!  { [Error: EACCES: permission denied, access '/home/pi/node_modules/@types']
          npm ERR!   stack:
          npm ERR!    'Error: EACCES: permission denied, access \'/home/pi/node_modules/@types\'',
          npm ERR!   errno: -13,
          npm ERR!   code: 'EACCES',
          npm ERR!   syscall: 'access',
          npm ERR!   path: '/home/pi/node_modules/@types' }
          npm ERR!
          npm ERR! The operation was rejected by your operating system.
          npm ERR! It is likely you do not have the permissions to access this file as the current user
          npm ERR!
          npm ERR! If you believe this might be a permissions issue, please double-check the
          npm ERR! permissions of the file and its containing directories, or try running
          npm ERR! the command again as root/Administrator.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2020-01-27T19_09_18_211Z-debug.log
          
          
          apollon77A Offline
          apollon77A Offline
          apollon77
          wrote on last edited by
          #111

          @Archimedeus-A Naja wer per npm installiert sollte dies in /opt/iobroker tun und nicht im home vom pi User :-)

          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 Reply Last reply
          0
          • crunchipC crunchip

            wenn ich den js-controller update, sollte doch node.js auch mit aktualisiert werden, oder irre ich mich jetzt?

            apollon77A Offline
            apollon77A Offline
            apollon77
            wrote on last edited by
            #112

            @crunchip Nur wenn es mit dem neuen Windows-Installer gemacht wird ist das so ... Linux ist nodejs getrennt

            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 Reply Last reply
            0
            • apollon77A Offline
              apollon77A Offline
              apollon77
              wrote on last edited by
              #113

              Hi All,

              aus gegebenem Anlass (eine Sub-Dependency Library hat es geschafft Ihre Nodejs kompatibilität nicht sauber zu halten und somit kann der controller 2.2.8 mit nodejs 8 ggf crashen) habe ich soeben eine 2.2.9 des js-controller auf npm und es sollte damit in den nächsten Stunden im Latest Repository auftauchen. Zur Installation gilt die Anleitung von oben weiterhin.

              Neben dem Downgrade dieser Library habe ich noch ein paar Fixes reingenommen die sich seitdem angesammelt haben.
              Changelog:

              2.2.9 (2020-02-12) Release Dina

              • (Apollon77) fix pot. crash for edge cases
              • (Apollon77) allow to deactivate logfile zipping by iobroker.json (for non-windows systems)
              • (Apollon77) make sure sigKill state only handles number values (fixes #638)
              • (bluefox) add better checks for file CLI commands
              • (Apollon77) make sure directly is created before writing meta data and send redis error correctly, prevent controller crash (fixes #644)
              • (foxriver76) optimize package manager handling (fixes #631)
              • (Apollon77) make sure deleting running instances does not crash js-controller (fixes #658)
              • (Apollon77) Downgrade semver to stay compatible with nodejs 8

              Die nächste Version des js-controller (vorauss. Ende März) wird aus dem Grund die Version 3.0 werden und nodejs 8 nicht mehr untersützen können.

              Viel Spass,

              Ingo

              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
              DiginixD 1 Reply Last reply
              2
              • apollon77A apollon77

                Hi All,

                aus gegebenem Anlass (eine Sub-Dependency Library hat es geschafft Ihre Nodejs kompatibilität nicht sauber zu halten und somit kann der controller 2.2.8 mit nodejs 8 ggf crashen) habe ich soeben eine 2.2.9 des js-controller auf npm und es sollte damit in den nächsten Stunden im Latest Repository auftauchen. Zur Installation gilt die Anleitung von oben weiterhin.

                Neben dem Downgrade dieser Library habe ich noch ein paar Fixes reingenommen die sich seitdem angesammelt haben.
                Changelog:

                2.2.9 (2020-02-12) Release Dina

                • (Apollon77) fix pot. crash for edge cases
                • (Apollon77) allow to deactivate logfile zipping by iobroker.json (for non-windows systems)
                • (Apollon77) make sure sigKill state only handles number values (fixes #638)
                • (bluefox) add better checks for file CLI commands
                • (Apollon77) make sure directly is created before writing meta data and send redis error correctly, prevent controller crash (fixes #644)
                • (foxriver76) optimize package manager handling (fixes #631)
                • (Apollon77) make sure deleting running instances does not crash js-controller (fixes #658)
                • (Apollon77) Downgrade semver to stay compatible with nodejs 8

                Die nächste Version des js-controller (vorauss. Ende März) wird aus dem Grund die Version 3.0 werden und nodejs 8 nicht mehr untersützen können.

                Viel Spass,

                Ingo

                DiginixD Offline
                DiginixD Offline
                Diginix
                wrote on last edited by
                #114

                @apollon77 Installiert und läuft.
                Wie wird das Log Zippen denn in der iobroker.json deaktiviert?
                Konnte keinen neuen Schlüssel dazu finden.

                ..:: So long! Tom ::..

                NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                crunchipC apollon77A 2 Replies Last reply
                0
                • DiginixD Diginix

                  @apollon77 Installiert und läuft.
                  Wie wird das Log Zippen denn in der iobroker.json deaktiviert?
                  Konnte keinen neuen Schlüssel dazu finden.

                  crunchipC Away
                  crunchipC Away
                  crunchip
                  Forum Testing Most Active
                  wrote on last edited by
                  #115

                  @Diginix habs grad gefunden https://forum.iobroker.net/post/366318

                  umgestiegen von Proxmox auf Unraid

                  apollon77A 1 Reply Last reply
                  0
                  • DiginixD Diginix

                    @apollon77 Installiert und läuft.
                    Wie wird das Log Zippen denn in der iobroker.json deaktiviert?
                    Konnte keinen neuen Schlüssel dazu finden.

                    apollon77A Offline
                    apollon77A Offline
                    apollon77
                    wrote on last edited by
                    #116

                    @Diginix https://github.com/ioBroker/ioBroker.js-controller/blob/master/README.md#file-based-logging

                    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
                    Dr. BakteriusD DiginixD 2 Replies Last reply
                    1
                    • crunchipC crunchip

                      @Diginix habs grad gefunden https://forum.iobroker.net/post/366318

                      apollon77A Offline
                      apollon77A Offline
                      apollon77
                      wrote on last edited by
                      #117

                      @crunchip Neneeeee, so bitte nicht mehr :-)

                      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
                      crunchipC 1 Reply Last reply
                      0
                      • apollon77A apollon77

                        @crunchip Neneeeee, so bitte nicht mehr :-)

                        crunchipC Away
                        crunchipC Away
                        crunchip
                        Forum Testing Most Active
                        wrote on last edited by
                        #118

                        @apollon77 zu spät:joy: und wie tausch ich die zeile wieder aus:face_palm:

                        umgestiegen von Proxmox auf Unraid

                        apollon77A 1 Reply Last reply
                        0
                        • apollon77A apollon77

                          @Diginix https://github.com/ioBroker/ioBroker.js-controller/blob/master/README.md#file-based-logging

                          Dr. BakteriusD Online
                          Dr. BakteriusD Online
                          Dr. Bakterius
                          Most Active
                          wrote on last edited by
                          #119

                          @apollon77 Also wenn ich das richtig verstanden habe, die Datei 'iobroker.json' unter '/opt/iobroker/iobroker-data/' wie folgt ergänzen?

                          log.png

                          apollon77A 1 Reply Last reply
                          0
                          • crunchipC crunchip

                            @apollon77 zu spät:joy: und wie tausch ich die zeile wieder aus:face_palm:

                            apollon77A Offline
                            apollon77A Offline
                            apollon77
                            wrote on last edited by
                            #120

                            @crunchip Wie, geändert aber kein Backup gemacht? ;-) Dann such SIe hier raus https://github.com/ioBroker/ioBroker.js-controller/blob/master/lib/logger.js

                            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
                            crunchipC 1 Reply Last reply
                            1
                            • Dr. BakteriusD Dr. Bakterius

                              @apollon77 Also wenn ich das richtig verstanden habe, die Datei 'iobroker.json' unter '/opt/iobroker/iobroker-data/' wie folgt ergänzen?

                              log.png

                              apollon77A Offline
                              apollon77A Offline
                              apollon77
                              wrote on last edited by
                              #121

                              @Dr-Bakterius korrekt

                              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 Reply Last reply
                              0
                              • apollon77A apollon77

                                @crunchip Wie, geändert aber kein Backup gemacht? ;-) Dann such SIe hier raus https://github.com/ioBroker/ioBroker.js-controller/blob/master/lib/logger.js

                                crunchipC Away
                                crunchipC Away
                                crunchip
                                Forum Testing Most Active
                                wrote on last edited by
                                #122

                                @apollon77 ausnahmsweise mal kein zwischen backup:blush:
                                danke dir

                                umgestiegen von Proxmox auf Unraid

                                Dr. BakteriusD 1 Reply Last reply
                                0
                                • crunchipC crunchip

                                  @apollon77 ausnahmsweise mal kein zwischen backup:blush:
                                  danke dir

                                  Dr. BakteriusD Online
                                  Dr. BakteriusD Online
                                  Dr. Bakterius
                                  Most Active
                                  wrote on last edited by
                                  #123

                                  @crunchip

                                  transport.zippedArchive = isWindows ? false: (transport.zippedArchive !== undefined ? true : false);
                                  
                                  crunchipC 1 Reply Last reply
                                  1
                                  • Dr. BakteriusD Dr. Bakterius

                                    @crunchip

                                    transport.zippedArchive = isWindows ? false: (transport.zippedArchive !== undefined ? true : false);
                                    
                                    crunchipC Away
                                    crunchipC Away
                                    crunchip
                                    Forum Testing Most Active
                                    wrote on last edited by
                                    #124

                                    @Dr-Bakterius danke, habs schon wieder geändert

                                    umgestiegen von Proxmox auf Unraid

                                    1 Reply Last reply
                                    0
                                    • apollon77A apollon77

                                      @Diginix https://github.com/ioBroker/ioBroker.js-controller/blob/master/README.md#file-based-logging

                                      DiginixD Offline
                                      DiginixD Offline
                                      Diginix
                                      wrote on last edited by
                                      #125

                                      @apollon77 Danke!
                                      Greift das on-the-fly oder muss der host neu gestartet werden?

                                      ..:: So long! Tom ::..

                                      NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                                      apollon77A 1 Reply Last reply
                                      0
                                      • DiginixD Diginix

                                        @apollon77 Danke!
                                        Greift das on-the-fly oder muss der host neu gestartet werden?

                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        wrote on last edited by
                                        #126

                                        @Diginix host restart

                                        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
                                        DiginixD 1 Reply Last reply
                                        1
                                        • apollon77A apollon77

                                          @Diginix host restart

                                          DiginixD Offline
                                          DiginixD Offline
                                          Diginix
                                          wrote on last edited by
                                          #127

                                          @apollon77

                                          Gzip Deaktivieren funktioniert bei mir so nicht:

                                            "log": {
                                              "level": "warn",
                                              "maxDays": 7,
                                              "noStdout": true,
                                              "transport": {
                                                "file1": {
                                                  "type": "file",
                                                  "enabled": true,
                                                  "filename": "log/iobroker",
                                                  "fileext": ".log",
                                                  "zippedArchive": false,
                                                  "maxsize": null,
                                                  "maxFiles": null
                                                },
                                          

                                          Das gestrige Log liegt wieder als .gz bereit. Host wurde gestern neu gestartet.

                                          ..:: So long! Tom ::..

                                          NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                                          apollon77A 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          748

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe