Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Umstellung auf iobroker nicht als root

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Umstellung auf iobroker nicht als root

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

      @thomas-braun sagte in Umstellung auf iobroker nicht als root:

      @sissiwup

      Wassen das für'n komischer Prompt? Hab ich noch nie gesehen:

      wh@zotac /opt/iobroker %
      

      Entweder ist das # für root logins oder $ für einen user. Aber % kenn ich nicht.

      Habe das in zsh so eingestellt. Ist aber der User wh. Kein root.

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

        @sissiwup

        .k zsh kenn ich nicht genau. Ein bash prompt kann man zwar auch umstellen, ist aber eher ungewöhnlich.

        Noch als Hinweis: iob_diag verwendet bash, keine Ahnung ob es unter der zsh da zu Komplikationen kommt.

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

          @thomas-braun
          bash ist natürlich auch da.

          2023-10-14 21:16:55.685  - error: host.zotac instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          2023-10-14 21:16:55.685  - info: host.zotac Restart adapter system.adapter.admin.0 because enabled
          2023-10-14 21:17:25.720  - info: host.zotac instance system.adapter.admin.0 started with pid 488395
          2023-10-14 21:17:25.975  - error: host.zotac Caught by controller[0]: /opt/iobroker/node_modules/iobroker.admin/main.js:21
          2023-10-14 21:17:25.975  - error: host.zotac Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:21:44)
          2023-10-14 21:17:25.975  - error: host.zotac instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          2023-10-14 21:17:25.975  - info: host.zotac Restart adapter system.adapter.admin.0 because enabled
          
          sissiwup 1 Reply Last reply Reply Quote 0
          • sissiwup
            sissiwup @sissiwup last edited by

            @sissiwup
            Kann ich das neu installieren und meine Einstellungen übernehmen?

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

              @sissiwup

              iob start admin
              

              sagt?

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

                @thomas-braun
                Nix, also keinen Fehler.

                wh@zotac:/opt/iobroker$ iob start admin
                wh@zotac:/opt/iobroker$
                
                023-10-14 21:46:08.216  - info: host.zotac instance system.adapter.admin.0 started with pid 610506
                2023-10-14 21:46:08.542  - error: host.zotac Caught by controller[0]: /opt/iobroker/node_modules/iobroker.admin/main.js:21
                2023-10-14 21:46:08.544  - error: host.zotac Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:21:44)
                2023-10-14 21:46:08.546  - error: host.zotac instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                2023-10-14 21:46:08.546  - info: host.zotac Restart adapter system.adapter.admin.0 because enabled
                2023-10-14 21:46:38.578  - info: host.zotac instance system.adapter.admin.0 started with pid 611113
                2023-10-14 21:46:38.897  - error: host.zotac Caught by controller[0]: /opt/iobroker/node_modules/iobroker.admin/main.js:21
                2023-10-14 21:46:38.898  - error: host.zotac Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:21:44)
                2023-10-14 21:46:38.899  - error: host.zotac instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                2023-10-14 21:46:38.899  - info: host.zotac Restart adapter system.adapter.admin.0 because enabled
                
                1 Reply Last reply Reply Quote 0
                • sissiwup
                  sissiwup @Thomas Braun last edited by

                  @thomas-braun
                  Kann das mit den vielen Fehlern aus diag zu tun haben?

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

                    @sissiwup sagte in Umstellung auf iobroker nicht als root:

                    Kann das mit den vielen Fehlern aus diag zu tun haben?

                    Welche? Gib mal die Langfassung.
                    Bei den Repos solltest du ran, die sind mittlerweile alle auf die neue Nomenklatur umgestellt.

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

                      @thomas-braun

                      diag.txt

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

                        @sissiwup

                        Bitte den Text aus der Konsole hier rein.

                        sissiwup Glasfaser 2 Replies Last reply Reply Quote 0
                        • sissiwup
                          sissiwup @Thomas Braun last edited by

                          @thomas-braun diag.txt

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

                            @thomas-braun sagte in Umstellung auf iobroker nicht als root:

                            @sissiwup

                            Bitte den Text aus der Konsole hier rein.

                            seine Ausgabe ist zu groß dafür !

                            Bitte schreibe einen kürzeren Beitrag. Beiträge können nicht länger als 100000 Zeichen sein.

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

                              @sissiwup

                              Keine Ahnung wo anfangen...

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

                                @glasfaser sagte in Umstellung auf iobroker nicht als root:

                                @thomas-braun sagte in Umstellung auf iobroker nicht als root:

                                @sissiwup

                                Bitte den Text aus der Konsole hier rein.

                                seine Ausgabe ist zu groß dafür !

                                Bitte schreibe einen kürzeren Beitrag. Beiträge können nicht länger als 100000 Zeichen sein.

                                Yep, habe deshalb die Datei hochgeladen. Die 1. ist mit Pipe, die 2. ist vom Bildschirm kopiert.

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

                                  @thomas-braun sagte in Umstellung auf iobroker nicht als root:

                                  @sissiwup

                                  Keine Ahnung wo anfangen...

                                  Bis heute Mittag lief noch alles 😞
                                  Dann habe ich gedacht, versuch doch mal nicht als root es zum laufen zu bekommen.
                                  Die Installation ist sehr alt ...

                                  sissiwup 1 Reply Last reply Reply Quote 0
                                  • sissiwup
                                    sissiwup @sissiwup last edited by

                                    @sissiwup

                                    iobroker debug admin
                                    Debugger listening on ws://127.0.0.1:9229/7d01f783-1cea-4812-bd8c-47e6dcf47180
                                    For help, see: https://nodejs.org/en/docs/inspector
                                    /opt/iobroker/node_modules/iobroker.admin/main.js:21
                                    const getInstalledInfo = utils.commonTools.getInstalledInfo;
                                                                               ^
                                    
                                    TypeError: Cannot read properties of undefined (reading 'getInstalledInfo')
                                        at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:21:44)
                                        at Module._compile (node:internal/modules/cjs/loader:1256:14)
                                        at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                                        at Module.load (node:internal/modules/cjs/loader:1119:32)
                                        at Module._load (node:internal/modules/cjs/loader:960:12)
                                        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
                                        at node:internal/main/run_main_module:23:47
                                    
                                    Node.js v18.18.2```
                                    sissiwup 1 Reply Last reply Reply Quote 0
                                    • sissiwup
                                      sissiwup @sissiwup last edited by

                                      @sissiwup
                                      Hab jetzt mal neu installiert. Dann ging leider vis nicht.
                                      Hier habe ich gesehen nur vis 1.4.0 geht. Das habe ich dann installiert. (vis@1.4.0)
                                      Danach geht das update auf vis 1.4.16 auch wieder.

                                      Lasse das backup jetzt mal einspielen. Mal sehen was morgen früh so läuft.
                                      node-red fehlten nodes, das war aber kein Problem.

                                      Immerhin läuft es jetzt wohl nicht mehr als root gestartet.

                                      haselchen 1 Reply Last reply Reply Quote 0
                                      • haselchen
                                        haselchen Most Active @sissiwup last edited by

                                        @sissiwup

                                        Willkommen in meinem Leben 🙂
                                        Exakt die gleichen Probleme hatte ich heute.

                                        sissiwup 1 Reply Last reply Reply Quote 0
                                        • sissiwup
                                          sissiwup @haselchen last edited by sissiwup

                                          @haselchen
                                          Na dann viel Erfolg.
                                          Ich bin froh, dass ich immer fleißig Backups mache.
                                          Jede Nacht per rsync und backitup.
                                          Leider hat das zurück spielen des Vollbackups nichts gebracht.
                                          Ich habe heute das Update von bullseye auf bookworm gemacht.
                                          Da ist wohl mehr im argen gewesen....

                                          Hier noch der Link wg. VIS:
                                          VIS nur 1.4.0

                                          haselchen 1 Reply Last reply Reply Quote 0
                                          • haselchen
                                            haselchen Most Active @sissiwup last edited by haselchen

                                            @sissiwup

                                            Krass. Genau das Gleiche hatte ich heute.
                                            Genau die gleichen "Probleme", die Du jetzt hier schilderst.
                                            Backup hat zwar so das Wichtigste zurückgebracht, aber die Feinheiten, die fehlten dann doch.
                                            Node Red, VIS... das war echtes Gefrickel.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            567
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            installlation
                                            7
                                            36
                                            2133
                                            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