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.
    • Archimedeus A
      Archimedeus A @Diginix last edited by

      @Diginix Ja wenn ich nur wüsste, wie. Habe genau gemacht was oben steht. Zusätzlich den installationsfixer laufen gelassen und dann
      sudo -H -u iobroker npm install iobroker.js-controller

      mit diesem Output:

      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      pi@ioBroker-Pi:~ $
      pi@ioBroker-Pi:~ $ sudo -H -u iobroker npm install iobroker.js-controller
      npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
      npm WARN checkPermissions Missing write access to /home/pi/node_modules/@types
      npm WARN checkPermissions Missing write access to /home/pi/node_modules
      npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN pi No description
      npm WARN pi No repository field.
      npm WARN pi No README data
      npm WARN pi No license field.
      
      npm ERR! code EACCES
      npm ERR! syscall access
      npm ERR! path /home/pi/node_modules/@types
      npm ERR! errno -13
      npm ERR! Error: EACCES: permission denied, access '/home/pi/node_modules/@types'
      npm ERR!  { [Error: EACCES: permission denied, access '/home/pi/node_modules/@types']
      npm ERR!   stack:
      npm ERR!    'Error: EACCES: permission denied, access \'/home/pi/node_modules/@types\'',
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'access',
      npm ERR!   path: '/home/pi/node_modules/@types' }
      npm ERR!
      npm ERR! The operation was rejected by your operating system.
      npm ERR! It is likely you do not have the permissions to access this file as the current user
      npm ERR!
      npm ERR! If you believe this might be a permissions issue, please double-check the
      npm ERR! permissions of the file and its containing directories, or try running
      npm ERR! the command again as root/Administrator.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2020-01-27T19_09_18_211Z-debug.log
      
      
      apollon77 1 Reply Last reply Reply Quote 0
      • Archimedeus A
        Archimedeus A last edited by

        @Diginix Oh wunder, der iobroker upgrade self hat was gemacht, konnte jetzt den admin updaten. Cool!

        1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active last edited by

          wenn ich den js-controller update, sollte doch node.js auch mit aktualisiert werden, oder irre ich mich jetzt?

          J apollon77 2 Replies Last reply Reply Quote 0
          • J
            Jan1 @crunchip last edited by

            @crunchip
            Ja weil das eine mit dem anderen nichts zu tun hat. Node wird über System Update aktualisiert und wenn man z.B auf 12 hoch will muss das manuell erledigt werden.

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

              @Archimedeus-A Naja wer per npm installiert sollte dies in /opt/iobroker tun und nicht im home vom pi User 🙂

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

                @crunchip Nur wenn es mit dem neuen Windows-Installer gemacht wird ist das so ... Linux ist nodejs getrennt

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

                  Hi All,

                  aus gegebenem Anlass (eine Sub-Dependency Library hat es geschafft Ihre Nodejs kompatibilität nicht sauber zu halten und somit kann der controller 2.2.8 mit nodejs 8 ggf crashen) habe ich soeben eine 2.2.9 des js-controller auf npm und es sollte damit in den nächsten Stunden im Latest Repository auftauchen. Zur Installation gilt die Anleitung von oben weiterhin.

                  Neben dem Downgrade dieser Library habe ich noch ein paar Fixes reingenommen die sich seitdem angesammelt haben.
                  Changelog:

                  2.2.9 (2020-02-12) Release Dina

                  • (Apollon77) fix pot. crash for edge cases
                  • (Apollon77) allow to deactivate logfile zipping by iobroker.json (for non-windows systems)
                  • (Apollon77) make sure sigKill state only handles number values (fixes #638)
                  • (bluefox) add better checks for file CLI commands
                  • (Apollon77) make sure directly is created before writing meta data and send redis error correctly, prevent controller crash (fixes #644)
                  • (foxriver76) optimize package manager handling (fixes #631)
                  • (Apollon77) make sure deleting running instances does not crash js-controller (fixes #658)
                  • (Apollon77) Downgrade semver to stay compatible with nodejs 8

                  Die nächste Version des js-controller (vorauss. Ende März) wird aus dem Grund die Version 3.0 werden und nodejs 8 nicht mehr untersützen können.

                  Viel Spass,

                  Ingo

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

                    @apollon77 Installiert und läuft.
                    Wie wird das Log Zippen denn in der iobroker.json deaktiviert?
                    Konnte keinen neuen Schlüssel dazu finden.

                    crunchip apollon77 2 Replies Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Diginix last edited by

                      @Diginix habs grad gefunden https://forum.iobroker.net/post/366318

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

                        @Diginix https://github.com/ioBroker/ioBroker.js-controller/blob/master/README.md#file-based-logging

                        Dr. Bakterius Diginix 2 Replies Last reply Reply Quote 1
                        • apollon77
                          apollon77 @crunchip last edited by

                          @crunchip Neneeeee, so bitte nicht mehr 🙂

                          crunchip 1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @apollon77 last edited by

                            @apollon77 zu spät😂 und wie tausch ich die zeile wieder aus🤦

                            apollon77 1 Reply Last reply Reply Quote 0
                            • Dr. Bakterius
                              Dr. Bakterius Most Active @apollon77 last edited by

                              @apollon77 Also wenn ich das richtig verstanden habe, die Datei 'iobroker.json' unter '/opt/iobroker/iobroker-data/' wie folgt ergänzen?

                              log.png

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

                                @crunchip Wie, geändert aber kein Backup gemacht? 😉 Dann such SIe hier raus https://github.com/ioBroker/ioBroker.js-controller/blob/master/lib/logger.js

                                crunchip 1 Reply Last reply Reply Quote 1
                                • apollon77
                                  apollon77 @Dr. Bakterius last edited by

                                  @Dr-Bakterius korrekt

                                  1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @apollon77 last edited by

                                    @apollon77 ausnahmsweise mal kein zwischen backup😊
                                    danke dir

                                    Dr. Bakterius 1 Reply Last reply Reply Quote 0
                                    • Dr. Bakterius
                                      Dr. Bakterius Most Active @crunchip last edited by

                                      @crunchip

                                      transport.zippedArchive = isWindows ? false: (transport.zippedArchive !== undefined ? true : false);
                                      
                                      crunchip 1 Reply Last reply Reply Quote 1
                                      • crunchip
                                        crunchip Forum Testing Most Active @Dr. Bakterius last edited by

                                        @Dr-Bakterius danke, habs schon wieder geändert

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

                                          @apollon77 Danke!
                                          Greift das on-the-fly oder muss der host neu gestartet werden?

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

                                            @Diginix host restart

                                            Diginix 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

                                            624
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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