Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.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 3.2 jetzt im Latest!

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

      @apollon77 Witzig dass es bisher sonst keinem aufgefallen ist. Sind ja nicht wenige 3.2er Tester.
      Ich hab das schon vor Tagen gesehen, aber mir nie das Datum des ältesten Logs gemerkt und dann am Folgetag immer gedacht ich hätte mich versehen. Aber nun war es langsam zu auffällig.
      Cool wenn es im .14 heute noch mit kommt. Soll ja auch nicht langweilig werden. 😉

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

        @diginix @apollon77

        denke man ist immer so auf das aktuelle Log focussiert, dass man an die anderen gar nicht mehr denkt.. oder beachtet.
        Erst, wenn das Verzeichnis überläuft, fällts auf.. 😊

        Und seitdem ich

        iobroker logs --watch
        

        entdeckt habe, nutze ich sowieso kaum noch was anderes..

        Diginix K 2 Replies Last reply Reply Quote 0
        • Diginix
          Diginix @Neuschwansteini last edited by

          @ilovegym Auch nicht schlecht. Ist doch das gleiche wie "tail -f iobroker.current.log" oder?
          Ich rufe das Log im Browsertab auf:
          http://IP:8081/log/file1/iobroker.current.log

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

            @diginix ja, aber n Webbrowser dafür nutzen... ? und wenn der den Cache nicht aktualisiert, haste gelitten...

            hmm bin halt n Consolenmensch, 50 Consolentabs offen, alles per Keyboard.. nix KlickyMausi 🙂

            Diginix 1 Reply Last reply Reply Quote 0
            • K
              Kueppert @Neuschwansteini last edited by

              @ilovegym sagte in js-controller 3.2 jetzt im Latest!:

              iobroker logs --watch

              und du schaust dir dann das aktuelle LOG auf der Konsole an anstatt im Admin?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Kueppert last edited by Thomas Braun

                @kueppert sagte in js-controller 3.2 jetzt im Latest!:

                und du schaust dir dann das aktuelle LOG auf der Konsole an anstatt im Admin?

                Wo denn sonst?
                Mach ich auch so.
                Da läuft halt ein

                tail -f iobroker.current.log
                

                in einem Terminal mit.

                K Neuschwansteini 2 Replies Last reply Reply Quote 1
                • Diginix
                  Diginix @Neuschwansteini last edited by

                  @ilovegym Wenn ich es in Echtzeit brauche, dann tail. Wusste nicht dass es dafür ein "alias" Kommando mit iob gibt
                  Aber im Browser hab ich ein nettes Syntaxhighlighting und kann schneller mal drüber scrollen ob was farblich heraussticht.

                  d87a67a0-419e-4f3e-87cb-b2c32e83cdde-image.png

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kueppert @Thomas Braun last edited by

                    @thomas-braun na im Admin unter LOG?

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Kueppert last edited by Thomas Braun

                      @kueppert sagte in js-controller 3.2 jetzt im Latest!:

                      na im Admin unter LOG?

                      Das ist die Anzeige, die zeitlich 'verkehrt herum' läuft, die Zeilenenden abschneidet und aus der man nicht gescheit Texte rauskopieren kann?

                      Kann man nix mit anfangen.

                      [Edit:] Ich jedenfalls nicht. Für einen schnellen Blick auf die 'Gesundheit' mag das ja noch hilfreich sein, für alles andere schau ich per Terminal rein.

                      K arteck 2 Replies Last reply Reply Quote 4
                      • K
                        Kueppert @Thomas Braun last edited by

                        @thomas-braun wenn ich was nachschauen muss, lade ich mir auch das LOG herunter und schaue via Notepad. Alternativ werde ich vermutlich auch nur den Weblink nutzen. Putty hab ich nur laufen, wenn ich den JS-Controller updaten muss oder was schief gegangen ist ^^

                        1 Reply Last reply Reply Quote 0
                        • arteck
                          arteck Developer Most Active @Thomas Braun last edited by arteck

                          @thomas-braun das reicht für ne kurze kontrolle.. total.. und bei fehler kannst immer noch in den LOG auf system schauen..

                          ansonsten kann ich euch den SEQ Adapter ans herz legen

                          1 Reply Last reply Reply Quote 0
                          • Neuschwansteini
                            Neuschwansteini @Thomas Braun last edited by

                            und mit

                            tail -f iobroker.current.log | grep -E 'warn|error'
                            
                            

                            werden nur warnings und error's ausgegeben... 🙂

                            Thomas Braun 1 Reply Last reply Reply Quote 2
                            • Thomas Braun
                              Thomas Braun Most Active @Neuschwansteini last edited by

                              @ilovegym
                              Jau. Kenn ich natürlich. Aber da kommt selten was in meinem System. Das ist ganz brav.

                              1 Reply Last reply Reply Quote 1
                              • K
                                Kueppert last edited by

                                ich denke, ich werde einfach versuchen, das LOG vom ioBroker im meinen Protokoll-Server auf der SYNO zu bekommen. Geht wohl mit JS-Boardmitteln

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

                                  Leute ... Foookus :-))

                                  1 Reply Last reply Reply Quote 4
                                  • D
                                    Didi 0 last edited by

                                    Hi,

                                    ich hatte 3.1.6 seit einiger Zeit erfolgreich laufen. (amd64 Plattform (atom-2600 CPU), Nodejs 12.19 bzw. inzwischen 12.20).
                                    Beim Versuch, auf 3.2 upzugraden, erhalte ich folgenden Fehler:

                                    # iobroker upgrade self
                                    Update js-controller from @3.1.6 to @3.2.13
                                    NPM version: 6.14.10
                                    npm install iobroker.js-controller@3.2.13 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                    /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:38
                                    const FORBIDDEN_CHARS = /[^._\-/ :!#$%&()+=@^{}|~\p{Ll}\p{Lu}\p{Nd}]+/gu;
                                                            ^
                                    
                                    SyntaxError: Invalid regular expression: /[^._\-/ :!#$%&()+=@^{}|~\p{Ll}\p{Lu}\p{Nd}]+/: Invalid property name in character class
                                        at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:38:25)
                                        at Module._compile (internal/modules/cjs/loader.js:999:30)
                                        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                        at Module.load (internal/modules/cjs/loader.js:863:32)
                                        at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                                        at Module.require (internal/modules/cjs/loader.js:887:19)
                                        at require (internal/modules/cjs/helpers.js:74:18)
                                        at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:20:31)
                                        at Module._compile (internal/modules/cjs/loader.js:999:30)
                                        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                                    npm ERR! code ELIFECYCLE
                                    npm ERR! errno 1
                                    npm ERR! iobroker.js-controller@3.2.13 install: `node iobroker.js setup first`
                                    npm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the iobroker.js-controller@3.2.13 install script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2021-02-05T10_17_24_018Z-debug.log
                                    host.atombook Cannot install iobroker.js-controller@3.2.13: 1
                                    

                                    Hatte vorher einen zweiten Versuche nach einem manuellen "npm update" gemacht, selbes Resultat. Danach ist js-controller erstmal gelöscht und ich stelle die 3.1.6 wieder her mit "npm install -f iobroker.js-controller@3.1.6" - dann läuft wieder alles.

                                    Irgendwelche Ideen?

                                    apollon77 Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @Didi 0 last edited by apollon77

                                      @didi-0 und node -v gibt wirklich nodejs 12? 🙂
                                      auch nodejs -v ?

                                      E 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Didi 0 last edited by

                                        @didi-0

                                        Prüf mal die node-Installation:

                                        which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                        
                                        Diginix D 2 Replies Last reply Reply Quote 0
                                        • Diginix
                                          Diginix @Thomas Braun last edited by

                                          @thomas-braun Wie oft hast du diese Kommandos schon im Forum gepostet? 😂

                                          Thomas Braun 1 Reply Last reply Reply Quote 1
                                          • Thomas Braun
                                            Thomas Braun Most Active @Diginix last edited by Thomas Braun

                                            @diginix Hab 'nen Autotext dafür. Kein Problem...

                                            Aber offenbar noch nicht oft genug, so häufig wie man da dann doch auf krumme Installationen stößt.

                                            Diginix 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

                                            830
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            575
                                            106267
                                            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