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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    js-controller 3.2 jetzt im Latest!

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                • Diginix
                                  Diginix @Thomas Braun last edited by

                                  @thomas-braun Ich bin für einen Counter in deiner Signatur.

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

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

                                    @thomas-braun Ich bin für einen Counter in deiner Signatur.

                                    Dann auch noch einen Couner für:
                                    Man meldet sich nicht als root an!

                                    J 1 Reply Last reply Reply Quote 5
                                    • J
                                      Jan1 @Thomas Braun last edited by

                                      @thomas-braun
                                      OK, wenn wir schon dabei sind, wäre dann nicht auch noch einer für "Runlevel 5 ist nix für ein Server" angebracht?

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

                                        @thomas-braun @apollon77

                                        atombook ~ # which node && node -v && which npm && npm -v
                                        /usr/bin/node
                                        v12.20.1
                                        /usr/bin/npm
                                        6.14.10
                                        
                                        

                                        nodejs und apt gibt es auf dem System nicht, ist ein gentoo 🙂 Bisher hatte ich auch keine Probleme mit NodeJs unter gentoo. Ich kann aber gerne auch mal ein 14er Release installieren und es damit probieren...

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

                                          @didi-0
                                          Gut, gentoo hatte ich jetzt nicht erwartet, damit bist du ein Super-Exoten-Pinguin unter den ioBrokern. nodejs ist letzendlich ohnehin nur ein symlink auf node, das muss nicht unbedingt vorhanden sein.
                                          Ich vermute aber, das ein node14 dich auch nicht weiterbringen wird.

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

                                            @thomas-braun 🙂
                                            Naja, ich werde das schon noch probieren. Dachte nur, dass vielleicht auch noch jemand anders das Problem hat.
                                            Oder eine Idee, woran's liegt?
                                            Kennt sich jemand mit node so gut aus, zu wissen, was zum regex-parsen benützt wird? Eigentlich kann's ja nur eine zu alte Library auf meinem System sein oder irgendein node-module funkt dazwischen...

                                            atombook ~ # ldd /usr/bin/node
                                                    linux-vdso.so.1 (0x00007ffcaf769000)
                                                    libz.so.1 => /lib64/libz.so.1 (0x00007f4e5b8f5000)
                                                    libhttp_parser.so.2.9 => /usr/lib64/libhttp_parser.so.2.9 (0x00007f4e5b8e9000)
                                                    libbrotlidec.so.1 => /usr/lib64/libbrotlidec.so.1 (0x00007f4e5b8db000)
                                                    libbrotlienc.so.1 => /usr/lib64/libbrotlienc.so.1 (0x00007f4e5b849000)
                                                    libcares.so.2 => /usr/lib64/libcares.so.2 (0x00007f4e5b832000)
                                                    libnghttp2.so.14 => /usr/lib64/libnghttp2.so.14 (0x00007f4e5b808000)
                                                    libcrypto.so.1.1 => /usr/lib64/libcrypto.so.1.1 (0x00007f4e5b558000)
                                                    libssl.so.1.1 => /usr/lib64/libssl.so.1.1 (0x00007f4e5b4c6000)
                                                    libdl.so.2 => /lib64/libdl.so.2 (0x00007f4e5b4c1000)
                                                    libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6 (0x00007f4e5b24b000)
                                                    libm.so.6 => /lib64/libm.so.6 (0x00007f4e5b107000)
                                                    libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libgcc_s.so.1 (0x00007f4e5b0ed000)
                                                    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4e5b0cb000)
                                                    libc.so.6 => /lib64/libc.so.6 (0x00007f4e5af0f000)
                                                    libbrotlicommon.so.1 => /usr/lib64/libbrotlicommon.so.1 (0x00007f4e5aeec000)
                                                    /lib64/ld-linux-x86-64.so.2 (0x00007f4e5d221000)
                                            
                                            
                                            Thomas Braun 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

                                            695
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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