Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. iobroker restore 0 funktioniert nicht

    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

    iobroker restore 0 funktioniert nicht

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

      @funkytown

      Inkonsistente Installation von nodeJS / npm.
      Bring das zuerst mal in Ordnung.

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @funkytown last edited by

        @funkytown sagte in iobroker restore 0 funktioniert nicht:

        nun komme nicht mehr auf die Web-Oberfläche vom iobroker.

        und warum dann dieser Threadtitel?

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

          @thomas-braun
          muss ich um die Inkonsistenz zu beheben die Pakete neu installieren oder gibt es da ein fix was ich laufen lassen kann.

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

            @funkytown

            Du kannst in meiner Signatur schauen, wie man nodejs (und damit auch npm) richtig installiert.

            funkytown 1 Reply Last reply Reply Quote 0
            • funkytown
              funkytown @Homoran last edited by

              @homoran
              da ein Restore nicht ging, vermutete ich dass man über diese Fehlerbeschreibung eher an die eigentliche Ursache kommt.
              Kann/soll ich den Titel ändern?

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

                @thomas-braun
                Da scheint ja einiges kaputt zu sein!

                markus@rpi:/opt/iobroker $ npm ls | grep -E 'github|ERR'
                [sudo] Passwort für markus:
                ├── iobroker.tr-064-community@2.0.3 invalid: "https://github.com/iobroker-community-adapters/ioBroker.tr-064-community/tarball/5aff47d0395896a02c70a2a97910c5a0e7006cef" from the root project
                npm ERR! code ELSPROBLEMS
                npm ERR! extraneous: event-target-shim@5.0.1 /opt/iobroker/node_modules/event-target-shim
                npm ERR! invalid: iobroker.openweathermap@0.3.0 /opt/iobroker/node_modules/iobroker.openweathermap
                npm ERR! invalid: iobroker.tr-064-community@2.0.3 /opt/iobroker/node_modules/iobroker.tr-064-community
                npm ERR! extraneous: negotiator@0.6.3 /opt/iobroker/node_modules/negotiator
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2022-09-16T21_57_52_169Z-debug-0.log
                markus@rpi:/opt/iobroker $ 
                markus@rpi:/opt/iobroker $ npm ls
                iobroker.inst@2.0.3 /opt/iobroker
                ├── colors@1.4.0
                ├── event-target-shim@5.0.1 extraneous
                ├── fs-extra@7.0.1
                ├── iobroker.admin@6.2.20
                ├── iobroker.alexa2@3.19.7
                ├── iobroker.backitup@2.4.10
                ├── iobroker.cloud@4.2.2
                ├── iobroker.cul@2.0.2
                ├── iobroker.discovery@3.0.5
                ├── iobroker.dwd@2.8.3
                ├── iobroker.email@1.1.3
                ├── iobroker.history@2.2.0
                ├── iobroker.hm-rega@3.0.40
                ├── iobroker.hm-rpc@1.15.12
                ├── iobroker.icons-mfd-svg@1.1.0
                ├── iobroker.info@1.9.19
                ├── iobroker.iot@1.11.8
                ├── iobroker.javascript@6.0.0
                ├── iobroker.js-controller@4.0.23
                ├── iobroker.linux-control@1.1.5
                ├── iobroker.mqtt@4.0.7
                ├── iobroker.node-red@3.3.1
                ├── iobroker.openweathermap@0.3.0 invalid: "0.2.5" from the root project
                ├── iobroker.ping@1.5.3
                ├── iobroker.pollenflug@1.0.6
                ├── iobroker.pushover@3.0.2
                ├── iobroker.radar2@2.0.3
                ├── iobroker.rpi2@1.3.2
                ├── iobroker.scenes@2.3.9
                ├── iobroker.simple-api@2.7.0
                ├── iobroker.socketio@4.2.0
                ├── iobroker.synology@2.1.9
                ├── iobroker.tankerkoenig@2.1.1
                ├── iobroker.telegram@1.13.0
                ├── iobroker.text2command@2.2.2
                ├── iobroker.tr-064-community@2.0.3 invalid: "https://github.com/iobroker-community-adapters/ioBroker.tr-064-community/tarball/5aff47d0395896a02c70a2a97910c5a0e7006cef" from the root project
                ├── iobroker.tr-064@4.2.16
                ├── iobroker.trashschedule@2.0.3
                ├── iobroker.vis-material-advanced@1.7.2
                ├── iobroker.vis@1.4.15
                ├── iobroker.web@4.3.0
                ├── iobroker.withings@0.0.9
                ├── iobroker.yahka@0.13.1
                ├── iobroker@2.0.3
                ├── negotiator@0.6.3 extraneous
                ├── semver@5.7.1
                └── yargs@7.1.2
                
                npm ERR! code ELSPROBLEMS
                npm ERR! extraneous: event-target-shim@5.0.1 /opt/iobroker/node_modules/event-target-shim
                npm ERR! invalid: iobroker.openweathermap@0.3.0 /opt/iobroker/node_modules/iobroker.openweathermap
                npm ERR! invalid: iobroker.tr-064-community@2.0.3 /opt/iobroker/node_modules/iobroker.tr-064-community
                npm ERR! extraneous: negotiator@0.6.3 /opt/iobroker/node_modules/negotiator
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2022-09-16T21_59_58_839Z-debug-0.log
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @funkytown last edited by

                  @funkytown sagte in iobroker restore 0 funktioniert nicht:

                  iobroker.tr-064-community

                  Kannst du deinstallieren, gibt es nicht mehr.

                  iobroker.openweathermap

                  Nochmal drüber installieren, wenn nodejs sauber ist.

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

                    @thomas-braun sagte in iobroker restore 0 funktioniert nicht:

                    iobroker.tr-064-community

                    Irgendwie ist da der Wurm drin

                    markus@rpi:/opt/iobroker $ iobroker del tr-064-community
                    Delete adapter "tr-064-community"
                    host.rpi Counted 1 instances of tr-064-community
                    host.rpi Counted 2 meta of tr-064-community
                    host.rpi Counted 1 adapter for tr-064-community
                    host.rpi Counted 5 devices of tr-064-community
                    host.rpi Counted 9 channels of tr-064-community
                    host.rpi Counted 133 states of tr-064-community
                    host.rpi Counted 15 states of system.adapter.tr-064-community
                    host.rpi Counted 133 states (io.tr-064-community.*) from states
                    host.rpi Counted 16 states (system.adapter.tr-064-community.*) from states
                    host.rpi file tr-064-community.admin deleted
                    host.rpi object tr-064-community deleted
                    host.rpi object tr-064-community.admin deleted
                    host.rpi Deleting 166 object(s).
                    host.rpi Deleting 149 state(s).
                    Error deleting adapter tr-064-community from disk: host.rpi: Cannot uninstall iobroker.tr-064-community: 217
                    You might have to delete it yourself!
                    markus@rpi:/opt/iobroker $
                    
                    markus@rpi:/opt/iobroker $ iobroker del openweathermap
                    Delete adapter "openweathermap"
                    host.rpi object openweathermap deleted
                    host.rpi object openweathermap.admin deleted
                    Error deleting adapter openweathermap from disk: host.rpi: Cannot uninstall iobroker.openweathermap: 217
                    You might have to delete it yourself!
                    markus@rpi:/opt/iobroker $
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active last edited by Thomas Braun

                      @funkytown

                      Ist node und npm sauber? Das vor allem anderen prüfen.

                      Was sagt:

                      sudo ln -s /usr/bin/node /usr/bin/nodejs
                      uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                      

                      Und auch

                      dmesg -T | grep -i ext4
                      
                      funkytown 1 Reply Last reply Reply Quote 0
                      • funkytown
                        funkytown @Thomas Braun last edited by

                        @thomas-braun

                        markus@rpi:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                        ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
                        markus@rpi:/opt/iobroker $
                        
                        markus@rpi:/opt/iobroker $ dmesg -T | grep -i ext4
                        [Fr Sep 16 19:47:41 2022] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:640x480M@60 smsc95xx.macaddr=DC:A6:32:28:5E:37 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/sdb1 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait nosplash plymouth.ignore-serial-consoles
                        [Fr Sep 16 19:47:50 2022] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
                        [Fr Sep 16 19:47:50 2022] VFS: Mounted root (ext4 filesystem) readonly on device 8:17.
                        [Fr Sep 16 19:47:59 2022] EXT4-fs (sdb1): re-mounted. Opts: (null). Quota mode: none.
                        markus@rpi:/opt/iobroker $
                        
                        
                        
                        markus@rpi:/opt/iobroker $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        armv7l
                        /usr/bin/nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        v16.17.0
                        v16.17.0
                        8.15.0
                        4.0.23
                        markus
                        markus adm cdrom sudo audio video plugdev games users input netdev gpio iobroker
                        /opt/iobroker
                        OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                        OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                        OK:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                        OK:4 https://dl.yarnpkg.com/debian stable InRelease
                        Paketlisten werden gelesen… Fertig
                        Abhängigkeitsbaum wird aufgebaut… Fertig
                        Statusinformationen werden eingelesen… Fertig
                        Aktualisierung für 24 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                        nodejs:
                          Installiert:           16.17.0-deb-1nodesource1
                          Installationskandidat: 16.17.0-deb-1nodesource1
                          Versionstabelle:
                         *** 16.17.0-deb-1nodesource1 500
                                500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                                100 /var/lib/dpkg/status
                             12.22.12~dfsg-1~deb11u1 500
                                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                        markus@rpi:/opt/iobroker $
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @funkytown last edited by

                          @funkytown

                          sudo apt update
                          sudo apt full-upgrade
                          iobroker stop
                          sudo reboot
                          
                          funkytown 2 Replies Last reply Reply Quote 0
                          • funkytown
                            funkytown @Thomas Braun last edited by funkytown

                            @thomas-braun sagte in iobroker restore 0 funktioniert nicht:

                            markus@rpi:~ $ sudo apt update
                            [sudo] Passwort für markus:
                            OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                            OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
                            OK:3 https://dl.yarnpkg.com/debian stable InRelease
                            OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease
                            Paketlisten werden gelesen… Fertig
                            Abhängigkeitsbaum wird aufgebaut… Fertig
                            Statusinformationen werden eingelesen… Fertig
                            Aktualisierung für 13 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                            
                            
                            markus@rpi:~ $ sudo apt full-upgrade
                            Paketlisten werden gelesen… Fertig
                            Abhängigkeitsbaum wird aufgebaut… Fertig
                            Statusinformationen werden eingelesen… Fertig
                            Paketaktualisierung (Upgrade) wird berechnet… Fertig
                            Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
                              alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libbluetooth3 libcdio18 libgstreamer-plugins-base0.10-0
                              libgstreamer0.10-0 libnfs12 libxfconf-0-2 lxplug-volume pimixer point-rpi
                            Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
                            Die folgenden Pakete werden ENTFERNT:
                              bluealsa fuse libgc1c2 libpolkit-backend-1-0 raspberrypi-artwork
                            Die folgenden NEUEN Pakete werden installiert:
                              agnostics cups-pk-helper fio flashrom fuse3 gir1.2-notify-0.7 gir1.2-packagekitglib-1.0 gir1.2-polkit-1.0 gir1.2-secret-1
                              gui-pkinst ibverbs-providers libaio1 libboost-iostreams1.74.0 libboost-thread1.74.0 libcupsimage2 libftdi1-2 libfuse3-3 libgc1
                              libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libibverbs1 libnma-common libnma0 libnuma1 librados2 librbd1 librdmacm1
                              lxplug-magnifier lxplug-menu lxplug-netman lxplug-updater lxplug-volumepulse pi-printer-support pixflat-icons
                              printer-driver-escpr pulseaudio-module-bluetooth python3-cups python3-cupshelpers python3-smbc python3-toml rp-bookshelf
                              rpi-eeprom system-config-printer system-config-printer-common system-config-printer-udev
                            Die folgenden Pakete werden aktualisiert (Upgrade):
                              guile-2.2-libs gvfs gvfs-backends gvfs-common gvfs-daemons gvfs-fuse gvfs-libs libpolkit-agent-1-0 libpolkit-gobject-1-0
                              policykit-1 raspberrypi-sys-mods raspberrypi-ui-mods raspi-config
                            13 aktualisiert, 47 neu installiert, 5 zu entfernen und 0 nicht aktualisiert.
                            Es müssen 31,3 MB an Archiven heruntergeladen werden.
                            Nach dieser Operation werden 78,8 MB Plattenplatz zusätzlich benutzt.
                            Möchten Sie fortfahren? [J/n] J
                            Holen:1 http://archive.raspberrypi.org/debian bullseye/main armhf policykit-1 armhf 0.105-31+rpt1+deb11u1 [91,5 kB]
                            ....
                            ....
                            ....
                            Es wurde alles ohne Fehler installiert
                            

                            Jetzt komme ich nach dem reboot mit meinem SSH Client nicht mehr auf den PI.
                            Ich melde mich wieder wenn der PI korrekt hochgefahren ist.

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

                              @funkytown

                              Und schalte den Desktop an der Kiste aus. Da ist ja der ganze GUI-Quatsch drauf.

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

                                @thomas-braun
                                Bin noch nicht dazu gekommen den PI flott zu machen.
                                Das gute daran ist, dass ich/wir jetzt erkennen, dass wir im Haus nicht vom ioBroker abhängig sind. Wir senden meistens (Status)Informationen in Wort und Bild hin und her. Das was wir über Sprachsteuerung im Haus darüber schalten, kann auch alles manuell geschaltet werden 🙂 Gute Erkenntnis!

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

                                  @thomas-braun
                                  mein RPi läuft wieder. Durch den reboot wurde eine falsche UUID in der cmdline.txt eingetragen.

                                  Leider ist der ioBroker immer noch nicht da!

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

                                    @funkytown

                                    Leider kann man da ohne Meldungen immer noch nichts zu sagen.

                                    Welche UUID war es denn? Die werden ja nicht gewürfelt...

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

                                      @thomas-braun
                                      also jetzt blicke ich da garnicht mehr durch. Ich bin jetzt an via ssh an dem betroffenen System angemeldet und die cmdline.txt und fstab schaut jetzt so aus. Wo ist mein Eintrag geblieben. Mir scheint als ob ich in einer anderen Baumstruktur also einem anderen /etc/boot bin.

                                      markus@rpi:/boot $ cat cmdline.txt
                                      dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/sdb1 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait nosplash plymouth.ignore-serial-consoles
                                      
                                      markus@rpi:/boot $ cat /etc/fstab
                                      proc            /proc           proc    defaults          0       0
                                      PARTUUID=02211fe5-01  /boot           vfat    defaults,flush    0       2
                                      #PARTUUID=924c1207-02  /               ext4    defaults,noatime  0       1
                                      # a swapfile is not a swap partition, no line here
                                      #   use  dphys-swapfile swap[on|off]  for that
                                      /dev/sdb1       /               ext4    defaults,noatime  0       1
                                      /dev/sdb2       swap            swap    defaults          0       0
                                      
                                      

                                      Ich bin jetzt mal für 3 Std. weg.

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

                                        @funkytown sagte in iobroker restore 0 funktioniert nicht:

                                        root=/dev/sdb1

                                        Keine Ahnung was du da wie warum treibst, jedenfalls ist der Eintrag
                                        root=/dev/sdb1
                                        absolut atypisch. Vor allendingen sdb1
                                        Für gewöhnlich wird da die UUID aus

                                        blkid
                                        

                                        eingetragen.

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

                                          @thomas-braun
                                          Das System läuft ja wieder nach dem full-upgrade.

                                          markus@rpi:/opt/iobroker $ blkid
                                          /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="0C61-73F5" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="02211fe5-01"
                                          /dev/mmcblk0p2: LABEL="rootfs" UUID="43f2d0bb-83be-464f-94d0-9a751f376c64" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="02211fe5-02"
                                          /dev/sda1: LABEL="ESD-USB" UUID="5CD7-2DC8" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="292eb410-01"
                                          /dev/sdb1: UUID="bbe67a8e-80a1-4c79-992c-a11ebfacecfe" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="3b18e43a-01"
                                          /dev/sdb2: UUID="c25aeb0d-0033-4d60-a8a9-a914652a27c1" TYPE="swap" PARTUUID="3b18e43a-02"
                                          
                                          
                                          
                                          
                                          markus@rpi:/opt/iobroker $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                          armv7l
                                          /usr/bin/nodejs
                                          /usr/bin/node
                                          /usr/bin/npm
                                          v16.17.0
                                          v16.17.0
                                          8.15.0
                                          4.0.23
                                          markus
                                          markus adm cdrom sudo audio video plugdev games users input netdev lpadmin gpio iobroker
                                          /opt/iobroker
                                          OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                          OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                          OK:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                                          OK:4 https://dl.yarnpkg.com/debian stable InRelease
                                          Paketlisten werden gelesen… Fertig
                                          Abhängigkeitsbaum wird aufgebaut… Fertig
                                          Statusinformationen werden eingelesen… Fertig
                                          Alle Pakete sind aktuell.
                                          nodejs:
                                           Installiert:           16.17.0-deb-1nodesource1
                                           Installationskandidat: 16.17.0-deb-1nodesource1
                                           Versionstabelle:
                                          *** 16.17.0-deb-1nodesource1 500
                                                 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                                                 100 /var/lib/dpkg/status
                                              12.22.12~dfsg-1~deb11u1 500
                                                 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @funkytown last edited by

                                            @funkytown

                                            Ich würde da halt die UUID in die cmdline.txt eintragen. Dann springt dir die boot-Partition auch nicht weg.

                                            Zum iobroker: Logs? Kommandozeile?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            558
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            61
                                            2396
                                            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