Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Uralt System updaten oder Umzug

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Uralt System updaten oder Umzug

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mr.X last edited by

      @wendy2702
      ich habe
      tail -f /opt/iobroker/log/iobroker.current.log
      gestartet und im zweiten Fenster dann
      iob start admin
      ausgeführt.
      Wenn ich dich richtig verstanden habe müsste im ersten was dazu kommen?
      kommt nicht. es bleibt bei der ursprünglichen Ausgabe.

      tadek@ioBrokerVM:~$ tail -f /opt/iobroker/log/iobroker.current.log
      2025-05-18 14:15:29.424  - info: host.ioBrokerVM terminated
      2025-05-18 14:17:24.827  - info: host.ioBrokerVM iobroker.js-controller version                       7.0.6 js-controller starting
      2025-05-18 14:17:24.830  - info: host.ioBrokerVM Copyright (c) 2014-2024 bluefox                      , 2014 hobbyquaker
      2025-05-18 14:17:24.830  - info: host.ioBrokerVM hostname: ioBrokerVM, node: v20                      .19.2
      2025-05-18 14:17:24.831  - info: host.ioBrokerVM ip addresses: 192.168.178.160 f                      d4c:16f3:42:5d6:be24:11ff:fe4d:a762 fe80::be24:11ff:fe4d:a762
      2025-05-18 14:17:25.276  - info: host.ioBrokerVM Sets unsupported
      2025-05-18 14:17:25.529  - info: host.ioBrokerVM connected to Objects and States
      2025-05-18 14:17:25.538  - info: host.ioBrokerVM added notifications configurati                      on of host
      2025-05-18 14:17:25.908  - info: host.ioBrokerVM 31 instances found
      2025-05-18 14:17:25.912  - warn: host.ioBrokerVM does not start any instances on                       this host
      
      
      getfacl /opt/iobroker/iobroker-data/
      

      ergibt

      tadek@ioBrokerVM:~$ getfacl /opt/iobroker/iobroker-data/
      getfacl: Entferne führende '/' von absoluten Pfadnamen
      # file: opt/iobroker/iobroker-data/
      # owner: iobroker
      # group: iobroker
      user::rwx
      group::r-x
      group:iobroker:rwx
      mask::rwx
      other::r-x
      default:user::rwx
      default:group::r-x
      default:group:iobroker:rwx
      default:mask::rwx
      default:other::r-x
      
      
      wendy2702 1 Reply Last reply Reply Quote 0
      • M
        Mr.X @Homoran last edited by

        @homoran sagte in Uralt System updaten oder Umzug:

        @mr-x sagte in Uralt System updaten oder Umzug:

        Ich habe diesen user beim aufsetzen generiert.

        Das ist leider nicht die Antwort auf die Fragen: -(
        bitte etwas präziser!
        Beim Aufsetzen von Debian, ohne root Passwort?
        und unter diesem User wurde iobroker installiert?
        (ohne sudo!!! ?)

        und wenn wir schon dabei sind weitere Eventualitäten zu prüfen:
        Als welcher User wurden mit filezilla die Dateien vom alten System heruntergeladen?

        Ja, Debian wurde diesmal ohne root aufgesetzt
        Ja mit diesem User wurde ioBroker aufgesetzt mit: curl -sLf https://iobroker.net/install.sh | bash -
        Dann kommt ja der Einrichtungsassistent und dort das Admin Passwort vergeben (im Browser beim Einrichten)

        Vom alten System wurden die files als user "pi" runtergeladen.
        Liegt hier der Hund begraben?

        Danke und Gruß

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Mr.X last edited by

          @mr-x sagte in Uralt System updaten oder Umzug:

          Liegt hier der Hund begraben?

          Nein, durch den

          iob fix
          

          stimmen Rechte jetzt wieder.
          Was steht im Log, wenn du Instanzen von Hand startest?

          iob start admin
          

          z. B.
          Und mach das Fenster von puTTY breiter, damit da diese blöden Umbrüche nicht erscheinen.

          1 Reply Last reply Reply Quote 0
          • M
            Mr.X last edited by

            @Thomas-Braun

            iob Fix habe ich schon durchgeführt.
            vor und nach dem kopieren der Dateien.

            Sorry für mein Unwissen, aber ich kapiere das mit dem log nicht.
            Ich habe oben Wendy geantwortet,wie ich es verstanden habe 😵

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Mr.X last edited by

              @mr-x

              Das eine Fenster zeigt das Log permanent, du siehst also was passiert, wenn du im anderen Fenster mit der Installation agierst.

              1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @Mr.X last edited by

                @mr-x sagte in Uralt System updaten oder Umzug:

                ioBrokerVM

                War der Name des alten "Host" -- Rechners auch so?

                Und wie @Thomas-Braun geschrieben hat, mach das Terminal Fenster für das logfile größer. Versuche dann eine Instanz im zweiten Fenster zu starten und schaue was im LOG kommt und zeige uns das Log und die Ausgabe des anderen Terminalfensters.

                z.B.

                iob start admin.0
                iob start web.0
                iob start hm-rpc.0
                
                M 1 Reply Last reply Reply Quote 0
                • M
                  Mr.X @wendy2702 last edited by

                  @wendy2702
                  der alte heißt raspberry
                  der neue ioBrokerVM

                  ich poste mal ein Foto, da im ersten log Fenster sich nichts ändert, wenn ich die Befehle im zweiten eingebe.
                  Irgendwas mache ich wohl immer noch falsch.
                  Vermutlich starte ich das log falsch?

                  Log terminal.JPG

                  wendy2702 1 Reply Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 @Mr.X last edited by

                    @mr-x mit den Logs sieht eigentlich richtig aus.

                    Kannst du mal

                    iob host this 
                    

                    Machen und dann den Container mal neu starten.

                    Im Anschluss mal probieren ob Admin erreichbar, wenn nicht wieder logfile und manuell starten versuchen

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Mr.X @wendy2702 last edited by

                      @wendy2702 sagte in Uralt System updaten oder Umzug:

                      @mr-x mit den Logs sieht eigentlich richtig aus.

                      Kannst du mal

                      iob host this 
                      

                      Machen und dann den Container mal neu starten.

                      Im Anschluss mal probieren ob Admin erreichbar, wenn nicht wieder logfile und manuell starten versuchen

                      Habe ich:

                      tadek@ioBrokerVM:~$ iob host this
                      Cannot execute changes on running system. Stop iobroker first.
                      tadek@ioBrokerVM:~$ iobroker stop
                      tadek@ioBrokerVM:~$ iob host this
                      Cannot use this command in multihost!
                      iobroker host this
                      
                      Initialize current host
                      
                      Options:
                        --help  Show help  [boolean]
                      
                      

                      Danach tut sich weiterhin nichts im Log,
                      wenn ich iob start admin.0

                      
                      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                      permitted by applicable law.
                      Last login: Sun May 18 18:51:13 2025 from 192.168.178.114
                      tadek@ioBrokerVM:~$ tail -f /opt/iobroker/log/iobroker.current.log
                      2025-05-18 18:49:43.867  - info: host.ioBrokerVM terminated
                      2025-05-18 18:51:04.695  - info: host.ioBrokerVM iobroker.js-controller version                                                                                    7.0.6 js-controller starting
                      2025-05-18 18:51:04.698  - info: host.ioBrokerVM Copyright (c) 2014-2024 bluefox                                                                                   , 2014 hobbyquaker
                      2025-05-18 18:51:04.698  - info: host.ioBrokerVM hostname: ioBrokerVM, node: v20                                                                                   .19.2
                      2025-05-18 18:51:04.698  - info: host.ioBrokerVM ip addresses: 192.168.178.160 f                                                                                   d4c:16f3:42:5d6:be24:11ff:fe4d:a762 fe80::be24:11ff:fe4d:a762
                      2025-05-18 18:51:05.073  - info: host.ioBrokerVM Sets unsupported
                      2025-05-18 18:51:05.296  - info: host.ioBrokerVM connected to Objects and States
                      2025-05-18 18:51:05.305  - info: host.ioBrokerVM added notifications configurati                                                                                   on of host
                      2025-05-18 18:51:05.666  - info: host.ioBrokerVM 31 instances found
                      2025-05-18 18:51:05.670  - warn: host.ioBrokerVM does not start any instances on                                                                                    this host
                      

                      wenn ich nochmal aufrufe kommt dies:

                      tadek@ioBrokerVM:~$ tail -f /opt/iobroker/log/iobroker.current.log
                      2025-05-18 18:49:43.867  - info: host.ioBrokerVM terminated
                      2025-05-18 18:51:04.695  - info: host.ioBrokerVM iobroker.js-controller version 7.0.6 js-controller starting
                      2025-05-18 18:51:04.698  - info: host.ioBrokerVM Copyright (c) 2014-2024 bluefox, 2014 hobbyquaker
                      2025-05-18 18:51:04.698  - info: host.ioBrokerVM hostname: ioBrokerVM, node: v20.19.2
                      2025-05-18 18:51:04.698  - info: host.ioBrokerVM ip addresses: 192.168.178.160 fd4c:16f3:42:5d6:be24:11ff:fe4d:a762 fe80::be24:11ff:fe4d:a762
                      2025-05-18 18:51:05.073  - info: host.ioBrokerVM Sets unsupported
                      2025-05-18 18:51:05.296  - info: host.ioBrokerVM connected to Objects and States
                      2025-05-18 18:51:05.305  - info: host.ioBrokerVM added notifications configuration of host
                      2025-05-18 18:51:05.666  - info: host.ioBrokerVM 31 instances found
                      2025-05-18 18:51:05.670  - warn: host.ioBrokerVM does not start any instances on this host
                      
                      
                      wendy2702 1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 @Mr.X last edited by

                        @mr-x hast du ein Multihost System?

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Mr.X @wendy2702 last edited by Mr.X

                          @wendy2702
                          Yes.

                          Ist aber nicht mehr verbunden.

                          wendy2702 1 Reply Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 @Mr.X last edited by

                            @mr-x ok.

                            Dann musst du das am Master, also denke deine neue Installation erst auflösen.

                            Dann nochmal

                            iob host this
                            
                            M 1 Reply Last reply Reply Quote 0
                            • M
                              Mr.X @wendy2702 last edited by Mr.X

                              Wie löse ich das denn auf.
                              Auf das neue komme ich ja nicht mehr drauf nachdem ich die Daten kopiert habe

                              1 Reply Last reply Reply Quote 0
                              • M
                                Mr.X last edited by

                                Tja, soeben hat sich mein Laptop verabschiedet.
                                pufff. und alles war aus.

                                wendy2702 OliverIO 2 Replies Last reply Reply Quote 0
                                • wendy2702
                                  wendy2702 last edited by

                                  @mr-x

                                  iob multihost disable
                                  

                                  Oder

                                  iob setup custom
                                  

                                  Geht das auf der neuen Installation?

                                  M 1 Reply Last reply Reply Quote 0
                                  • wendy2702
                                    wendy2702 @Mr.X last edited by

                                    @mr-x sagte in Uralt System updaten oder Umzug:

                                    Tja, soeben hat sich mein Laptop verabschiedet.
                                    pufff. und alles war aus.

                                    Ui,

                                    Das ist doof.

                                    1 Reply Last reply Reply Quote 0
                                    • OliverIO
                                      OliverIO @Mr.X last edited by

                                      @mr-x sagte in Uralt System updaten oder Umzug:

                                      Tja, soeben hat sich mein Laptop verabschiedet.
                                      pufff. und alles war aus.

                                      akku raus und neu starten, falls das akku hinüber ist

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        Mr.X @wendy2702 last edited by

                                        @wendy2702 sagte in Uralt System updaten oder Umzug:

                                        iob multihost disable

                                        tadek@ioBrokerVM:~$ iob multihost disable
                                        No configuration change needed.
                                        
                                        
                                        Multihost discovery server: disabled
                                        Discovery authentication:   enabled
                                        Persistent activation:      disabled
                                        Objects:                    jsonl on 0.0.0.0
                                        States:                     jsonl on 0.0.0.0
                                        
                                        

                                        habe rebootet und danach iob host this. und er meckert weiterhin:

                                        wendy2702 1 Reply Last reply Reply Quote 0
                                        • M
                                          Mr.X @OliverIO last edited by

                                          @oliverio sagte in Uralt System updaten oder Umzug:

                                          @mr-x sagte in Uralt System updaten oder Umzug:

                                          Tja, soeben hat sich mein Laptop verabschiedet.
                                          pufff. und alles war aus.

                                          akku raus und neu starten, falls das akku hinüber ist

                                          Nach einander Akku raus, Speicher, Festplatte. Tut leider nichts.
                                          Vermute mal Mainboard und/oder Ladeelektronik. So ein F*CK

                                          1 Reply Last reply Reply Quote 0
                                          • wendy2702
                                            wendy2702 @Mr.X last edited by

                                            @mr-x was kommt raus und hast du den zweiten Befehl mal probiert.

                                            Poste doch bitte immer das logfile von den Befehlen die man dir sagt und die entsprechende Antwort im Terminal.

                                            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

                                            484
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            13
                                            148
                                            4404
                                            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