Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backup lässt sich nicht installieren

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Backup lässt sich nicht installieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • BananaJoe
      BananaJoe Most Active last edited by BananaJoe

      @seide-th sagte in Backup lässt sich nicht installieren:

      @thomas-braun
      Würde ich ja auch gerne durchführen. Aber bisher hat es mit den oben genannten Befehlen nicht funktioniert und weitere kenne ich nicht.

      https://letmegooglethat.com/?q=Ubuntu+20.04+Upgrade+auf+22.04.

      1 Reply Last reply Reply Quote 0
      • S
        Seide Th @Homoran last edited by

        @homoran ok
        ich habe es jetzt mal so ausgeführt wie beschrieben

        thorsten@vm-iobroker02:/opt/iobroker$ cd /opt/iobroker
        thorsten@vm-iobroker02:/opt/iobroker$ npm cache clean
        npm error As of npm@5, the npm cache self-heals from corruption issues
        npm error   by treating integrity mismatches as cache misses.  As a result,
        npm error   data extracted from the cache is guaranteed to be valid.  If you
        npm error   want to make sure everything is consistent, use `npm cache verify`
        npm error   instead.  Deleting the cache can only make npm go slower, and is
        npm error   not likely to correct any problems you may be encountering!
        npm error
        npm error   On the other hand, if you're debugging an issue with the installer,
        npm error   or race conditions that depend on the timing of writing to an empty
        npm error   cache, you can use `npm install --cache /tmp/empty-cache` to use a
        npm error   temporary cache instead of nuking the actual one.
        npm error
        npm error   If you're sure you want to delete the entire cache, rerun this command
        npm error   with --force.
        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-02-05T15_14_28_440Z-debug-0.log
        thorsten@vm-iobroker02:/opt/iobroker$
        
        

        Leider keine Änderung
        VG

        1 Reply Last reply Reply Quote 0
        • S
          Seide Th @Thomas Braun last edited by

          @thomas-braun said in Backup lässt sich nicht installieren:

          iob add backitup --host vm-iobroker02 --omit=dev

          Ich habe es jetzt auch mal ohne sudo versucht, leider ohne eine Änderung
          und die iob habe ich auch mal durchgeführt. Anbei die Antworten vom System

          thorsten@vm-iobroker02:/$ iob update
          Used repository: stable
          Cannot read or parse /opt/iobroker/node_modules/@iobroker/js-controller-common-db/build/esm/lib/common//../node_modules/iobroker.backitup/io-package.json: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
          Cannot read or parse /opt/iobroker/node_modules/@iobroker/js-controller-common-db/build/esm/lib/common//../node_modules/iobroker.backitup/io-package.json: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
          Adapter    "admin"        : 7.4.10   , installed 7.4.10
          Adapter    "bydbatt"      : 1.1.0    , installed 1.1.0
          Adapter    "bydhvs"       : 1.5.0    , installed 1.5.0
          Adapter    "daswetter"    : 3.2.2    , installed 3.1.16 [Updatable]
          Adapter    "discovery"    : 5.0.0    , installed 5.0.0
          Adapter    "email"        : 1.3.1    , installed 1.3.1
          Adapter    "energiefluss" : 3.6.2    , installed 3.6.2
          Adapter    "go-e"         : 1.0.41   , installed 1.0.29 [Updatable]
          Adapter    "hm-rega"      : 5.1.0    , installed 5.1.0
          Adapter    "hm-rpc"       : 2.0.2    , installed 2.0.2
          Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
          Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
          Adapter    "icons-material-png": 0.1.0, installed 0.1.0
          Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
          Adapter    "icons-mfd-png": 1.2.1    , installed 1.2.1
          Adapter    "icons-mfd-svg": 1.2.0    , installed 1.2.0
          Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
          Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
          Adapter    "iqontrol"     : 3.0.0    , installed 3.0.0
          Adapter    "javascript"   : 8.8.3    , installed 8.8.3
          Controller "js-controller": 7.0.6    , installed 7.0.6
          Adapter    "lovelace"     : 4.1.10   , installed 4.1.10
          Adapter    "mqtt"         : 6.1.2    , installed 6.1.2
          Adapter    "net-tools"    : 1.0.11   , installed 0.2.0  [Updatable]
          Adapter    "pi-hole"      : 1.3.6    , installed 1.3.6
          Adapter    "ping"         : 1.6.2    , installed 1.6.2
          Adapter    "plenticore"   : 2.2.0    , installed 2.2.0
          Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
          Adapter    "socketio"     : 6.7.1    , installed 6.7.1
          Adapter    "sonoff"       : 3.1.2    , installed 3.1.2
          Adapter    "squeezeboxrpc": 1.5.2    , installed 1.5.2
          Adapter    "synology"     : 3.1.0    , installed 3.1.0
          Adapter    "tesla-motors" : 1.3.2    , installed 1.3.2
          Adapter    "tr-064"       : 4.3.0    , installed 4.3.0
          Adapter    "unifi"        : 0.7.0    , installed 0.7.0
          Adapter    "viessmannapi" : 2.3.0    , installed 2.3.0
          Adapter    "vis"          : 1.5.6    , installed 1.5.6
          Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
          Adapter    "vis-hqwidgets": 1.5.1    , installed 1.5.1
          Adapter    "vis-icontwo"  : 1.11.0   , installed 1.11.0
          Adapter    "vis-inventwo" : 3.3.4    , installed 3.3.4
          Adapter    "vis-lcars"    : 1.1.1    , installed 1.1.1
          Adapter    "vis-material-advanced": 1.7.4, installed 1.7.4
          Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
          Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
          Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
          Adapter    "web"          : 6.2.5    , installed 6.2.5
          Adapter    "ws"           : 2.6.2    , installed 2.6.2
          thorsten@vm-iobroker02:/$ iob upgrade
          Cannot upgrade: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
          thorsten@vm-iobroker02:/$ iob add backitup --host vm-iobroker02 --omit=dev
          host.vm-iobroker02 install adapter backitup
          host.vm-iobroker02 error: reading io-package.json /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
          thorsten@vm-iobroker02:/$
          
          

          VG

          Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Seide Th last edited by Thomas Braun

            @seide-th sagte in Backup lässt sich nicht installieren:

            /opt/iobroker/node_modules/iobroker.backitup/io-package.json

            Versuch mal die Rosskur:

            rm /opt/iobroker/node_modules/iobroker.backitup/io-package.json
            iob update 
            iob add backitup
            

            Und stell dich in dein /home, nicht in / herumgeistern. Da hast du nix verloren als user.

            S 1 Reply Last reply Reply Quote 1
            • Homoran
              Homoran Global Moderator Administrators @Seide Th last edited by

              @seide-th sagte in Backup lässt sich nicht installieren:

              leider ohne eine Änderung

              hast du es im richtigen Verzeichnis ausgeführt und dann der Anweisung gemäß mit --force?

              S 1 Reply Last reply Reply Quote 0
              • S
                Seide Th @Homoran last edited by

                @homoran Ja ich war im richtigen Verzeichnis, mit dem --force hat er was ausgeführt und keine Fehlermeldung gebracht.
                Leider konnte ich Backup nicht installieren
                VG

                1 Reply Last reply Reply Quote 0
                • S
                  Seide Th @Thomas Braun last edited by

                  @thomas-braun
                  ich habe die Befehle ausgeführt
                  es kommt folgende Meldung

                  host.vm-iobroker02 install adapter backitup
                  host.vm-iobroker02 error: reading io-package.json /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
                  thorsten@vm-iobroker02:/opt/iobroker$
                  
                  

                  VG

                  Thomas Braun mcm1957 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Seide Th last edited by

                    @seide-th sagte in Backup lässt sich nicht installieren:

                    ich habe die Befehle ausgeführt

                    Bitte vollständige Ein- wie Ausgaben inkl. LogInPrompt zeigen, keine Nacherzählungen.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Seide Th @Thomas Braun last edited by

                      @thomas-braun
                      ok, anbei die Daten

                      thorsten@vm-iobroker02:/opt/iobroker$ rm /opt/iobroker/node_modules/iobroker.backitup/io-package.json
                      rm: remove write-protected regular empty file '/opt/iobroker/node_modules/iobroker.backitup/io-package.json'?
                      thorsten@vm-iobroker02:/opt/iobroker$ iob update
                      Used repository: stable
                      Cannot read or parse /opt/iobroker/node_modules/@iobroker/js-controller-common-db/build/esm/lib/common//../node_modules/iobroker.backitup/io-package.json: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
                      Cannot read or parse /opt/iobroker/node_modules/@iobroker/js-controller-common-db/build/esm/lib/common//../node_modules/iobroker.backitup/io-package.json: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
                      Adapter    "admin"        : 7.4.10   , installed 7.4.10
                      Adapter    "bydbatt"      : 1.1.0    , installed 1.1.0
                      Adapter    "bydhvs"       : 1.5.0    , installed 1.5.0
                      Adapter    "daswetter"    : 3.2.2    , installed 3.1.16 [Updatable]
                      Adapter    "discovery"    : 5.0.0    , installed 5.0.0
                      Adapter    "email"        : 1.3.1    , installed 1.3.1
                      Adapter    "energiefluss" : 3.6.2    , installed 3.6.2
                      Adapter    "go-e"         : 1.0.41   , installed 1.0.29 [Updatable]
                      Adapter    "hm-rega"      : 5.1.0    , installed 5.1.0
                      Adapter    "hm-rpc"       : 2.0.2    , installed 2.0.2
                      Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
                      Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
                      Adapter    "icons-material-png": 0.1.0, installed 0.1.0
                      Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
                      Adapter    "icons-mfd-png": 1.2.1    , installed 1.2.1
                      Adapter    "icons-mfd-svg": 1.2.0    , installed 1.2.0
                      Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
                      Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
                      Adapter    "iqontrol"     : 3.0.0    , installed 3.0.0
                      Adapter    "javascript"   : 8.8.3    , installed 8.8.3
                      Controller "js-controller": 7.0.6    , installed 7.0.6
                      Adapter    "lovelace"     : 4.1.10   , installed 4.1.10
                      Adapter    "mqtt"         : 6.1.2    , installed 6.1.2
                      Adapter    "net-tools"    : 1.0.11   , installed 0.2.0  [Updatable]
                      Adapter    "pi-hole"      : 1.3.6    , installed 1.3.6
                      Adapter    "ping"         : 1.6.2    , installed 1.6.2
                      Adapter    "plenticore"   : 2.2.0    , installed 2.2.0
                      Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
                      Adapter    "socketio"     : 6.7.1    , installed 6.7.1
                      Adapter    "sonoff"       : 3.1.2    , installed 3.1.2
                      Adapter    "squeezeboxrpc": 1.5.2    , installed 1.5.2
                      Adapter    "synology"     : 3.1.0    , installed 3.1.0
                      Adapter    "tesla-motors" : 1.3.2    , installed 1.3.2
                      Adapter    "tr-064"       : 4.3.0    , installed 4.3.0
                      Adapter    "unifi"        : 0.7.0    , installed 0.7.0
                      Adapter    "viessmannapi" : 2.3.0    , installed 2.3.0
                      Adapter    "vis"          : 1.5.6    , installed 1.5.6
                      Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
                      Adapter    "vis-hqwidgets": 1.5.1    , installed 1.5.1
                      Adapter    "vis-icontwo"  : 1.11.0   , installed 1.11.0
                      Adapter    "vis-inventwo" : 3.3.4    , installed 3.3.4
                      Adapter    "vis-lcars"    : 1.1.1    , installed 1.1.1
                      Adapter    "vis-material-advanced": 1.7.4, installed 1.7.4
                      Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
                      Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
                      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                      Adapter    "web"          : 6.2.5    , installed 6.2.5
                      Adapter    "ws"           : 2.6.2    , installed 2.6.2
                      thorsten@vm-iobroker02:/opt/iobroker$ iob add backitup
                      host.vm-iobroker02 install adapter backitup
                      host.vm-iobroker02 error: reading io-package.json /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
                      thorsten@vm-iobroker02:/opt/iobroker$
                      
                      

                      VG

                      1 Reply Last reply Reply Quote 0
                      • mcm1957
                        mcm1957 @Seide Th last edited by mcm1957

                        @seide-th

                        Also für mich sieht es so aus als wäre die Datei io-package.json defekt.

                        Ich würde dir raten, den Adapter zu deinstallieren - wohlgemerkt den Adapter und nicht nur die Instanz.

                        Anschließend kontrolliere, dass /opt/iobroker/node_module/iobroker.backitup/... wirklich verschwunden ist.

                        DANN installiere den Adapter neu.

                        Da bei einer Installation immer zuerst nachgesehen wird, welche Version aktuell installiert ist - und das wegen der defekten Datei nicht funktioniert wird die Installation / Reinstallation m.E. abgebrochen.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Seide Th @mcm1957 last edited by

                          @mcm1957 super das war es
                          ich habe das Verzeichnis mit dem Programm MC gelöscht und dann konnte ich den Adapter installieren. Dann richte ich das Backup mal neu ein.
                          Herzlichen dank an alle für die Hilfe

                          mcm1957 1 Reply Last reply Reply Quote 0
                          • mcm1957
                            mcm1957 @Seide Th last edited by

                            @seide-th
                            denk nur drüber nach wieso die Datei defekt wurde. Das passiert normalerweisecnicht v selbst. Stromausfall od Abbruch einer Installation können da genauso mitspuelen wie eibe angeschlagene SD Karte.

                            Aber zum gesmten Gesundheitszustand gibts brssere Helfer als mich. iob diag ist da minimal mal angesagt ... wenn noch nicht getan.

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

                              Just for INfo:

                              Ich habe einen feature request gesteklt damit der js-controller solche Probleme ev. ohne manuellen Eingriff fixen kann

                              https://github.com/ioBroker/ioBroker.js-controller/issues/3017

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

                              open [enhancement]: Allow reinstall of adapter if io-packags.json is corrupt #3017

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              918
                              Online

                              31.9k
                              Users

                              80.2k
                              Topics

                              1.3m
                              Posts

                              5
                              24
                              531
                              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