Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. js-controller Lucy (Version 7.0) jetzt im Beta Repository

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller Lucy (Version 7.0) jetzt im Beta Repository

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

      @foxriver76 nach einem erneuten iob stop und iob start gab es keine Fehler mehr im Log

      foxriver76 1 Reply Last reply Reply Quote 0
      • foxriver76
        foxriver76 Developer @Feuersturm last edited by

        @feuersturm hm jedenfalls komisch dass das UI Upgrade nicht geklappt hat, vorallem damit der Meldung dass Admin noch lief.

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

          @foxriver76 Bei mir hat das Update von 7.0.0 auf 7.0.1 über Admin webUI erfolgreich geklappt.

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

            @foxriver76 Ich erhalte über GUI auch den Fehler SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON

            Im Log steht dann:

            2024-10-22 09:43:03.567 - error: host.iobroker [CONTROLLER_AUTO_UPGRADE] Uncaught Exception: Error: listen EADDRINUSE: address already in use :::8081
            at Server.setupListenHandle [as _listen2] (node:net:1904:16)
            at listenInCluster (node:net:1961:12)
            at Server.listen (node:net:2063:7)
            at UpgradeManager.startInsecureWebServer (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/upgradeManager.ts:266:21)
            at UpgradeManager.startWebServer (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/upgradeManager.ts:198:18)
            at main (file:///opt/iobroker/node_modules/iobroker.js-controller/src/lib/upgradeManager.ts:400:20)
            

            Ich habe es 2x versucht. Admin v7.1.5.

            foxriver76 1 Reply Last reply Reply Quote 0
            • foxriver76
              foxriver76 Developer @Dr. Bakterius last edited by foxriver76

              @dr-bakterius Okay, es scheint wohl eine Änderung im Fixer sowie Installer gegeben zu haben die das UI Upgrade zerstört. Also je nachdem wann zuletzt der Fixer ausgeführt wurde geht es nicht. Ingo bereitet einen Fix vor.

              Feuersturm 1 Reply Last reply Reply Quote 1
              • Feuersturm
                Feuersturm @foxriver76 last edited by

                @foxriver76 ich hab den fixer kurz vorher ausprobiert um den neuen Stand zu testen bzgl. root, multiuser.target etc.

                Dann warte ich Mal auf eine neue Version

                foxriver76 1 Reply Last reply Reply Quote 0
                • foxriver76
                  foxriver76 Developer @Feuersturm last edited by

                  @feuersturm Fixer ist aktualisiert, bei mir läuft es wieder nach Ausführen des neuen Fixers

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

                    @foxriver76 Ja, nach dem Start des aktuellen Fixers funktioniert das Update. Danke!

                    1 Reply Last reply Reply Quote 0
                    • D
                      DLehmann @foxriver76 last edited by

                      @foxriver76

                      Leider noch nicht. Der Fehler sieht jetzt aber anders aus. Eine Umstellung erfolgt aber nicht. iobroker ist gestoppt und der neue iob fix lief auch erfolgreich drüber.

                      dirk@iobroker:~$ iob setup custom
                      Current configuration:
                      - Objects database:
                        - Type: jsonl
                        - Host/Unix Socket: 127.0.0.1
                        - Port: 9001
                      - States database:
                        - Type: jsonl
                        - Host/Unix Socket: 127.0.0.1
                        - Port: 9000
                      - Data Directory: ../../iobroker-data/
                      
                      Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [jsonl]: r
                      
                      When Objects and Files are stored in a Redis database please consider the following:
                      1. All data will be stored in RAM, make sure to have enough free RAM available!
                      2. Make sure to check Redis persistence options to make sure a Redis problem will not cause data loss!
                      3. The Redis persistence files can get big, make sure not to use an SD card to store them.
                      
                      Host / Unix Socket of objects DB(redis), default[127.0.0.1]: 
                      Port of objects DB(redis), default[6379]: 
                      Do you use a TLS connection for your "objects" redis-server? [y/N]:
                      Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [redis]: 
                      Host / Unix Socket of states DB (redis), default[127.0.0.1]: 
                      Port of states DB (redis), default[6379]: 
                      Do you use a TLS connection for your "states" redis-server? [y/N]:
                      Host name of this machine [iobroker]: 
                      Please choose if this is a Master/single host (enter "m") or a Slave host (enter "S") you are about to edit. For Slave hosts the data migration will be skipped. [S/m]: m
                      
                      Important: Using redis for the Objects database is only supported
                      with js-controller 2.0 or higher!
                      When your system consists of multiple hosts please make sure to have
                      js-controller 2.0 or higher installed on ALL hosts *before* continuing!
                      
                      
                      Important #2: If you already did the migration on an other host
                      please *do not* migrate again! This can destroy your system!
                      
                      
                      Important #3: The process will migrate all files that were officially
                      uploaded into the ioBroker system. If you have manually copied files into
                      iobroker-data/files/... into own directories then these files will NOT be
                      migrated! Make sure all files are in adapter directories inside the files
                      directory!
                      
                      
                      Do you want to migrate objects and states from "jsonl/jsonl" to "redis/redis" [y/N]: y
                      
                      Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y
                      
                      Connecting to previous DB "jsonl/jsonl"...
                      Creating backup ...
                      This can take some time ... please be patient!
                      host.iobroker 15138 objects saved
                      host.iobroker 12349 states saved
                      host.iobroker Validating backup ...
                      host.iobroker The backup is valid!
                      Backup created: /opt/iobroker/backups/2024_10_22-17_58_59_backupiobroker-migration.tar.gz
                      updating conf/iobroker.json
                      
                      Connecting to new DB "redis/redis" (can take up to 20s) ...
                       Cannot read system.config: null (OK when migrating or restoring)
                      Restore backup ...
                      This can take some time ... please be patient!
                      host.iobroker Cannot find extracted file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json" or "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/config.json"
                      Error happened during restore. Exit-Code: 26
                      
                      restoring conf/iobroker.json
                      
                      D 1 Reply Last reply Reply Quote 0
                      • Dr. Bakterius
                        Dr. Bakterius Most Active last edited by

                        Noch ein Issue?

                        Siehe https://forum.iobroker.net/post/1212105 und folgende...

                        foxriver76 1 Reply Last reply Reply Quote 0
                        • foxriver76
                          foxriver76 Developer @Dr. Bakterius last edited by foxriver76

                          @dr-bakterius kann der controller nix tun aktuell da der update Prozess via systemd als Root laufen muss, vermute ich dass es daher kommt.

                          Mach gerne mal ein issue für „irgendwann“

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

                            @foxriver76 Das bedeutet, dass nach jedem Contoller-Update ein iob fix notwendig ist? War das vor v7 auch schon so? Da muss man erst recht wieder auf die Console und den ioBroker stoppen. Wo ist dann der Nutzen für ein Update über die UI? 🤔

                            foxriver76 1 Reply Last reply Reply Quote 0
                            • foxriver76
                              foxriver76 Developer @Dr. Bakterius last edited by foxriver76

                              @dr-bakterius ja seit es UI update gibt es lief technisch immer als root! Das Problem war bislang nicht bekannt, ich konnte es allerdings gestern Abend etwas umständlich lösen. https://github.com/ioBroker/ioBroker.js-controller/pull/2950

                              foxriver76 created this issue in ioBroker/ioBroker.js-controller

                              closed [fix]: UI upgrade now runs as the same user as the js-controller #2950

                              Diginix 1 Reply Last reply Reply Quote 1
                              • Diginix
                                Diginix @foxriver76 last edited by

                                @foxriver76 Ich habe schon Monate kein iob fix gemacht und konnte von v6 auf v7 und mit UI von 7.0.0 auf 7.0.1. Da bleiben bei mir Fragen offen warum bei mit etwas funktioniert, was nicht funktionieren dürfte.

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

                                  @diginix Weil du ewig kein Fix gemacht hast genau deswegen ging es. Stell dir 3 Versuionen des Fixers vor

                                  alt (war ok)
                                  version bis gestern (hats kaputt gemacht)
                                  version seit gestern (wieder ok)

                                  Wenn du zuletzt Stand alt ausgeführt hattest all good!

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

                                    @foxriver76 Ok, das relativiert aber

                                    @dr-bakterius sagte in js-controller Lucy (Version 7.0) jetzt im Beta Repository:

                                    Das bedeutet, dass nach jedem Contoller-Update ein iob fix notwendig ist?

                                    Dem ist ja dann doch nicht so. Ich mach einfach weiterhin keinen und es funzt?

                                    foxriver76 Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • foxriver76
                                      foxriver76 Developer @Diginix last edited by

                                      @diginix Grundsätzlich ist nicht zwingend die Funktionalität eingeschränkt wenn manche der node_modules Folder root gehören, ich denke die meisten User (99.9x %) haben durch das UI Update nie Probleme gehabt.

                                      1 Reply Last reply Reply Quote 0
                                      • foxriver76
                                        foxriver76 Developer last edited by

                                        Und wie gesat ab voraussichtlich 7.0.2 läuft das Update dann auch nur noch als User https://github.com/ioBroker/ioBroker.js-controller/pull/2950

                                        Was dann die Rechte nicht mehr ändern sollte bei Update von 7.0.2 (sobald sie kommt) auf eine Folgeversion (wann auch immer eine kommt)

                                        foxriver76 created this issue in ioBroker/ioBroker.js-controller

                                        closed [fix]: UI upgrade now runs as the same user as the js-controller #2950

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

                                          @diginix

                                          Das Upgrade via GUI hat nur eine kurze Zeit nicht funktioniert.
                                          Über die Kommandozeile ging es z. B. immer.
                                          Issue entdeckt, gefixt, alles gut.

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

                                            Dann mach ich das 7.0.2 Update ohne vorherigen Fix im webUI und danach lasse ich mal wieder iob fix laufen. Dann sollte nichts schlechter und manches ggf. korrigiert werden.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            805
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            backup beta dynamic notifications js-controller lucy test
                                            28
                                            146
                                            13858
                                            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