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
      Nochmal

      for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
      
      funkytown 2 Replies Last reply Reply Quote 0
      • funkytown
        funkytown @Thomas Braun last edited by

        @thomas-braun
        Zwischendurch einmal ein DANKE an dich!

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

          @thomas-braun

          markus@rpi:~ $ iobroker upgrade admin --debug
          
          This upgrade of "admin" will introduce the following changes:
          ==========================================================================
          -> 6.2.22:
          Corrected admin4 adapter settings
          
          -> 6.2.21:
          Corrected small JSON config issue
          ==========================================================================
          
          Would you like to upgrade admin from @6.2.20 to @6.2.22 now? [(y)es, (n)o]: y
          Update admin from @6.2.20 to @6.2.22
          NPM version: 8.15.0
          Installing iobroker.admin@6.2.22... (System call)
          npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
          npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
          npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
          npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
          npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
          npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
          npm WARN deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10.
          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
          npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
          npm WARN deprecated axios@0.27.0: Formdata complete broken, incorrect build size
          npm ERR! code ENOTEMPTY
          npm ERR! syscall rename
          npm ERR! path /opt/iobroker/node_modules/node-red-node-email/node_modules/encoding-japanese/src
          npm ERR! dest /opt/iobroker/node_modules/.node-red-node-email-1lk8B7Gi/node_modules/encoding-japanese/src
          npm ERR! errno -39
          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/node-red-node-email/node_modules/encoding-japanese/src' -> '/opt/iobroker/node_modules/.node-red-node-email-1lk8B7Gi/node_modules/encoding-japanese/src'
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-09-22T20_27_53_207Z-debug-0.log
          host.rpi Cannot install iobroker.admin@6.2.22: 217
          markus@rpi:~ $
          
          
          mikeal created this issue in request/request

          open Request’s Past, Present and Future #3142

          mikeal created this issue in request/request

          open Request’s Past, Present and Future #3142

          Qix- created this issue in visionmedia/debug

          closed ReDos Vulnerability Regression Visibility Notice #797

          Qix- created this issue in visionmedia/debug

          closed ReDos Vulnerability Regression Visibility Notice #797

          Qix- created this issue in visionmedia/debug

          closed ReDos Vulnerability Regression Visibility Notice #797

          mikeal created this issue in request/request

          open Request’s Past, Present and Future #3142

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

            @funkytown

            Führst du das nicht aus?

            for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
            

            Das sollte das eigentlich alles bereinigen.

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

              @thomas-braun
              Das habe ich jedes mal ausgeführt. Muss das evtl als sudo ausgeführt werden?

              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:

                Muss das evtl als sudo ausgeführt werden?

                Wenn du die Rechte nicht zerschossen hast nicht.

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

                  @thomas-braun
                  eben wird das erste mal was ausgegeben! Muss wohl tatsächlich unter sudo ausgeführt werden!

                  ...
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/zconf.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/tiff.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/expat.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/webp/mux.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/webp/demux.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/webp/decode.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/webp/mux_types.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/webp/types.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/webp/encode.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/pnglibconf.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/ffi.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/include/lcms2.h' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/lib/libvips-cpp.so.42' ist nicht möglich: Keine Berechtigung
                  rm: das Entfernen von '/opt/iobroker/node_modules/.sharp-I3mcBL1h/vendor/8.12.2/linux-armv7/lib/glib-2.0/include/glibconfig.h' ist nicht möglich: Keine Berechtigung
                  ...
                  
                  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:

                    ist nicht möglich: Keine Berechtigung

                    Da dürftest du mal als root / mit sudo hantiert haben.

                    iobroker fix ausgeführt?

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

                      @thomas-braun
                      kann ich jetzt mit Sicherheit nicht mehr sagen. Aber ja, das könnte schon bei den vielen Versuchen den Fehler zu beheben in der Vergangenheit passiert sein.

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

                        @funkytown

                        Dann die Version für Erwachsene:

                        for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do sudo rm -rf ${i%%/}; done 
                        
                        funkytown 1 Reply Last reply Reply Quote 0
                        • funkytown
                          funkytown @Thomas Braun last edited by

                          @thomas-braun
                          kann immer noch nicht zugreifen!

                          markus@rpi:~ $ iobroker fix
                          library: loaded
                          Library version=2022-06-15
                          
                          ==========================================================================
                          
                              Welcome to the ioBroker installation fixer!
                              Script version: 2022-06-03
                          
                              You might need to enter your password a couple of times.
                          
                          ==========================================================================
                          
                          
                          ==========================================================================
                              Installing prerequisites (1/3)
                          ==========================================================================
                          
                          [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
                          Installed gcc-c++
                          
                          ==========================================================================
                              Checking ioBroker user and directory permissions (2/3)
                          ==========================================================================
                          
                          Created /etc/sudoers.d/iobroker
                          Fixing directory permissions...
                          
                          ==========================================================================
                              Checking autostart (3/3)
                          ==========================================================================
                          
                          Enabling autostart...
                          Autostart enabled!
                          
                          ==========================================================================
                          
                              Your installation was fixed successfully
                              Run iobroker start to start ioBroker again!
                          
                          ==========================================================================
                          
                          markus@rpi:~ $ iobroker start
                          markus@rpi:~ $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
                          markus@rpi:~ $ iobroker upgrade admin --debug
                          Adapter "admin"          is up to date.
                          markus@rpi:~ $
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @funkytown last edited by

                            @funkytown

                            iobroker update
                            iobroker list instances
                            
                            Glasfaser funkytown 2 Replies Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @Thomas Braun last edited by

                              @thomas-braun

                              habe hier nur kurz reingeschaut ... sehe immer stop .. start.

                              Wurde mal ein Reboot durchgeführt.

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

                                @thomas-braun

                                markus@rpi:~ $ iobroker update
                                #Used repository: stable
                                Adapter    "admin"        : 6.2.22   , installed 6.2.22
                                Adapter    "alexa2"       : 3.19.9   , installed 3.19.9
                                Adapter    "backitup"     : 2.4.12   , installed 2.4.10 [Updatable]
                                Adapter    "cloud"        : 4.2.2    , installed 4.2.2
                                Adapter    "cul"          : 2.0.2    , installed 2.0.2
                                Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                                Adapter    "dwd"          : 2.8.3    , installed 2.8.3
                                Adapter    "email"        : 1.1.3    , installed 1.1.3
                                Adapter    "history"      : 2.2.0    , installed 2.2.0
                                Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                                Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
                                Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                                Adapter    "info"         : 1.9.19   , installed 1.9.19
                                Adapter    "iot"          : 1.11.9   , installed 1.11.8 [Updatable]
                                Adapter    "javascript"   : 6.0.3    , installed 6.0.0  [Updatable]
                                Controller "js-controller": 4.0.23   , installed 4.0.23
                                Adapter    "linux-control": 1.1.3    , installed 1.1.5
                                Adapter    "mqtt"         : 4.0.7    , installed 4.0.7
                                Adapter    "node-red"     : 4.0.0    , installed 3.3.1  [Updatable]
                                Adapter    "openweathermap": 0.3.0   , installed 0.2.5  [Updatable]
                                Adapter    "ping"         : 1.5.3    , installed 1.5.3
                                Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
                                Adapter    "pushover"     : 3.0.3    , installed 3.0.2  [Updatable]
                                Adapter    "radar2"       : 2.0.3    , installed 2.0.3
                                Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                                Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                                Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                                Adapter    "synology"     : 2.1.9    , installed 2.1.9
                                Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
                                Adapter    "telegram"     : 1.14.1   , installed 1.13.0 [Updatable]
                                Adapter    "text2command" : 2.2.2    , installed 2.2.2
                                Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
                                Adapter    "trashschedule": 2.0.3    , installed 2.0.3
                                Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
                                Adapter    "web"          : 4.3.0    , installed 4.3.0
                                Adapter    "withings"     : 0.0.9    , installed 0.0.9
                                Adapter    "ws"           : 1.3.0    , installed 1.3.0
                                Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                                
                                
                                markus@rpi:~ $ iobroker list instances
                                + system.adapter.admin.0                  : admin                 : rpi                                      -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                + system.adapter.alexa2.0                 : alexa2                : rpi                                      -  enabled
                                + system.adapter.alexa2.1                 : alexa2                : rpi                                      -  enabled
                                + system.adapter.backitup.0               : backitup              : rpi                                      -  enabled
                                + system.adapter.discovery.0              : discovery             : rpi                                      -  enabled
                                  system.adapter.dwd.0                    : dwd                   : rpi                                      - disabled
                                + system.adapter.email.0                  : email                 : rpi                                      -  enabled
                                + system.adapter.history.0                : history               : rpi                                      -  enabled
                                + system.adapter.hm-rega.0                : hm-rega               : rpi                                      -  enabled
                                + system.adapter.hm-rpc.0                 : hm-rpc                : rpi                                      -  enabled, port: 0
                                + system.adapter.hm-rpc.1                 : hm-rpc                : rpi                                      -  enabled, port: 0
                                + system.adapter.hm-rpc.2                 : hm-rpc                : rpi                                      -  enabled, port: 0
                                + system.adapter.hm-rpc.3                 : hm-rpc                : rpi                                      -  enabled, port: 0
                                  system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : rpi                                      - disabled
                                + system.adapter.info.0                   : info                  : rpi                                      -  enabled
                                + system.adapter.iot.0                    : iot                   : rpi                                      -  enabled
                                + system.adapter.javascript.0             : javascript            : rpi                                      -  enabled
                                + system.adapter.linux-control.0          : linux-control         : rpi                                      -  enabled
                                + system.adapter.mqtt.0                   : mqtt                  : rpi                                      -  enabled, port: 1883, bind: 0.0.0.0
                                + system.adapter.ping.0                   : ping                  : rpi                                      -  enabled
                                  system.adapter.pollenflug.0             : pollenflug            : rpi                                      - disabled
                                + system.adapter.pushover.0               : pushover              : rpi                                      -  enabled
                                + system.adapter.rpi2.0                   : rpi2                  : rpi                                      -  enabled
                                + system.adapter.scenes.0                 : scenes                : rpi                                      -  enabled
                                  system.adapter.synology.0               : synology              : rpi                                      - disabled, port: 5000
                                + system.adapter.tankerkoenig.0           : tankerkoenig          : rpi                                      -  enabled
                                  system.adapter.telegram.0               : telegram              : rpi                                      - disabled, port: 8443, bind: 0.0.0.0
                                  system.adapter.text2command.0           : text2command          : rpi                                      - disabled
                                + system.adapter.tr-064.0                 : tr-064                : rpi                                      -  enabled
                                  system.adapter.vis-material-advanced.0  : vis-material-advanced : rpi                                      - disabled
                                  system.adapter.vis.0                    : vis                   : rpi                                      - disabled
                                + system.adapter.web.0                    : web                   : rpi                                      -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                  system.adapter.withings.0               : withings              : rpi                                      - disabled
                                  system.adapter.yahka.0                  : yahka                 : rpi                                      - disabled
                                + system.adapter.yahka.1                  : yahka                 : rpi                                      -  enabled
                                
                                + instance is alive
                                markus@rpi:~ $
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @funkytown last edited by

                                  @funkytown

                                  Läuft.
                                  Zieh die updates der anderen Adapter noch nach.

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

                                    @thomas-braun
                                    Der ioBroker ist wieder über Port 8081 erreichbar 🙂
                                    Ich habe jetzt viel gelernt und hoffe, dass ich beim nächsten Mal selbst ein Problem dieser Tragweite lösen kann.

                                    Vielen Dank Thomas Braun!

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

                                      @thomas-braun
                                      Ein Phänomen ist noch vorhanden. Ich muss admin.0 immer starten. Warum passiert das nicht automatisch?

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

                                        @funkytown sagte in iobroker restore 0 funktioniert nicht:

                                        Ich muss admin.0 immer starten. Warum passiert das nicht automatisch?

                                        Wann?

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

                                          @thomas-braun
                                          nach einem reboot des System. War auf 8081 nicht erreichbar, und nach einem Start des admin.0 über die command line funktionierte wieder alles.

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

                                            @thomas-braun
                                            ausserdem ist der alte admin 6.2.20 wieder installiert obwohl doch der 6.2.22 bereits installiert wurde!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            649
                                            Online

                                            31.8k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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