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 für Alle im Stable

    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 für Alle im Stable

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @saeft_2003 last edited by

      @saeft_2003 tr-064 sind wir inzwischen bei 3.x ... update mal

      S 1 Reply Last reply Reply Quote 0
      • S
        saeft_2003 Most Active @apollon77 last edited by

        @apollon77

        hab ich gerade über github auf 3.2.0. Jetzt hab ich den Fehler...

        host.iobroker	2020-02-09 22:20:36.175	info	Restart adapter system.adapter.tr-064.0 because enabled
        host.iobroker	2020-02-09 22:20:36.175	info	instance system.adapter.tr-064.0 terminated with code 0 (NO_ERROR)
        host.iobroker	2020-02-09 22:20:36.174	error	Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
        host.iobroker	2020-02-09 22:20:36.174	error	Caught by controller[0]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
        host.iobroker	2020-02-09 22:20:36.174	error	Caught by controller[0]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
        host.iobroker	2020-02-09 22:20:36.173	error	Caught by controller[0]: at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:71697)
        host.iobroker	2020-02-09 22:20:36.173	error	Caught by controller[0]: at objects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2491:65)
        host.iobroker	2020-02-09 22:20:36.173	error	Caught by controller[0]: at adapter.getForeignObject (/opt/iobroker/node_modules/iobroker.tr-064/main.js:115:13)
        host.iobroker	2020-02-09 22:20:36.172	error	Caught by controller[0]: at main (/opt/iobroker/node_modules/iobroker.tr-064/main.js:1119:49)
        host.iobroker	2020-02-09 22:20:36.172	error	Caught by controller[0]: ReferenceError: secret is not defined
        tr-064.0	2020-02-09 22:20:35.626	info	(11818) Terminated (NO_ERROR): Without reason
        tr-064.0	2020-02-09 22:20:35.624	info	(11818) terminating
        tr-064.0	2020-02-09 22:20:35.564	error	at process._tickCallback (internal/process/next_tick.js:68:7)
        tr-064.0	2020-02-09 22:20:35.564	error	at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
        tr-064.0	2020-02-09 22:20:35.564	error	at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
        tr-064.0	2020-02-09 22:20:35.564	error	at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:71697)
        tr-064.0	2020-02-09 22:20:35.564	error	at objects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2491:65)
        tr-064.0	2020-02-09 22:20:35.564	error	at adapter.getForeignObject (/opt/iobroker/node_modules/iobroker.tr-064/main.js:115:13)
        tr-064.0	2020-02-09 22:20:35.564	error	at main (/opt/iobroker/node_modules/iobroker.tr-064/main.js:1119:49)
        tr-064.0	2020-02-09 22:20:35.564	error	(11818) ReferenceError: secret is not defined
        tr-064.0	2020-02-09 22:20:35.562	error	(11818) uncaught exception: secret is not defined
        tr-064.0	2020-02-09 22:20:35.431	info	(11818) starting. Version 3.2.0 in /opt/iobroker/node_modules/iobroker.tr-064, node: v10.19.0
        host.iobroker	2020-02-09 22:20:32.564	info	instance system.adapter.tr-064.0 started with pid 11818
        host.iobroker	2020-02-09 22:20:32.526	info	"system.adapter.tr-064.0" enabled
        
        apollon77 1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @saeft_2003 last edited by

          @saeft_2003 Ich hab ja auch nicht gesagt du sollst auf die GitHub Version updaten ... Ja ok im Stable ist die 3.xer noch nicht ... hm ... stell mal auf "Latest" um und nimm die 3.1.4 von da

          S 2 Replies Last reply Reply Quote 0
          • S
            saeft_2003 Most Active @apollon77 last edited by

            @apollon77

            Ok mach ich

            1 Reply Last reply Reply Quote 0
            • S
              saeft_2003 Most Active @apollon77 last edited by

              @apollon77

              Noch was ich würde gerne javascript updaten auf 4.3.4. Geht aber nicht da falsche version von admin. Installiert ist aber 3.7.8

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

                @saeft_2003 Hm ... JS 4.3.4 geht mit Admin 3.7.x ... das sollte kein problem sein ... nur für js 4.4 brauchst Du Admin 4..0.1

                S 1 Reply Last reply Reply Quote 0
                • S
                  saeft_2003 Most Active @apollon77 last edited by saeft_2003

                  @apollon77

                  ist das jetzt ein problem für mich? weil im protokoll steht das erst die 4.3.7 den js-controller 2.2.x unterstüzt.

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

                    @saeft_2003 Ok, nochmal ... was hast DU installiert und welche meldung kommt wo?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      saeft_2003 Most Active @apollon77 last edited by

                      @apollon77

                      ich kann js nicht updaten deswegen...

                      js.jpg

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

                        @saeft_2003 Komisch. Das sollte an sich ok sein ... Starte mal neu ... den ganzen iobroker

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          saeft_2003 Most Active @apollon77 last edited by

                          @apollon77

                          habe grad eh neugestartet nach dem downgrad von tr-064 auf 3.1.4. der läuft jetzt aber js kann ich immer noch nicht aktualisieren 😞

                          dslraser 1 Reply Last reply Reply Quote 0
                          • dslraser
                            dslraser Forum Testing Most Active @saeft_2003 last edited by dslraser

                            @saeft_2003
                            @apollon77
                            habe ich heute schon mal gelesen (mit Lösung über console und npm)
                            @apollon77
                            Sollte man das nicht ohne sudo machen ?
                            also nur

                             npm install iobroker.javascript@4.3.4
                            

                            https://forum.iobroker.net/topic/29893/js-script-engine-update-nicht-möglich-trotz-admin-3-7-8

                            S 1 Reply Last reply Reply Quote 1
                            • S
                              saeft_2003 Most Active @dslraser last edited by

                              @dslraser @apollon77

                              Danke für die Info! Ich habs über die Konsole gemacht und hat funktioniert. Trotzdem müsste jemand von euch mal klären warum das so ist...

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

                                Hallo zusammen,
                                ich muss zugeben ich habe mich vor dem Update des js-controller gedrückt, aus Angst dass danach nichts mehr läuft...
                                da ich gestern einige Adapteraktualisierungen vorgenommen hatte:

                                • u.a. auch socket.io - spuckt dieser im Log jetzt ununterbrochen: Server detected. Please update to js-controller 2.0 or higher !

                                Also werde ich jetzt das Update machen...

                                Hier im Thema steht ja unter VOR der Installation/ Nötige Adapter-Aktualisierungen:

                                @apollon77 sagte in js-controller 2.2 jetzt für Alle im Stable:

                                admin 3.7.8 oder höher! Sonst können Custom-Objektdaten - das unter dem Schraubenschlüssel - nicht mehr deaktiviert werden!

                                Mein admin ist zur Zeit auf 3.6.2 - eine Aktualisierung auf 3.7.8 wird mir angeboten, jedoch kann ich diese nicht durchführen weil dafür der js-controller auf 2 sein muss...

                                (iobroker läuft auf einem Raspberry Pi 4 - wenn weitere Infos nötig sind, reiche ich diese natürlich nach =))

                                Wie muss ich jetzt vorgehen?

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

                                  @smartmood
                                  1.) Wenn die oben gennannte Meldung von Adaptern kommt dann hast Du schoneinen 2.2.xer controller, weildie Meldung sonst nicht kommen würde

                                  2.) Dann am besten js.cotnroller zuerst updaten und VOR dem "iobroker start" noch den Admin über Komandozeile "iobroker upgrade admin" updaten.

                                  Habe ds jetzt auch in die FAQ eingefügt

                                  1 Reply Last reply Reply Quote 1
                                  • smartmood
                                    smartmood last edited by

                                    @apollon77

                                    Danke für die schnelle Antwort also folgende Reihenfolge:

                                    1. iobroker stop

                                    2. ps auxww|grep io und ps auxww|grep backup

                                    3. iobroker upgrade self

                                    4. iobroker upgrade admin

                                    5. iobroker start

                                    ... richtig?

                                    apollon77 ostseereiter 2 Replies Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @smartmood last edited by

                                      @smartmood das wäre die idee

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

                                        @apollon77

                                        soeben durchgeführt - hat alles geklappt wie es soll! 👍

                                        1 Reply Last reply Reply Quote 0
                                        • ostseereiter
                                          ostseereiter @smartmood last edited by

                                          @smartmood sagte in js-controller 2.2 jetzt für Alle im Stable:

                                          ps auxww|grep io und ps auxww|grep backup

                                          Was ist das für ein Befehl?

                                          Glasfaser 1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @ostseereiter last edited by

                                            @ostseereiter

                                            1.JPG

                                            ostseereiter 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            878
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            28
                                            142
                                            16280
                                            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