Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 2.2 jetzt im Latest

    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

    js-controller 2.2 jetzt im Latest

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

      @Meister-Mopper kann dir erst heut abend wieder Hilfe anbieten. Bin auf der Arbeit und habe keine Zugriff auf meinen iobroker von extern.

      1 Reply Last reply Reply Quote 0
      • E
        ecki945 last edited by

        @Meister-Mopper hier die Einträge im Raw Modus ohne die JSON Einträge:

        {
          "from": "system.host.IobrokerCT",
          "ts": 1578744405929,
          "user": "system.user.admin",
          "common": {
            "name": "System repositories",
            "dontDelete": true
          },
          "native": {
            "repositories": {
              "default": {
                "link": "http://download.iobroker.net/sources-dist.json"
              },
              "latest": {
                "link": "http://download.iobroker.net/sources-dist-latest.json"
              }
            },
            "oldRepositories": {
              "sources": {
                "link": "conf/sources-dist.json",
                "json": null
              },
              "online": {
                "link": "https://raw.githubusercontent.com/ioBroker/ioBroker.repositories/master/sources-dist.json",
                "json": null
              }
            }
          },
          "acl": {
            "object": 1604,
            "owner": "system.user.admin",
            "ownerGroup": "system.group.administrator"
          },
          "_id": "system.repositories",
          "type": "config"
        }
        
        Meister Mopper 1 Reply Last reply Reply Quote 0
        • Meister Mopper
          Meister Mopper @ecki945 last edited by

          @ecki945 Super, hat funktioniert.

          Ich danke Dir recht herzlich.

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

            Habe seit dem die Logs täglich gezippt werden und das aktuelle über einen Symlink befüllt wird, täglich mehrmals Fehler von unterschiedlichen Adaptern bzgl dem Symlink im Log:

            2020-01-11 06:45:06.091  - error: ical.0 (30581) uncaught exception: EEXIST: file already exists, symlink 'iobroker.2020-01-11.log' -> '/opt/iobroker/log/iobroker.current.log'
            2020-01-11 06:45:06.104  - error: ical.0 (30581) Error: EEXIST: file already exists, symlink 'iobroker.2020-01-11.log' -> '/opt/iobroker/log/iobroker.current.log'
                at Object.symlinkSync (fs.js:909:3)
                at createCurrentSymLink (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:303:16)
                at EventEmitter.<anonymous> (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:530:17)
                at EventEmitter.emit (events.js:203:15)
                at /opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:607:20
                at process._tickCallback (internal/process/next_tick.js:61:11)
                at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
                at startup (internal/bootstrap/node.js:283:19)
                at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
            2020-01-11 06:45:07.114  - warn: ical.0 (30581) Terminated (UNCAUGHT_EXCEPTION): Without reason
            2020-01-11 06:45:07.784  - error: host.BT3-PRO instance system.adapter.ical.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
            
            2020-01-12 00:05:05.876  - error: host.BT3-PRO Caught by controller[0]: fs.js:114
            2020-01-12 00:05:05.877  - error: host.BT3-PRO Caught by controller[0]:     throw err;
            2020-01-12 00:05:05.880  - error: host.BT3-PRO Caught by controller[0]:     ^
            2020-01-12 00:05:05.881  - error: host.BT3-PRO Caught by controller[0]: Error: EEXIST: file already exists, symlink 'iobroker.2020-01-12.log' -> '/opt/iobroker/log/iobroker.current.log'
            2020-01-12 00:05:05.881  - error: host.BT3-PRO Caught by controller[0]:     at Object.symlinkSync (fs.js:909:3)
            2020-01-12 00:05:05.881  - error: host.BT3-PRO Caught by controller[0]:     at createCurrentSymLink (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:303:16)
            2020-01-12 00:05:05.881  - error: host.BT3-PRO Caught by controller[0]:     at EventEmitter.<anonymous> (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:530:17)
            2020-01-12 00:05:05.882  - error: host.BT3-PRO Caught by controller[0]:     at EventEmitter.emit (events.js:198:13)
            2020-01-12 00:05:05.882  - error: host.BT3-PRO Caught by controller[0]:     at Object.FileStreamRotator.getStream (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:609:16)
            2020-01-12 00:05:05.882  - error: host.BT3-PRO Caught by controller[0]:     at new DailyRotateFile (/opt/iobroker/node_modules/winston-daily-rotate-file/daily-rotate-file.js:80:57)
            2020-01-12 00:05:05.882  - error: host.BT3-PRO Caught by controller[0]:     at Object.keys.forEach.f (/opt/iobroker/node_modules/iobroker.js-controller/lib/logger.js:156:34)
            2020-01-12 00:05:05.882  - error: host.BT3-PRO Caught by controller[0]:     at Array.forEach (<anonymous>)
            2020-01-12 00:05:05.882  - error: host.BT3-PRO Caught by controller[0]:     at logger (/opt/iobroker/node_modules/iobroker.js-controller/lib/logger.js:105:48)
            2020-01-12 00:05:05.883  - error: host.BT3-PRO Caught by controller[0]:     at new Adapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:181:42)
            
            2020-01-12 12:50:05.687  - error: mihome.0 (3267) uncaught exception: EEXIST: file already exists, symlink 'iobroker.2020-01-12.log' -> '/opt/iobroker/log/iobroker.current.log'
            2020-01-12 12:50:05.695  - error: mihome.0 (3267) Error: EEXIST: file already exists, symlink 'iobroker.2020-01-12.log' -> '/opt/iobroker/log/iobroker.current.log'
                at Object.symlinkSync (fs.js:909:3)
                at createCurrentSymLink (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:303:16)
                at EventEmitter.<anonymous> (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:530:17)
                at EventEmitter.emit (events.js:203:15)
                at /opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:607:20
                at process._tickCallback (internal/process/next_tick.js:61:11)
                at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
                at startup (internal/bootstrap/node.js:283:19)
                at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
            2020-01-12 12:50:06.703  - warn: mihome.0 (3267) Terminated (UNCAUGHT_EXCEPTION): Without reason
            2020-01-12 12:50:07.793  - error: host.BT3-PRO Caught by controller[0]: { Error: EEXIST: file already exists, symlink 'iobroker.2020-01-12.log' -> '/opt/iobroker/log/iobroker.current.log'
            2020-01-12 12:50:07.794  - error: host.BT3-PRO Caught by controller[0]:     at Object.symlinkSync (fs.js:909:3)
            2020-01-12 12:50:07.794  - error: host.BT3-PRO Caught by controller[0]:     at createCurrentSymLink (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:303:16)
            2020-01-12 12:50:07.794  - error: host.BT3-PRO Caught by controller[0]:     at EventEmitter.<anonymous> (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:530:17)
            2020-01-12 12:50:07.795  - error: host.BT3-PRO Caught by controller[0]:     at EventEmitter.emit (events.js:203:15)
            2020-01-12 12:50:07.795  - error: host.BT3-PRO Caught by controller[0]:     at /opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:607:20
            2020-01-12 12:50:07.797  - error: host.BT3-PRO Caught by controller[0]:     at process._tickCallback (internal/process/next_tick.js:61:11)
            2020-01-12 12:50:07.797  - error: host.BT3-PRO Caught by controller[0]:     at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
            2020-01-12 12:50:07.798  - error: host.BT3-PRO Caught by controller[0]:     at startup (internal/bootstrap/node.js:283:19)
            2020-01-12 12:50:07.798  - error: host.BT3-PRO Caught by controller[0]:     at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
            2020-01-12 12:50:07.798  - error: host.BT3-PRO Caught by controller[0]:   errno: -17,
            2020-01-12 12:50:07.798  - error: host.BT3-PRO Caught by controller[0]:   syscall: 'symlink',
            2020-01-12 12:50:07.798  - error: host.BT3-PRO Caught by controller[0]:   code: 'EEXIST',
            2020-01-12 12:50:07.798  - error: host.BT3-PRO Caught by controller[0]:   path: 'iobroker.2020-01-12.log',
            2020-01-12 12:50:07.799  - error: host.BT3-PRO Caught by controller[0]:   dest: '/opt/iobroker/log/iobroker.current.log' }
            

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

              @apollon77 Also irgendwie ist das derzeit recht seltsam.
              Wenn nicht manchmal der Nina-Adapter eine Fehlermeldung wegen nicht erreichbarer Server ausgeben würde wäre das ganz Log ohne Fehlereintrag.
              Das geht doch so nicht! 😨
              Das wird doch langweilig wenn nicht ständig was zu schrauben ist 😖 👷

              P.S. Klasse Arbeit 👏

              E 1 Reply Last reply Reply Quote 2
              • E
                Einstein67 @Chaot last edited by

                @Chaot Stimmt, IOBroker wird total langweilig! Alles läuft problemlos, keine Fehlermeldungen und die Log-Dateien werden regelmäßig gelöscht. Auch zum testen gibt es nichts.

                Laaaangweilig ... oder klasse Arbeit!! 😉 🙂

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

                  😂 die 2.2.8 kommt bald noch mit letzten fixes, da gibts dann wieder was zu testen 😉

                  sigi234 1 Reply Last reply Reply Quote 1
                  • H
                    hacki11 last edited by

                    Hi, habe aktuell

                    52b6479e-9a9f-4314-81b8-1cf0a83fc842-image.png

                    Wollte nun direkt auf 2.2.7 und wie beschrieben zuvor admin auf 3.7.7 (aktuell 3.6.12) ziehen.
                    Jedoch:
                    juergen@nuc:/opt/iobroker$ iobroker upgrade admin
                    Invalid version of js-controler. Required >=2.0.0

                    Wie gehe ich am besten vor?
                    upgrade self und danach den Admin hochziehen?
                    Erst auf 2.1 upgraden? Falls ja, wie geht das genau?

                    Thx!

                    Diginix 1 Reply Last reply Reply Quote 0
                    • Diginix
                      Diginix @hacki11 last edited by

                      @hacki11 Genau, erst den JS-Controller auf 2.x aktualisieren und ohne ioBroker zu starten direkt noch den admin Adapter:

                      iobroker stop
                      iobroker update
                      iobroker upgrade self
                      iobroker upgrade admin
                      iobroker start
                      
                      H 1 Reply Last reply Reply Quote 1
                      • sigi234
                        sigi234 Forum Testing Most Active @apollon77 last edited by

                        @apollon77 sagte in js-controller 2.2 jetzt im Latest:

                        😂 die 2.2.8 kommt bald noch mit letzten fixes, da gibts dann wieder was zu testen 😉

                        Ich warte schon darauf. 😀

                        1 Reply Last reply Reply Quote 0
                        • H
                          hacki11 @Diginix last edited by

                          @Diginix Danke! Funzt

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

                            Hallo an alle 2.2 Nutzer!

                            Vielen Dank für Eure Tests bisher. Nach längerer Wartezeit auf einen Fix in den zwei benutzten Libraries die für Logfile-Rotate und -Packen zuständig sind sind wir jetzt endlich soweit. Diese Zeit haben wir aber auch genutzt um noch kleinere Dinge die berichtet wurden zu beheben.

                            Die 2.2.8 - was auch der Stable RC1 ist kommt gerade auf npm und taucht dann heute im Laufe des Tages im Latest Repo auf.

                            Es gibt noch zwei "known Issues" die im Admin Adapter liegen, der die nächsten Tage vor dem Stable Release noch aktualisiert wird:

                            • "material" settings fliegen immer noch beim editieren von anderen Custom-Values aus dem Objekt. (https://github.com/ioBroker/ioBroker.admin/issues/494)
                            • gepackte Logfiles werden nicht sinnvoll zum Download angeboten (https://github.com/ioBroker/ioBroker.admin/issues/489)

                            Changelog:

                            • (bluefox) Add for delObject the recursive flag to recursively delete objects; use feature flag ADAPTER_DEL_OBJECT_RECURSIVE in your adapter code to detect if the js-controller supports it or not!
                            • (bluefox) add check for sudo for package manager
                            • (Apollon77) Fix error on restore/validate when no name is provided
                            • (Apollon77) add/change checks for some calls (fixes #611 too ;-))
                            • (Apollon77) Add feature flag ADAPTER_DEL_OBJECT_RECURSIVE
                            • (Apollon77) adapter.restart used "terminate" directly which do not call unload and broke compact mode, changed to use stop()
                            • (foxriver76) Fix bug in nodejs version check and really disable adapter when requiring unsupported nodejs version
                            • (foxriver76) fixing issues in backup validation + add some missing commands to cli help
                            • (Apollon77) Do not have ioredis autoResubscribe because we do it by our own
                            • (Apollon77) change stopTimeout to prevent killing wrong process for long running "stopTimeouts" that were then fast in the end
                            • (bluefox) add CLI command "file rm" to delete files from iobroker storage via command line
                            • (AlCalzone) fix some errors
                            • (AlCalzone) make sure repository hash is always checked correctly
                            • (Apollon77) make sure scheduled starts are also removed when a scheduled instance is stopped
                            • (Apollon77) make sure Multihost discovery server does not unexpectedly restart when trying to stop ioBroker Master
                            • (Apollon77) add feature flag ADAPTER_SET_OBJECT_SETS_DEFAULT_VALUE for adapter class
                            • (Apollon77) allow sessions to run longer then 24days (fixes #618, addresses ioBroker/ioBroker.admin#467)
                            • (Apollon77) Check a wrong check for os on installation
                            • (Apollon77) Also check nodejs minimum version on adapter install
                            • (bluefox) fix CLI "state set"
                            • (Apollon77) Add some more logging to Objects/States DB
                            • (foxriver76) check if controller is running on upgrade self before controller upgrade (fixes #511)
                            • (bluefox) Restart iobroker after applying vendor information
                            • (Apollon77) fix pot. crashes happening while logs are rotated or packaged (thanx @mattberther and @rogerc)

                            Danke für Euer Feedback!

                            Wenn alles ok ist dann kommt die 2.2.8 nach dem Wochenende ins Stable ...

                            HGlab01 created this issue in ioBroker/ioBroker.admin

                            closed kein Login möglich mit aktivierter checkbox "angemeldet bleiben" #467

                            Apollon77 created this issue in ioBroker/ioBroker.admin

                            closed Prevent "additional" customs from being deleted if no "enabled" key exists #494

                            Einstein67 created this issue in ioBroker/ioBroker.admin

                            closed Funktion "Log Herunterladen" ist nicht kompatibel zu komprimierten Log-Dateien #489

                            Diginix 1 Reply Last reply Reply Quote 5
                            • HappyTeaFriend
                              HappyTeaFriend Forum Testing last edited by

                              2.2.8 grad installiert und läuft butterweich wie vorher 🙂

                              sigi234 1 Reply Last reply Reply Quote 2
                              • sigi234
                                sigi234 Forum Testing Most Active @HappyTeaFriend last edited by

                                @HappyTeaFriend sagte in js-controller 2.2 jetzt im Latest:

                                2.2.8 grad installiert und läuft butterweich wie vorher 🙂

                                Dito, Alle Adapter Grün.

                                1 Reply Last reply Reply Quote 2
                                • L
                                  lonsimbt last edited by

                                  Auch hier sieht alles gut aus. Keine Fehlermeldungen, alle Adapter grün.

                                  Viele Grüße
                                  Marco

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    hannoi last edited by

                                    Update von 2.2.7 auf 2.2.8 verlief auch bei mir ohne Probleme, alle Instanzen wieder grün 😉 Danke!

                                    iobroker stop
                                    iobroker update
                                    iobroker upgrade self
                                    iobroker start
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Diginix
                                      Diginix @apollon77 last edited by

                                      @apollon77 2.2.8 läuft bei mir auch. Den Symlink Logrotate Fehler hatte ich mit 2.2.7 seit 18.01. nicht mehr im Log. Weiter zurück kann ich nicht mehr schauen.

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

                                        @Diginix Der Fehler sollte in 2.2.8 behoben sein ... auch davor ist der halt extrem ans Timing gebunden. Der passiert wenn quasi fast in der gleichen millisekunde mehrere Adapter nach 00:00:00 Uhr eine erste Logzeile ins log schreiben ...

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

                                          Und auch hier Update von 2.2.7 auf 2.2.8 ohne Probleme.
                                          Danke!!

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            Michael2142 last edited by

                                            Bei mir wird als aktuell 2.1.1 angezeigt und wenn ich den iobroker stoppe und update und upgrade sagt er er ist up to date. was mach ich falsch?

                                            Dr. Bakterius 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

                                            528
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            39
                                            160
                                            18204
                                            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