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

      Mach mal die unnötigen Zeilenumbrüche raus. In der Anleitung von @AlCalzone ist das nicht so.

      Meister Mopper 1 Reply Last reply Reply Quote 0
      • Meister Mopper
        Meister Mopper @ecki945 last edited by

        @ecki945 Ich habe die Leerzeilen rausgenommen, dachte bisher, dass das in Javascript nicht erforderlich ist, da alles theoretisch hintereinander weg geschrieben werden kann (Absätze nur der besseren Orientierung wegen).

        Sieht das bei Dir so aus?

        cfad3dc0-bd73-413e-99b2-ea8b20430950-grafik.png

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

          Bei sieht das so aus:

          bd848a44-8bd0-4a4d-b5bd-7bba337b9a23-grafik.png

          Und ich meinte auch unnötige Zeilenumbrüche (nicht die Formatierung)

          Meister Mopper 2 Replies Last reply Reply Quote 0
          • Meister Mopper
            Meister Mopper @ecki945 last edited by

            @ecki945 Okay, dann ist das ganze verwirrend. Du hast die Änderungen im Reiter Raw vorgenommen und nicht in Nativ (wie im Beitrag aufgezeigt). Dann probier ich das mal.

            Danke!

            1 Reply Last reply Reply Quote 0
            • M
              Marty56 @ecki945 last edited by

              @ecki945 Danke. hat funktioniert.

              1 Reply Last reply Reply Quote 0
              • Meister Mopper
                Meister Mopper @ecki945 last edited by

                @ecki945 Kannst Du mal die Zeile 13 "json" einklappen, damit ich sehen kann was bei latest steht, denn ich bekomme noch immer das "Error, cannot parse"

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

                  @Meister-Mopper ich habe die Änderungen im RAW Teil vorgenommen. Geht ja recht simpel. auf die "json: {" Klammer klicken, dann wird der Textbereich innerhalb der Klammer markiert und dann löschen. Dies dann beim default und latest Bereich machen. Danach das Repro auf Latest stellen und im Terminal iobroker update aufrufen und warten.

                  WICHTIG bevor du da herumfummelst: Sichere den Kompletten Text (z.B. in notepad editor kopieren)

                  Meister Mopper 1 Reply Last reply Reply Quote 0
                  • Meister Mopper
                    Meister Mopper @ecki945 last edited by

                    @ecki945 Sorry, bin absoluter Anfänger. Mit Repro auf Latest stellen meintest Du das hier, oder?

                    60787228-fa53-4a44-ae59-c2b55530d397-grafik.png

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jan1 @Meister Mopper last edited by

                      @Meister-Mopper
                      nein, das sind die Pfade zu den Repros, die man im Reiter Haupteinstellungen gewählt hat

                      1 Reply Last reply Reply Quote 0
                      • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            879
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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