Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Installation
  5. IOBroker backup auf neue Rasperry übertragen

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    21
    1
    936

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.4k

IOBroker backup auf neue Rasperry übertragen

Geplant Angeheftet Gesperrt Verschoben Installation
65 Beiträge 5 Kommentatoren 3.6k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • paul53P paul53

    @metzid sagte: RAM: 909.6 MB

    Das dürfte bei 8 aktiven Instanzen mit neuen Adapter-Versionen eng werden.

    M Offline
    M Offline
    Metzid
    schrieb am zuletzt editiert von
    #6

    @paul53 da habe ich micht vielleicht falsch ausgedrückt es sind 8 instanzen wie auf dem Bild zu sehen.

    1 Antwort Letzte Antwort
    0
    • Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #7

      @metzid

      Macht's kaum besser.

      Ich würde wie gesagt das alte System versuchen auf eine aktuelle iobroker-Version zu bringen.

      nodejs kann man evtl. per 'unofficiall build' in die Jetzt-Zeit heben. Siehe mein HowTo in meiner Signatur.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      HomoranH 1 Antwort Letzte Antwort
      0
      • HomoranH Homoran

        @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

        leider scheint die installierte Raspbain GUN linux8 Jessie nicht mehr mit den neuen JS-controllern unterstützt zu werde

        wieso leider?

        gibt es noch Updates für WIN95?

        M Offline
        M Offline
        Metzid
        schrieb am zuletzt editiert von
        #8

        @homoran Mit der Aussage hast du schon recht mit Windows 98. Ich will deshalb ja auch das system neu aufsetzen, und dann nur die infos zum Iobroker zurückspielen. Was ich nicht verstehe warum will der die gleiche version der Admins oder des Js-controller haben.

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • M Metzid

          @homoran Mit der Aussage hast du schon recht mit Windows 98. Ich will deshalb ja auch das system neu aufsetzen, und dann nur die infos zum Iobroker zurückspielen. Was ich nicht verstehe warum will der die gleiche version der Admins oder des Js-controller haben.

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #9

          @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

          Was ich nicht verstehe warum will der die gleiche version der Admins oder des Js-controller haben.

          Weil deine Daten aus dem Alt-System genau das sind: Zu alt.
          Deswegen versuchen das Alt-System auf Stand zu bringen und dann von dort aus umziehen.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @metzid

            Macht's kaum besser.

            Ich würde wie gesagt das alte System versuchen auf eine aktuelle iobroker-Version zu bringen.

            nodejs kann man evtl. per 'unofficiall build' in die Jetzt-Zeit heben. Siehe mein HowTo in meiner Signatur.

            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #10

            @thomas-braun sagte in IOBroker backup auf neue Rasperry übertragen:

            nodejs kann man evtl. per 'unofficiall build' in die Jetzt-Zeit heben.

            laut Info von @Metzid ist es ein ARM v7. Auch wenn er icht schreibt welcher Typ Pi das ist, müsste es "normal" laufen.

            @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

            Modell: ARMv7 Processor rev 4 (v7l)

            oder ist Jessie das Problem?

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            Thomas BraunT M 3 Antworten Letzte Antwort
            0
            • HomoranH Homoran

              @thomas-braun sagte in IOBroker backup auf neue Rasperry übertragen:

              nodejs kann man evtl. per 'unofficiall build' in die Jetzt-Zeit heben.

              laut Info von @Metzid ist es ein ARM v7. Auch wenn er icht schreibt welcher Typ Pi das ist, müsste es "normal" laufen.

              @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

              Modell: ARMv7 Processor rev 4 (v7l)

              oder ist Jessie das Problem?

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #11

              @homoran sagte in IOBroker backup auf neue Rasperry übertragen:

              oder ist Jessie das Problem?

              Das natürlich auch. Das wird von nodesource nicht mehr unterstützt, soweit ich weiß. Deren builds crashen schon mit 'stretch'.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              1 Antwort Letzte Antwort
              -1
              • HomoranH Homoran

                @thomas-braun sagte in IOBroker backup auf neue Rasperry übertragen:

                nodejs kann man evtl. per 'unofficiall build' in die Jetzt-Zeit heben.

                laut Info von @Metzid ist es ein ARM v7. Auch wenn er icht schreibt welcher Typ Pi das ist, müsste es "normal" laufen.

                @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                Modell: ARMv7 Processor rev 4 (v7l)

                oder ist Jessie das Problem?

                M Offline
                M Offline
                Metzid
                schrieb am zuletzt editiert von
                #12

                @homoran Wow seit ihr alle schnell mit Antworten. Ich muss das alles erst sotieren. Wegen Jessie kann ich den js-controller nicht über Version 10 updaten. so steht es zumindest geschrieben
                Der Admin Adapter beötigt mindestens js-conroller 3.3.22
                der Hommatic rpc js-conroller 3.3.0
                der iot falsche admin Version
                der web server js-conroller 3.1.0
                die anderen können wohl alle upgedatet werden

                gibt es eine beschreibung wie ich den js-controller auf 3.3.22 mit Jessie bekomme

                Welche Komponenten die keine instanzen sind mpssen dann auch noch einen update bekommen.
                Und jetzt das Wichtigste ist meine Neuinstallation dann in der lage das Backup Restore richig zu verdauen....

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • M Metzid

                  @homoran Wow seit ihr alle schnell mit Antworten. Ich muss das alles erst sotieren. Wegen Jessie kann ich den js-controller nicht über Version 10 updaten. so steht es zumindest geschrieben
                  Der Admin Adapter beötigt mindestens js-conroller 3.3.22
                  der Hommatic rpc js-conroller 3.3.0
                  der iot falsche admin Version
                  der web server js-conroller 3.1.0
                  die anderen können wohl alle upgedatet werden

                  gibt es eine beschreibung wie ich den js-controller auf 3.3.22 mit Jessie bekomme

                  Welche Komponenten die keine instanzen sind mpssen dann auch noch einen update bekommen.
                  Und jetzt das Wichtigste ist meine Neuinstallation dann in der lage das Backup Restore richig zu verdauen....

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #13

                  @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                  Wegen Jessie kann ich den js-controller nicht über Version 10 updaten. so steht es zumindest geschrieben

                  Du meinst nodejs@10?

                  sudo apt update 
                  

                  sagt?

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  M 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                    Wegen Jessie kann ich den js-controller nicht über Version 10 updaten. so steht es zumindest geschrieben

                    Du meinst nodejs@10?

                    sudo apt update 
                    

                    sagt?

                    M Offline
                    M Offline
                    Metzid
                    schrieb am zuletzt editiert von
                    #14

                    @thomas-braun Entschuldigung das ich schon wieder frage notejs und js-controller sind doch komponenten von iobroker oder liege ich da falsch. Bei der admin instanz wird explizit js-controller 3.3.30 verlangt wie hängt denn der notejs damit zusammen oder ist das ein modul das nicht in Abhängigkeit zu js-controller steht. Gibt es da eine beschreibung wo man nachlesen kann wie das alles miteinander verbunden ist. Ich würde auch einen youtube Film nehmen.
                    Noch eine kurze Frage eigentlich sind nur die scripts und auch die verküpfungen mit alexa eine grössere Sache. Gibt es eine Möglichkeit die Konfiguration dieser instanzen auszulenen und auf dem neuen System einzulesen.

                    HomoranH 1 Antwort Letzte Antwort
                    0
                    • M Metzid

                      @thomas-braun Entschuldigung das ich schon wieder frage notejs und js-controller sind doch komponenten von iobroker oder liege ich da falsch. Bei der admin instanz wird explizit js-controller 3.3.30 verlangt wie hängt denn der notejs damit zusammen oder ist das ein modul das nicht in Abhängigkeit zu js-controller steht. Gibt es da eine beschreibung wo man nachlesen kann wie das alles miteinander verbunden ist. Ich würde auch einen youtube Film nehmen.
                      Noch eine kurze Frage eigentlich sind nur die scripts und auch die verküpfungen mit alexa eine grössere Sache. Gibt es eine Möglichkeit die Konfiguration dieser instanzen auszulenen und auf dem neuen System einzulesen.

                      HomoranH Nicht stören
                      HomoranH Nicht stören
                      Homoran
                      Global Moderator Administrators
                      schrieb am zuletzt editiert von
                      #15

                      @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                      liege ich da falsch

                      ja!

                      nodejs ist die Laufzeitumgebung auf die ioBroker aufgesetzt ist.

                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      M 1 Antwort Letzte Antwort
                      0
                      • HomoranH Homoran

                        @thomas-braun sagte in IOBroker backup auf neue Rasperry übertragen:

                        nodejs kann man evtl. per 'unofficiall build' in die Jetzt-Zeit heben.

                        laut Info von @Metzid ist es ein ARM v7. Auch wenn er icht schreibt welcher Typ Pi das ist, müsste es "normal" laufen.

                        @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                        Modell: ARMv7 Processor rev 4 (v7l)

                        oder ist Jessie das Problem?

                        M Offline
                        M Offline
                        Metzid
                        schrieb am zuletzt editiert von Homoran
                        #16

                        @homoran Hallo
                        ich habe nochmals mit dem Fix probiert wie beim Backup sagt er es ist alles secessfull

                        pi@piiobroker:~ $ curl -fsL https://iobroker.net/fix.sh | bash -
                        library: loaded
                        Library version=2022-12-09
                        
                        ==========================================================================
                        
                            Welcome to the ioBroker installation fixer!
                            Script version: 2023-04-02
                        
                            You might need to enter your password a couple of times.
                        
                        ==========================================================================
                        
                        
                        ==========================================================================
                            Installing prerequisites (1/5)
                        ==========================================================================
                        
                        Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                        Hit:2 http://deb.debian.org/debian bullseye InRelease
                        Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
                        Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                        Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                        Fetched 44.1 kB in 3s (16.2 kB/s)
                        Reading package lists... Done
                        Installed gcc-c++
                        
                        ==========================================================================
                            Checking ioBroker user and directory permissions (2/5)
                        ==========================================================================
                        
                        Created /etc/sudoers.d/iobroker
                        Fixing directory permissions...
                        
                        ==========================================================================
                            Check and cleanup npm temporary directories (3/5)
                        ==========================================================================
                        
                        Done.
                        
                        ==========================================================================
                            Database maintenance (4/5)
                        ==========================================================================
                        
                        Checking for uncompressed JSONL databases... This might take a while!
                        
                        Compressing /opt/iobroker/iobroker-data/states.jsonl
                        Cannot compress states.jsonl: Error: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                            at JsonlDB.open (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@alcalzone/jsonl-db/build/lib/db.js:185:19)
                            at async compressDB (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:37:9)
                            at async main (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:78:17)
                        Compressing /opt/iobroker/iobroker-data/objects.jsonl
                        Cannot compress objects.jsonl: Error: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                            at JsonlDB.open (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@alcalzone/jsonl-db/build/lib/db.js:185:19)
                            at async compressDB (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:37:9)
                            at async main (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:93:17)
                        No relevant JSONL files found to compress, skip
                        
                        ==========================================================================
                            Checking autostart (5/5)
                        ==========================================================================
                        
                        Enabling autostart...
                        Autostart enabled!
                        
                        ==========================================================================
                        
                            Your installation was fixed successfully
                            Run iobroker start to start ioBroker again!
                        
                        ==========================================================================
                        
                        pi@piiobroker:~ $ cd /opt/iobroker
                        pi@piiobroker:/opt/iobroker $ iobroker start
                        pi@piiobroker:/opt/iobroker $ ps -A | grep iobroke
                            515 ?        00:02:05 iobroker.js-con
                        pi@piiobroker:/opt/iobroker $
                        

                        MOD-EDIT: Code in code-tags gesetzt!

                        Auch wenn ich den controller abfrage kommt ein ergebnis zurück, wie kann ich die Versionen von iobroker auf putty abfragen

                        1 Antwort Letzte Antwort
                        0
                        • crunchipC Abwesend
                          crunchipC Abwesend
                          crunchip
                          Forum Testing Most Active
                          schrieb am zuletzt editiert von
                          #17

                          @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                          ich denke er startet nicht wegen deiner Datenbank, jsonl gab es früher noch nicht, denke da musst du umstellen auf file/file

                          umgestiegen von Proxmox auf Unraid

                          M 1 Antwort Letzte Antwort
                          0
                          • crunchipC crunchip

                            @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                            ich denke er startet nicht wegen deiner Datenbank, jsonl gab es früher noch nicht, denke da musst du umstellen auf file/file

                            M Offline
                            M Offline
                            Metzid
                            schrieb am zuletzt editiert von
                            #18

                            @crunchip hallo denke da musst du umstellen auf file/file. Wie kann ich das umstellen. Ist das auf der alten oder neuen Maschine

                            crunchipC 1 Antwort Letzte Antwort
                            0
                            • M Metzid

                              @crunchip hallo denke da musst du umstellen auf file/file. Wie kann ich das umstellen. Ist das auf der alten oder neuen Maschine

                              crunchipC Abwesend
                              crunchipC Abwesend
                              crunchip
                              Forum Testing Most Active
                              schrieb am zuletzt editiert von
                              #19

                              @metzid auf deiner neuen Installation

                              iobroker stop  
                              iobroker setup custom
                              

                              Aber ist aus meiner Sicht nur eine Vermutung das es daran liegt.

                              umgestiegen von Proxmox auf Unraid

                              M 1 Antwort Letzte Antwort
                              0
                              • HomoranH Homoran

                                @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                                liege ich da falsch

                                ja!

                                nodejs ist die Laufzeitumgebung auf die ioBroker aufgesetzt ist.

                                M Offline
                                M Offline
                                Metzid
                                schrieb am zuletzt editiert von
                                #20

                                @homoran danke für die Info. Leider habe ich das alte Betriebsystem bereits versucht upzudaten und danach den iobroker. Aber dann musste ich wieder das alte Image zurückspielen iobroker hat sich auf dem alten System danach micht starten lassen.

                                1 Antwort Letzte Antwort
                                0
                                • crunchipC crunchip

                                  @metzid auf deiner neuen Installation

                                  iobroker stop  
                                  iobroker setup custom
                                  

                                  Aber ist aus meiner Sicht nur eine Vermutung das es daran liegt.

                                  M Offline
                                  M Offline
                                  Metzid
                                  schrieb am zuletzt editiert von
                                  #21

                                  @crunchip pi@piiobroker:/opt/iobroker $ sudo iobroker 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]: f
                                  Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
                                  Port of objects DB(file), default[9001]: f
                                  Input another, please.
                                  Port of objects DB(file), default[9001]:

                                  Das schreibt er gerade was soll ich da einstellen was ist imput another please

                                  Thomas BraunT M crunchipC 3 Antworten Letzte Antwort
                                  0
                                  • M Metzid

                                    @crunchip pi@piiobroker:/opt/iobroker $ sudo iobroker 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]: f
                                    Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
                                    Port of objects DB(file), default[9001]: f
                                    Input another, please.
                                    Port of objects DB(file), default[9001]:

                                    Das schreibt er gerade was soll ich da einstellen was ist imput another please

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #22

                                    @metzid sagte in IOBroker backup auf neue Rasperry übertragen:

                                    sudo iobroker

                                    iobroker NIE in Verbindung mit sudo verwenden.

                                    Fixen:

                                    iob stop
                                    iob fix
                                    iob start
                                    

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    1 Antwort Letzte Antwort
                                    0
                                    • M Metzid

                                      @crunchip pi@piiobroker:/opt/iobroker $ sudo iobroker 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]: f
                                      Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
                                      Port of objects DB(file), default[9001]: f
                                      Input another, please.
                                      Port of objects DB(file), default[9001]:

                                      Das schreibt er gerade was soll ich da einstellen was ist imput another please

                                      M Offline
                                      M Offline
                                      Metzid
                                      schrieb am zuletzt editiert von
                                      #23

                                      @metzid pi@piiobroker:/opt/iobroker $ sudo iobroker 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]: f
                                      Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
                                      Port of objects DB(file), default[9001]: f
                                      Input another, please.
                                      Port of objects DB(file), default[9001]: 9001
                                      Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [file]: f
                                      Host / Unix Socket of states DB (file), default[f]: f
                                      Port of states DB (file), default[9000]: 9000
                                      Host name of this machine [piiobroker]: piiobroker
                                      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

                                      Do you want to migrate objects and states from "jsonl/jsonl" to "file/file" [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"...
                                      Creating backup ...
                                      This can take some time ... please be patient!
                                      host.piiobroker 1626 states saved
                                      host.piiobroker 2188 objects saved
                                      Backup created: /opt/iobroker/backups/2023_04_26-22_20_28_backupiobroker-migration.tar.gz
                                      updating conf/iobroker.json

                                      Connecting to new DB "file" (can take up to 20s) ...
                                      Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
                                      Server Cannot load /opt/iobroker/iobroker-data/states.json: Database file /opt/iobroker/iobroker-data/states.json does not exists.. We try last Backup!
                                      Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
                                      Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                                      Server Cannot load /opt/iobroker/iobroker-data/states.json.bak: Database file /opt/iobroker/iobroker-data/states.json.bak does not exists.. Continue with empty dataset!
                                      Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                                      No connection to databases possible ...

                                      New Database could not be connected. Please check your settings. No settings have been changed.
                                      restoring conf/iobroker.json
                                      pi@piiobroker:/opt/iobroker $

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • M Metzid

                                        @metzid pi@piiobroker:/opt/iobroker $ sudo iobroker 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]: f
                                        Host / Unix Socket of objects DB(file), default[127.0.0.1]: f
                                        Port of objects DB(file), default[9001]: f
                                        Input another, please.
                                        Port of objects DB(file), default[9001]: 9001
                                        Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [file]: f
                                        Host / Unix Socket of states DB (file), default[f]: f
                                        Port of states DB (file), default[9000]: 9000
                                        Host name of this machine [piiobroker]: piiobroker
                                        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

                                        Do you want to migrate objects and states from "jsonl/jsonl" to "file/file" [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"...
                                        Creating backup ...
                                        This can take some time ... please be patient!
                                        host.piiobroker 1626 states saved
                                        host.piiobroker 2188 objects saved
                                        Backup created: /opt/iobroker/backups/2023_04_26-22_20_28_backupiobroker-migration.tar.gz
                                        updating conf/iobroker.json

                                        Connecting to new DB "file" (can take up to 20s) ...
                                        Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
                                        Server Cannot load /opt/iobroker/iobroker-data/states.json: Database file /opt/iobroker/iobroker-data/states.json does not exists.. We try last Backup!
                                        Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
                                        Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                                        Server Cannot load /opt/iobroker/iobroker-data/states.json.bak: Database file /opt/iobroker/iobroker-data/states.json.bak does not exists.. Continue with empty dataset!
                                        Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                                        No connection to databases possible ...

                                        New Database could not be connected. Please check your settings. No settings have been changed.
                                        restoring conf/iobroker.json
                                        pi@piiobroker:/opt/iobroker $

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #24

                                        @metzid

                                        Nochmal...

                                        iobroker wird nie mit sudo eingeleitet.
                                        Fix das!

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        M 2 Antworten Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @metzid

                                          Nochmal...

                                          iobroker wird nie mit sudo eingeleitet.
                                          Fix das!

                                          M Offline
                                          M Offline
                                          Metzid
                                          schrieb am zuletzt editiert von Homoran
                                          #25

                                          @thomas-braun

                                          pi@piiobroker:/opt/iobroker $ iob fix
                                          library: loaded
                                          Library version=2022-12-09
                                          
                                          ==========================================================================
                                          
                                              Welcome to the ioBroker installation fixer!
                                              Script version: 2023-04-02
                                          
                                              You might need to enter your password a couple of times.
                                          
                                          ==========================================================================
                                          
                                          
                                          ==========================================================================
                                              Installing prerequisites (1/5)
                                          ==========================================================================
                                          
                                          Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                                          Hit:2 http://deb.debian.org/debian bullseye InRelease
                                          Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
                                          Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                                          Reading package lists... Done
                                          Installed gcc-c++
                                          
                                          ==========================================================================
                                              Checking ioBroker user and directory permissions (2/5)
                                          ==========================================================================
                                          
                                          Created /etc/sudoers.d/iobroker
                                          Fixing directory permissions...
                                          
                                          ==========================================================================
                                              Check and cleanup npm temporary directories (3/5)
                                          ==========================================================================
                                          
                                          Done.
                                          
                                          ==========================================================================
                                              Database maintenance (4/5)
                                          ==========================================================================
                                          
                                          Checking for uncompressed JSONL databases... This might take a while!
                                          
                                          Compressing /opt/iobroker/iobroker-data/states.jsonl
                                          Compressing /opt/iobroker/iobroker-data/objects.jsonl
                                          Compressed 2 JSONL files. Done
                                          
                                          ==========================================================================
                                              Checking autostart (5/5)
                                          ==========================================================================
                                          
                                          Enabling autostart...
                                          Autostart enabled!
                                          
                                          ==========================================================================
                                          
                                              Your installation was fixed successfully
                                              Run iobroker start to start ioBroker again!
                                          
                                          ==========================================================================
                                          
                                          pi@piiobroker:/opt/iobroker $ iob start
                                          

                                          MOD-EDIT: Code in code-tags gesetzt!

                                          leider über browser nicht erreichbar

                                          crunchipC 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          777

                                          Online

                                          32.5k

                                          Benutzer

                                          81.6k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe