Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. ioBroker Backup wieder einspielen

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ioBroker Backup wieder einspielen

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

      @federal

      iob stop
      iob fix
      cd /opt/iobroker
      sudo -H -u iobroker npm install iobroker.js-controller
      iob start
      
      F 1 Reply Last reply Reply Quote 0
      • F
        federal @Thomas Braun last edited by federal

        @thomas-braun said in ioBroker Backup wieder einspielen:

        @federal

        iob stop
        iob fix
        cd /opt/iobroker
        sudo -H -u iobroker npm install iobroker.js-controller
        iob start
        Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @federal last edited by

          @federal

          Wie immer bei Linux:
          Warten bis wieder eine Eingabezeile erscheint, erst dann ist der Task erledigt.

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

            @thomas-braun said in ioBroker Backup wieder einspielen:

            @federal

            Wie immer bei Linux:
            Warten bis wieder eine Eingabezeile erscheint, erst dann ist der Task erledigt.

              Your installation was fixed successfully
                Run iobroker start to start ioBroker again!
            
            ==========================================================================
            
            pi@raspberrypi:~ $ cd /opt/iobroker
            pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-contr                     oller
            npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now                      a built-in Node module. If you've depended on crypto, you should switch to the o                     ne that's built-in.
            npm WARN deprecated @types/bl@5.1.0: This is a stub types definition. bl provide                     s its own type definitions, so you do not need this installed.
            npm WARN deprecated request-promise-native@1.0.9: request-promise-native has bee                     n 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 b                     ecause it extends the now deprecated request package, see https://github.com/req                     uest/request/issues/3142
            npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JS                     ON 3
            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 debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 hav                     e a low-severity ReDos regression when used in a Node.js environment. It is reco                     mmended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/iss                     ues/797)
            npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 hav                     e a low-severity ReDos regression when used in a Node.js environment. It is reco                     mmended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/iss                     ues/797)
            npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 hav                     e a low-severity ReDos regression when used in a Node.js environment. It is reco                     mmended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/iss                     ues/797)
            npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy.                      new code should use the URLSearchParams API instead.
            npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older v                     ersions may use Math.random() in certain circumstances, which is known to be pro                     blematic.  See https://v8.dev/blog/math-random for details.
            npm WARN deprecated uuid@3.3.2: Please upgrade  to version 7 or higher.  Older v                     ersions may use Math.random() in certain circumstances, which is known to be pro                     blematic.  See https://v8.dev/blog/math-random for details.
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://git                     hub.com/request/request/issues/3142
            npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21                     .1. For more information, see https://github.com/axios/axios/pull/3410
            (##################) ⠸ reify:aws-sdk: timing reifyNode:node_modules/typescript
            (##################) ⠼ reify:aws-sdk: timing reifyNode:node_modules/typescript C                     (##################) ⠼ reify:aws-sdk: timing reifyNode:node_modules/typescript C                     (##################) ⠼ reify:aws-sdk: timing reifyNode:node_modules/typescript C                     (##################) ⠼ reify:aws-sdk: timing reifyNode:node_modules/typescript C                     (##################) ⠼ reify:aws-sdk: timing reifyNode:node_modules/typescript C                     npm ERR! path /opt/iobroker/node_modules/iobroker.javascript
            npm ERR! command failed
            npm ERR! signal SIGINT
            npm ERR! command sh -c -- node ./install/installTypings.js
            npm ERR! Installing NodeJS typings...
            npm ERR! latest @types: 18, installed node: 16
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2023-04-04T16_30_22_609Z-debug-0.log
            pi@raspberrypi:/opt/iobroker $ iob start
            pi@raspberrypi:/opt/iobroker $ iob protokol
            node:internal/modules/cjs/loader:1024
              throw err;
              ^
            
            Error: Cannot find module 'buffer-equal-constant-time'
            Require stack:
            - /opt/iobroker/node_modules/jwa/index.js
            - /opt/iobroker/node_modules/jws/lib/sign-stream.js
            - /opt/iobroker/node_modules/jws/index.js
            - /opt/iobroker/node_modules/jsonwebtoken/decode.js
            - /opt/iobroker/node_modules/jsonwebtoken/index.js
            - /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js
            - /opt/iobroker/node_modules/@iobroker/js-controller-common/index.js
            - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
            - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
                at Function.Module._load (node:internal/modules/cjs/loader:866:27)
                at Module.require (node:internal/modules/cjs/loader:1093:19)
                at require (node:internal/modules/cjs/helpers:108:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/jwa/index.js:1:19)
                at Module._compile (node:internal/modules/cjs/loader:1191:14)
                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                at Module.load (node:internal/modules/cjs/loader:1069:32)
                at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                at Module.require (node:internal/modules/cjs/loader:1093:19) {
              code: 'MODULE_NOT_FOUND',
              requireStack: [
                '/opt/iobroker/node_modules/jwa/index.js',
                '/opt/iobroker/node_modules/jws/lib/sign-stream.js',
                '/opt/iobroker/node_modules/jws/index.js',
                '/opt/iobroker/node_modules/jsonwebtoken/decode.js',
                '/opt/iobroker/node_modules/jsonwebtoken/index.js',
                '/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js',
                '/opt/iobroker/node_modules/@iobroker/js-controller-common/index.js',
                '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js',
                '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              ]
            }
            pi@raspberrypi:/opt/iobroker $
            
            
            timemachine3030 created this issue in axios/axios

            closed Hotfix: Prevent SSRF #3410

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

              @federal

              Bitte dein Beitrag nicht Editieren ... das bringt alle durcheinander !!!

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

                @federal sagte in ioBroker Backup wieder einspielen:

                npm ERR! latest @types: 18, installed node: 16

                Geh mal auf nodejs 18.

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

                  @thomas-braun said in ioBroker Backup wieder einspielen:

                  @federal sagte in ioBroker Backup wieder einspielen:

                  npm ERR! latest @types: 18, installed node: 16

                  Geh mal auf nodejs 18.

                  kann ich die Eingabe dazu haben?

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

                    @federal sagte in ioBroker Backup wieder einspielen:

                    pi@raspberrypi:/opt/iobroker $ iob protokol

                    wo hast du denn diesen Befehl her !?

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      federal @Glasfaser last edited by

                      @glasfaser said in ioBroker Backup wieder einspielen:

                      @federal sagte in ioBroker Backup wieder einspielen:

                      pi@raspberrypi:/opt/iobroker $ iob protokol

                      wo hast du denn diesen Befehl her !?

                      sorry. Habe mit iobroker status verwechselt

                      1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @federal last edited by

                        @federal sagte in ioBroker Backup wieder einspielen:

                        @thomas-braun said in ioBroker Backup wieder einspielen:

                        @federal sagte in ioBroker Backup wieder einspielen:

                        npm ERR! latest @types: 18, installed node: 16

                        Geh mal auf nodejs 18.

                        kann ich die Eingabe dazu haben?

                        406ddb3b-b5fe-402d-a2a6-6c68edcef947-grafik.png

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

                          @federal sagte in ioBroker Backup wieder einspielen:

                          kann ich die Eingabe dazu haben?

                          Schau in meiner Signatur.

                          1 Reply Last reply Reply Quote 0
                          • F
                            federal @Glasfaser last edited by

                            @glasfaser said in ioBroker Backup wieder einspielen:

                            @federal sagte in ioBroker Backup wieder einspielen:

                            @thomas-braun said in ioBroker Backup wieder einspielen:

                            @federal sagte in ioBroker Backup wieder einspielen:

                            npm ERR! latest @types: 18, installed node: 16

                            Geh mal auf nodejs 18.

                            kann ich die Eingabe dazu haben?

                            406ddb3b-b5fe-402d-a2a6-6c68edcef947-grafik.png

                            Super! Danke.

                            V18 hat leider nichts gebracht

                            
                                Your installation was fixed successfully
                                Run iobroker start to start ioBroker again!
                            
                            ==========================================================================
                            
                            pi@raspberrypi:/opt/iobroker $ iob start
                            pi@raspberrypi:/opt/iobroker $ iobroker status
                            node:internal/modules/cjs/loader:1078
                              throw err;
                              ^
                            
                            Error: Cannot find module 'buffer-equal-constant-time'
                            Require stack:
                            - /opt/iobroker/node_modules/jwa/index.js
                            - /opt/iobroker/node_modules/jws/lib/sign-stream.js
                            - /opt/iobroker/node_modules/jws/index.js
                            - /opt/iobroker/node_modules/jsonwebtoken/decode.js
                            - /opt/iobroker/node_modules/jsonwebtoken/index.js
                            - /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js
                            - /opt/iobroker/node_modules/@iobroker/js-controller-common/index.js
                            - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
                            - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                                at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
                                at Module._load (node:internal/modules/cjs/loader:920:27)
                                at Module.require (node:internal/modules/cjs/loader:1141:19)
                                at require (node:internal/modules/cjs/helpers:110:18)
                                at Object.<anonymous> (/opt/iobroker/node_modules/jwa/index.js:1:19)
                                at Module._compile (node:internal/modules/cjs/loader:1254:14)
                                at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
                                at Module.load (node:internal/modules/cjs/loader:1117:32)
                                at Module._load (node:internal/modules/cjs/loader:958:12)
                                at Module.require (node:internal/modules/cjs/loader:1141:19) {
                              code: 'MODULE_NOT_FOUND',
                              requireStack: [
                                '/opt/iobroker/node_modules/jwa/index.js',
                                '/opt/iobroker/node_modules/jws/lib/sign-stream.js',
                                '/opt/iobroker/node_modules/jws/index.js',
                                '/opt/iobroker/node_modules/jsonwebtoken/decode.js',
                                '/opt/iobroker/node_modules/jsonwebtoken/index.js',
                                '/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js',
                                '/opt/iobroker/node_modules/@iobroker/js-controller-common/index.js',
                                '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js',
                                '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                              ]
                            }
                            
                            Node.js v18.15.0
                            pi@raspberrypi:/opt/iobroker $
                            
                            
                            Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @federal last edited by

                              @federal

                              mache mal ein

                              npm prune
                              
                              F 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @federal last edited by

                                @federal
                                Was spuckt

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

                                aus?

                                1 Reply Last reply Reply Quote 0
                                • F
                                  federal @Glasfaser last edited by

                                  @glasfaser said in ioBroker Backup wieder einspielen:

                                  @federal

                                  mache mal ein

                                  npm prune
                                  
                                  pi@raspberrypi:/opt/iobroker $ npm prune
                                  npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in odule. If you've depended on crypto, you should switch to the one that's built-in.
                                  npm WARN deprecated @types/bl@5.1.0: This is a stub types definition. bl provides its own tfinitions, so you do not need this installed.
                                  npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecateuse it extends the now deprecated request package, see https://github.com/request/request/i3142
                                  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 e 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 node-inspect@2.0.0: This module is part of Node.js core and does not nebe installed separately. It is now unmaintained.
                                  npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-sevReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.73.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-sevReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.73.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-sevReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.73.1. (https://github.com/visionmedia/debug/issues/797)
                                  npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code suse the URLSearchParams API instead.
                                  npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions mayath.random() in certain circumstances, which is known to be problematic.  See https://v8.de/math-random for details.
                                  npm WARN deprecated uuid@3.3.2: Please upgrade  to version 7 or higher.  Older versions mayath.random() in certain circumstances, which is known to be problematic.  See https://v8.de/math-random for details.
                                  npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/reqequest/issues/3142
                                  npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For morrmation, see https://github.com/axios/axios/pull/3410
                                  (##################) ⠴ reify:aws-sdk: timing reifyNode:node_modules/typescript Completed in
                                  added 16 packages, removed 936 packages, and changed 1238 packages in 17m
                                  
                                  175 packages are looking for funding
                                    run `npm fund` for details
                                  pi@raspberrypi:/opt/iobroker $
                                  
                                  

                                  habe plötzlich bei Telegram die Buttons angezeigt bekommen?

                                  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

                                  timemachine3030 created this issue in axios/axios

                                  closed Hotfix: Prevent SSRF #3410

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

                                    @federal sagte in ioBroker Backup wieder einspielen:

                                    habe plötzlich bei Telegram die Buttons angezeigt bekommen?

                                    ??

                                    Bitte das noch zeigen !!! :

                                    @thomas-braun sagte in ioBroker Backup wieder einspielen:
                                    @federal
                                    Was spuckt

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

                                    aus?

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      federal @Glasfaser last edited by

                                      @glasfaser said in ioBroker Backup wieder einspielen:

                                      uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

                                      pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                      pi@raspberrypi:~ $ uname -m && type -P nodejs node npm npx && nodejs -v && node                                                                                                                      -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE &                                                                                                                     & pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                      armv7l
                                      /usr/bin/nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      /usr/bin/npx
                                      v18.15.0
                                      v18.15.0
                                      9.5.0
                                      
                                      9.5.0
                                      4.0.24
                                      pi
                                      pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin g                                                                                                                     pio i2c spi iobroker
                                      tty
                                      /home/pi
                                      OK:1 http://archive.raspberrypi.org/debian buster InRelease
                                      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                      OK:3 https://deb.nodesource.com/node_18.x buster InRelease
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.
                                      Statusinformationen werden eingelesen.... Fertig
                                      Aktualisierung für 3 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, u                                                                                                                     m sie anzuzeigen.
                                      nodejs:
                                        Installiert:           18.15.0-deb-1nodesource1
                                        Installationskandidat: 18.15.0-deb-1nodesource1
                                        Versionstabelle:
                                       *** 18.15.0-deb-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x buster/main armhf Packages
                                              100 /var/lib/dpkg/status
                                           10.24.0~dfsg-1~deb10u3 500
                                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                      pi@raspberrypi:~ $
                                      pi@raspberrypi:~ $
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @federal last edited by

                                        @federal sagte in ioBroker Backup wieder einspielen:

                                        buster

                                        Ist kürzlich dahingeschieden und muss duch 'bullseye' ersetzt werden.

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

                                          @thomas-braun said in ioBroker Backup wieder einspielen:

                                          @federal sagte in ioBroker Backup wieder einspielen:

                                          buster

                                          Ist kürzlich dahingeschieden und muss duch 'bullseye' ersetzt werden.

                                          und wie mach ich das?

                                          Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @federal last edited by

                                            @federal

                                            Hier hat das 'Abenteuer' mal einer protokoliert:

                                            https://forum.iobroker.net/topic/47214/upgrade-von-debian-10-buster-auf-11-bullseye

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            814
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            85
                                            4317
                                            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