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.5k

  • 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
    #102

    Hab todesmutig npm install iobroker.admin gemacht, keine Änderung.

    1 Reply Last reply
    0
    • Archimedeus AA Archimedeus A

      @apollon77
      Update geht nicht. Habe nach Anleitung iobroker stop und update self gemacht.
      Problem: Ich kann nicht auf den Admin-Update-Kringel klicken.
      admin.png
      Was mach ich falsch?

      GlasfaserG Offline
      GlasfaserG Offline
      Glasfaser
      wrote on last edited by
      #103

      @Archimedeus-A sagte in js-controller 2.2 jetzt im Latest:

      Was mach ich falsch?

      1.JPG

      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

      1 Reply Last reply
      0
      • E Offline
        E Offline
        Einstein67
        wrote on last edited by Einstein67
        #104

        @apollon77

        ~~Hab gerade eine frische IOBroker Installation gemacht. Mit JS-2.2.8 und Admin 3.7.8 ohne Update/Upgrade

        Jetzt lassen sie bei laufenden IOBroker wieder keine Instanzen/Adapter löschen. Über Konsole kein Problem.

        Das hatten wir doch schon mal ....~~

        EDIT! SORRY Falscher Alarm nach einem Neustart funktioniert das löschen auch über die GUI!

        1 Reply Last reply
        0
        • Archimedeus AA Archimedeus A

          @apollon77
          Update geht nicht. Habe nach Anleitung iobroker stop und update self gemacht.
          Problem: Ich kann nicht auf den Admin-Update-Kringel klicken.
          admin.png
          Was mach ich falsch?

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

          @Archimedeus-A Du bist hier im Thread JS-Controller 2.2 und hast aber selbst noch einen 1.x laufen.
          Neuere Adapter verlangen den JS-Controller 2.x, wie zB der Admin ab 3.7.8. Du musst also mal dein JS-Controller aktualisieren und falls es beim Admin dann immer noch Probleme gibt, wäre der Thread zum admin Adapter der richtige.

          ..:: 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

          Archimedeus AA 1 Reply Last reply
          0
          • apollon77A Offline
            apollon77A Offline
            apollon77
            wrote on last edited by
            #106

            Ach übrigens ... js-Controller 2.2.8 ist dann jetzt im stable genauso wie Admin 3.7.8. Ich bedanke mich bei Euch allen wieder einmal für den grandiosen Test Support !!

            Aber nach dem Update ist ja bekanntlich vordem Update ... Die 2.3 vom Controller sollte ca. Ende März dann für erste Tests bereitstehen ;-)

            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
            • DiginixD Diginix

              @Archimedeus-A Du bist hier im Thread JS-Controller 2.2 und hast aber selbst noch einen 1.x laufen.
              Neuere Adapter verlangen den JS-Controller 2.x, wie zB der Admin ab 3.7.8. Du musst also mal dein JS-Controller aktualisieren und falls es beim Admin dann immer noch Probleme gibt, wäre der Thread zum admin Adapter der richtige.

              Archimedeus AA Offline
              Archimedeus AA Offline
              Archimedeus A
              wrote on last edited by
              #107

              @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 1 Reply Last reply
              0
              • 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
                                          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

                                          595

                                          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