Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Gelöst] IO Broker Installation Fehler mit Raspberry Pi

    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

    [Gelöst] IO Broker Installation Fehler mit Raspberry Pi

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

      @thomas-braun

      Okay ich kopiere mal

      
      pi@raspberrypi:~ $ iobroker stop                                                
      pi@raspberrypi:~ $ iobroker fix                                                 
      library: loaded
      Library version=2021-08-05
      ioBroker is not installed in /opt/iobroker! Cannot fix anything...
      pi@raspberrypi:~ $ iobroker start
      pi@raspberrypi:~ $
      
      
      Romano Drews 1 Reply Last reply Reply Quote 0
      • Romano Drews
        Romano Drews @Romano Drews last edited by

        @romano-drews

        pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-contr                                                                                                 oller
        npm WARN npm npm does not support Node.js v10.24.0
        npm WARN npm You should probably upgrade to a newer version of node as we
        npm WARN npm can't make any promises that npm will work with this version.
        npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8,                                                                                                  9.
        npm WARN npm You can find the latest version at https://nodejs.org/
        npm WARN deprecated request@2.88.2: request has been deprecated, see https://git                                                                                                 hub.com/request/request/issues/3142
        npm WARN deprecated har-validator@5.1.5: this library is no longer supported
        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 notice [SECURITY] node-forge has the following vulnerability: 1 high. G                                                                                                 o here for more details: https://www.npmjs.com/advisories?search=node-forge&vers                                                                                                 ion=0.7.6 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm                                                                                                  audit` to get more info.
        
        > iobroker.js-controller@3.3.18 preinstall /opt/iobroker/node_modules/iobroker.j                                                                                                 s-controller
        > node lib/preinstallCheck.js
        
        NPM version: 5.8.0
        
        > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram
        > node-gyp rebuild
        
        make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
          CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
        In file included from ../../nan/nan.h:58,
                         from ../src/unix_dgram.cc:5:
        /usr/include/nodejs/src/node.h:573:43: warning: cast between incompatible functi                                                                                                 on types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {                                                                                                 aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-func                                                                                                 tion-type]
               (node::addon_register_func) (regfunc),                          \
                                                   ^
        /usr/include/nodejs/src/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X                                                                                                 ’
           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
           ^~~~~~~~~~~~~
        ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(unix_dgram, Initialize)
         ^~~~~~~~~~~
        In file included from /usr/include/nodejs/src/node.h:63,
                         from ../../nan/nan.h:58,
                         from ../src/unix_dgram.cc:5:
        /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::Persiste                                                                                                 ntBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallb                                                                                                 ackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackIn                                                                                                 fo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
        /usr/include/nodejs/src/node_object_wrap.h:84:78:   required from here
        /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompat                                                                                                 ible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka                                                                                                  ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘                                                                                                 void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                        reinterpret_cast<Callback>(callback), type);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::Persiste                                                                                                 ntBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallb                                                                                                 ackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInf                                                                                                 o<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
        ../../nan/nan_object_wrap.h:65:61:   required from here
        /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompat                                                                                                 ible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka                                                                                                  ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘vo                                                                                                 id (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
          SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
          COPY Release/unix_dgram.node
        make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
        
        > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
        > node rebuild.js
        
        
        > diskusage@1.1.3 install /opt/iobroker/node_modules/diskusage
        > node-gyp rebuild
        
        make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
          CXX(target) Release/obj.target/diskusage/src/main.o
        In file included from ../../nan/nan.h:58,
                         from ../src/main.cpp:3:
        /usr/include/nodejs/src/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
               (node::addon_register_func) (regfunc),                          \
                                                   ^
        /usr/include/nodejs/src/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
           ^~~~~~~~~~~~~
        ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(diskusage, Init)
         ^~~~~~~~~~~
        In file included from /usr/include/nodejs/src/node.h:63,
                         from ../../nan/nan.h:58,
                         from ../src/main.cpp:3:
        /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
        /usr/include/nodejs/src/node_object_wrap.h:84:78:   required from here
        /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                        reinterpret_cast<Callback>(callback), type);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
        ../../nan/nan_object_wrap.h:65:61:   required from here
        /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
          CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
          SOLINK_MODULE(target) Release/obj.target/diskusage.node
          COPY Release/diskusage.node
        make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
        
        > iobroker.js-controller@3.3.18 install /opt/iobroker/node_modules/iobroker.js-controller
        > node iobroker.js setup first
        
        creating conf/iobroker.json
        Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
        Server Cannot load /opt/iobroker/iobroker-data/states.json: Database file /opt/iobroker/iobroker-data/states.json does not exists.. We try last Backup!
        Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
        Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
        Server Cannot load /opt/iobroker/iobroker-data/states.json.bak: Database file /opt/iobroker/iobroker-data/states.json.bak does not exists.. Continue with empty dataset!
        Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
         Cannot read system.config: null (OK when migrating or restoring)
        object 0_userdata.0.example_state created
        object 0_userdata.0 created
        object alias.0 created
        object system.certificates created
        object system.repositories created
        object system.config created
        object enum.functions created
        object enum.rooms created
        object system.group.user created
        object system.group.administrator created
        object _design/custom created
        object _design/system created
        object system.meta.uuid created: 4cf6802d-d7c3-1e94-6bcc-20bbb37f9f26
        object system.user.admin created
        
        ATTENTION: Error reporting via Sentry will be activated on next start of ioBroker
        
        ioBroker wants to make sure to deliver the most stable smart home system.
        To allow this we decided to implement an automatic error and crash reporting solution into the js-controller and also into adapters.
        
        THIS REPORTING WILL BE ENABLED WITH THE NEXT START OF YOUR IOBROKER!
        
        For any error that leads to the crash of the js-controller or one of the relevant adapters the error details are send to a server. For the js-controller and core adapters this server is located and operated in germany. For community adapters please check the Github Readme of the affected adapter for details which Sentry server is used.
        
        If you want to disable the error reporting you can use the command
        'iobroker plugin disable sentry'
        This command will also make sure that no adapter that runs on this host will send crash reporting data to sentry.
        
        
        {
        PRIVATE ZERTIFIKATE MANUELL ENTFERNT !!!!!! VON MIR HIER WEGEN FORUM
        }
        The object "system.certificates" was updated successfully.
        
        > @root/acme@3.1.0 postinstall /opt/iobroker/node_modules/@root/acme
        > node scripts/postinstall
        
        
        > esbuild@0.11.23 postinstall /opt/iobroker/node_modules/esbuild
        > node install.js
        
        npm notice created a lockfile as package-lock.json. You should commit this file.
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
        
        + iobroker.js-controller@3.3.18
        added 284 packages from 281 contributors in 86.006s
        
        
        1 Reply Last reply Reply Quote 0
        • Romano Drews
          Romano Drews @Thomas Braun last edited by Romano Drews

          @thomas-braun

          Und nu ? ^^ Sieht nach noch mehr Fehler aus ^^
          Bin leider in Englisch auch nich so bewandert.

          Kann also nur erkennen das da einiges an Fehler steht aber weis leider überhaupt nicht was ich jetzt machen muss.

          Bin ertsmal im bettchen und melde mich morgen wieder zurück.

          LG

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

            @romano-drews
            Da ist deine nodeJS Installation krumm.
            Vermutlich ist da die Debian-Variante installiert worden und nicht die nodesource-Version.

            apt policy nodejs
            
            Romano Drews 1 Reply Last reply Reply Quote 0
            • Romano Drews
              Romano Drews @Thomas Braun last edited by

              @thomas-braun sagte in IO Broker Installation Fehler mit Raspberry Pi 4B 8GB RAM:

              apt policy nodejs

              Okay, hier das ergebniss:

              pi@raspberrypi:~ $ apt policy nodejs
              nodejs:
                Installiert:           10.24.0~dfsg-1~deb10u1
                Installationskandidat: 10.24.0~dfsg-1~deb10u1
                Versionstabelle:
               *** 10.24.0~dfsg-1~deb10u1 500
                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      100 /var/lib/dpkg/status
              pi@raspberrypi:~ $
              
              

              wie kann ich das denn beheben?

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

                @romano-drews Schau in meiner Signatur, da wird's erklärt.
                In deinem Fall vorher noch

                sudo apt remove nodejs node-*
                

                Wobei es mich irritiert, denn normalerweise wird das ganze vom ioBroker-Installer schon erledigt.
                Da hast du schon dabei irgendwas anderes als üblich gemacht.

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

                  @thomas-braun

                  Ich antworte mal so wie ichs gemacht hab.

                  Zuerst habe ich das mit dem remove gemacht.

                  Hat geklappt.

                  Dann:

                  pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash
                  
                  ## Installing the NodeSource Node.js 12.x repo...
                  
                  
                  ## Populating apt-get cache...
                  
                  + apt-get update
                  Holen:1 http://archive.raspberrypi.org/debian buster InRelease [32,7 kB]
                  Holen:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
                  Holen:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB]
                  Es wurden 440 kB in 1 s geholt (312 kB/s).
                  Paketlisten werden gelesen... Fertig
                  
                  ## Confirming "buster" is supported...
                  
                  + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/buster/Release'
                  
                  ## Adding the NodeSource signing key to your keyring...
                  
                  + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
                  gpg: WARNUNG: Unsicheres Besitzverhältnis des Home-Verzeichnis `/home/pi/.gnupg'
                  
                  ## Creating apt sources list file for the NodeSource Node.js 12.x repo...
                  
                  + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x buster main' > /etc/apt/sources.list.d/nodesource.list
                  + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x buster main' >> /etc/apt/sources.list.d/nodesource.list
                  
                  ## Running `apt-get update` for you...
                  
                  + apt-get update
                  OK:1 http://archive.raspberrypi.org/debian buster InRelease
                  OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                  Holen:3 https://deb.nodesource.com/node_12.x buster InRelease [4.584 B]
                  Holen:4 https://deb.nodesource.com/node_12.x buster/main armhf Packages [780 B]
                  Es wurden 5.364 B in 1 s geholt (4.892 B/s).
                  Paketlisten werden gelesen... Fertig
                  
                  ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
                  ## You may also need development tools to build native addons:
                       sudo apt-get install gcc g++ make
                  ## To install the Yarn package manager, run:
                       curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
                       echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                       sudo apt-get update && sudo apt-get install yarn
                  
                  
                  pi@raspberrypi:~ $
                  
                  

                  Dann hab ich das gemacht:

                  pi@raspberrypi:~ $ sudo apt install nodejs
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benöti                                                                                                 gt:
                    gyp libc-ares2 libjs-inherits libjs-is-typedarray libssl-dev libuv1
                    libuv1-dev nodejs-doc
                  Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
                  Die folgenden Pakete werden ENTFERNT:
                    libnode-dev libnode64
                  Die folgenden NEUEN Pakete werden installiert:
                    nodejs
                  0 aktualisiert, 1 neu installiert, 2 zu entfernen und 10 nicht aktualisiert.
                  Es müssen 15,9 MB an Archiven heruntergeladen werden.
                  Nach dieser Operation werden 64,8 MB Plattenplatz zusätzlich benutzt.
                  Möchten Sie fortfahren? [J/n] j
                  Holen:1 https://deb.nodesource.com/node_12.x buster/main armhf nodejs armhf 12.22.6-deb-1nodesource1 [15,9 MB]
                  Es wurden 15,9 MB in 2 s geholt (8.476 kB/s).
                  (Lese Datenbank ... 152707 Dateien und Verzeichnisse sind derzeit installiert.)
                  Entfernen von libnode-dev:armhf (10.24.0~dfsg-1~deb10u1) ...
                  Entfernen von libnode64:armhf (10.24.0~dfsg-1~deb10u1) ...
                  Vormals nicht ausgewähltes Paket nodejs wird gewählt.
                  (Lese Datenbank ... 152581 Dateien und Verzeichnisse sind derzeit installiert.)
                  Vorbereitung zum Entpacken von .../nodejs_12.22.6-deb-1nodesource1_armhf.deb ...
                  Entpacken von nodejs (12.22.6-deb-1nodesource1) ...
                  nodejs (12.22.6-deb-1nodesource1) wird eingerichtet ...
                  Trigger für libc-bin (2.28-10+rpt2+rpi1) werden verarbeitet ...
                  Trigger für man-db (2.8.5-2) werden verarbeitet ...
                  pi@raspberrypi:~ $
                  
                  

                  Dann das:

                  pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                  pi@raspberrypi:~ $
                  
                  

                  So .... 🙂

                  Ich weis ich blamiere mich grade auf ganzer linie.
                  Bin aber aus dem ganzen Gedönse hier über 10 jahre raus ^^
                  Ich weis nur noch das es sowas gibt aber nicht wie man es bedient.
                  Sorry dafür.
                  Bin aber mega dankbar das man hier hilft.

                  pi@raspberrypi:~ $ sudo apt update
                  OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                  OK:2 https://deb.nodesource.com/node_12.x buster InRelease
                  OK:3 http://archive.raspberrypi.org/debian buster InRelease
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Aktualisierung für 10 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                  pi@raspberrypi:~ $
                  
                  

                  Dann ausführen:

                  pi@raspberrypi:~ $ sudo apt upgrade
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  ....
                  HIER SPARE ICH MAL DEN REST, SAH GUT AUS
                  
                  pi@raspberrypi:~ $ sudo apt dist-upgrade
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Paketaktualisierung (Upgrade) wird berechnet... Fertig
                  Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
                    gyp libc-ares2 libjs-inherits libjs-is-typedarray libssl-dev libuv1 libuv1-dev nodejs-doc
                  Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                  pi@raspberrypi:~ $
                  
                  

                  Wenn das so muss siehts auch gut aus ^^

                  pi@raspberrypi:~ $ sudo reboot
                  
                  

                  Gemacht

                  pi@raspberrypi:~ $ iobroker stop
                  pi@raspberrypi:~ $
                  
                  

                  Auch gemacht

                  deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x buster main
                  deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x buster main
                  
                  

                  Da das bei mir schon so ausgesehen hat hab ich da jetzt NICHTS VERÄNDERT????

                  pi@raspberrypi:~ $ sudo apt update
                  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_12.x buster InRelease
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Alle Pakete sind aktuell.
                  pi@raspberrypi:~ $
                  
                  
                  pi@raspberrypi:~ $ apt policy nodejs
                  nodejs:
                    Installiert:           12.22.6-deb-1nodesource1
                    Installationskandidat: 12.22.6-deb-1nodesource1
                    Versionstabelle:
                   *** 12.22.6-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                          100 /var/lib/dpkg/status
                       10.24.0~dfsg-1~deb10u1 500
                          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                  pi@raspberrypi:~ $
                  
                  
                  pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                  /usr/bin/nodejs
                  /usr/bin/node
                  /usr/bin/npm
                  v12.22.6
                  v12.22.6
                  6.14.15
                  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_12.x buster InRelease
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Alle Pakete sind aktuell.
                  OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                  OK:2 https://deb.nodesource.com/node_12.x buster InRelease
                  OK:3 http://archive.raspberrypi.org/debian buster InRelease
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Alle Pakete sind aktuell.
                  nodejs:
                    Installiert:           12.22.6-deb-1nodesource1
                    Installationskandidat: 12.22.6-deb-1nodesource1
                    Versionstabelle:
                   *** 12.22.6-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                          100 /var/lib/dpkg/status
                       10.24.0~dfsg-1~deb10u1 500
                          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                  pi@raspberrypi:~ $
                  
                  
                  
                  pi@raspberrypi:~ $ iobroker fix
                  library: loaded
                  Library version=2021-08-05
                  
                  ==========================================================================
                  
                      Welcome to the ioBroker installation fixer!
                      Script version: 2021-04-07
                  
                      You might need to enter your password a couple of times.
                  
                  ==========================================================================
                  
                  
                  ==========================================================================
                      Installing prerequisites (1/3)
                  ==========================================================================
                  
                  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_12.x buster 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!
                  
                  ==========================================================================
                  
                  pi@raspberrypi:~ $
                  
                  
                  

                  Dann: iobroker start

                  Aber leider ist der IO Broker jetzt noch immer nicht aus dem Webbrowser zu erreichen.
                  Ich kapiere das nicht 😞

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

                    @thomas-braun An was kann es denn nun noch liegen?
                    Bzw gibt es noch was was ich eingeben kann um den Fehler zu finden?

                    Es ist dem anschein nach alles absolut sauber durchgelaufen und keine fehlermeldungen bei den installationen.

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

                      @romano-drews

                      iobroker status
                      iobroker list adapters
                      iobroker list instances
                      
                      Romano Drews 1 Reply Last reply Reply Quote 0
                      • Romano Drews
                        Romano Drews @Thomas Braun last edited by

                        @thomas-braun sagte in IO Broker Installation Fehler mit Raspberry Pi 4B 8GB RAM:

                        iobroker status

                        pi@raspberrypi:~ $ iobroker status
                        iobroker is running on this host.
                        
                        
                        Objects type: file
                        States  type: file
                        pi@raspberrypi:~ $
                        
                        

                        Hier passiert jetzt nichts:

                        pi@raspberrypi:~ $ iobroker list adapters
                        pi@raspberrypi:~ $
                        
                        

                        und:

                        pi@raspberrypi:~ $ iobroker list instances
                        
                        
                        + instance is alive
                        pi@raspberrypi:~ $
                        
                        

                        Laut der ersten abfrage scheint es ja zu laufen?

                        Über den browser chromium direkt auf dem Pi habe ich versucht:
                        localhost:8081 und 192.168.20.125:8081 (Ip IP)
                        Es kommt nur: Die webseite ist nicht erreichbar
                        Localhost / 192..... hat die verbindung abgelehnt... ERR_CONNECTION_REFUSED

                        Von dem rechner wo ich mit Putty arbeite gehts über die IP auch nicht. gleiche meldung im Mozilla Fierefox

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

                          @romano-drews

                          iobroker add admin
                          
                          Romano Drews 1 Reply Last reply Reply Quote 0
                          • Romano Drews
                            Romano Drews @Thomas Braun last edited by

                            @thomas-braun sagte in IO Broker Installation Fehler mit Raspberry Pi 4B 8GB RAM:

                            iobroker add admin

                            Ich glaube es hat jetzt geklappt.
                            Zumindest kann ich die Seite über localhost aufrufen und bekomme Erstes IO Broker Setup angezeigt

                            Bei der letzten BefehlEingabe wurde aber ganz oben einmal nen Error angezeigt:

                            pi@raspberrypi:~ $ iobroker add admin
                            Update repository "default" under "http://download.iobroker.net/sources-dist.json"
                            hash changed or no sources cached => force download of new sources
                            NPM version: 6.14.15
                            npm install iobroker.admin@5.1.25 --loglevel error --prefix "/opt/iobroker" (System call)
                            host.raspberrypi install adapter admin
                            upload [14] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
                            upload [13] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json jsonConfig.json application/json
                            upload [12] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
                            upload [11] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
                            upload [10] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                            upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                            upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                            upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                            upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                            upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json
                            upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                            upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json
                            upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/en/translations.json i18n/en/translations.json application/json
                            upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/de/translations.json i18n/de/translations.json application/json
                            upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                            host.raspberrypi object system.adapter.admin created/updated
                            host.raspberrypi create instance admin
                            host.raspberrypi object admin.0.info.updatesList created
                            host.raspberrypi object admin.0.info.newsLastId created
                            host.raspberrypi object admin.0.info.newsETag created
                            host.raspberrypi object admin.0.info.newsFeed created
                            host.raspberrypi object admin.0.info.connection created
                            host.raspberrypi object admin.0 created
                            host.raspberrypi object admin.0.info created
                            host.raspberrypi object system.adapter.admin.upload created
                            host.raspberrypi object system.adapter.admin.0.logLevel created
                            host.raspberrypi object system.adapter.admin.0.sigKill created
                            host.raspberrypi object system.adapter.admin.0.eventLoopLag created
                            host.raspberrypi object system.adapter.admin.0.outputCount created
                            host.raspberrypi object system.adapter.admin.0.inputCount created
                            host.raspberrypi object system.adapter.admin.0.uptime created
                            host.raspberrypi object system.adapter.admin.0.memRss created
                            host.raspberrypi object system.adapter.admin.0.memHeapTotal created
                            host.raspberrypi object system.adapter.admin.0.memHeapUsed created
                            host.raspberrypi object system.adapter.admin.0.cputime created
                            host.raspberrypi object system.adapter.admin.0.cpu created
                            host.raspberrypi object system.adapter.admin.0.compactMode created
                            host.raspberrypi object system.adapter.admin.0.connected created
                            host.raspberrypi object system.adapter.admin.0.alive created
                            host.raspberrypi Set default value of admin.0.info.updatesList:
                            host.raspberrypi Set default value of admin.0.info.connection:
                            host.raspberrypi object system.adapter.admin.0 created
                            pi@raspberrypi:~ $
                            
                            

                            Ist jetzt alles in ordnung oder muss ich noch was machen?

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

                              @romano-drews
                              Jetzt die benötigten Adapter installieren.

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

                                @thomas-braun Damit meinst du die Plugins für das SmartHome?
                                Oder meinst du mit Adapter noch was anderes ?

                                Falls ja, weis nich leider nicht was ich noch installieren muss.

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

                                  @romano-drews

                                  Naja, die von dir für deine Geräte / Anwendungen benötigten Adapter. Welche das sind? Keine Ahnung, hängt von deinem Setup ab.

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

                                    @thomas-braun Achso ^^ ja das ist klat XD

                                    Das mach ich dann miorgen nochmal in ruhe.
                                    Ist hier erstmal bei meinen eltern.
                                    Für die Doorbird und Nuki und Alexa.

                                    Mehr is hier noch nicht vorhanden.
                                    Aber erst mal nen Anfang.

                                    Möchte hier wegen meiner Oma noch paar Sicherheits sachen einbauen wegen notruf und so das die familie Infos bekommt wenn sie hilfe braucht und so.

                                    Bei mir zuhause selbst hab ich leider noch das System von der Telekom.
                                    Wird aber bestimmt bald geändert wenn ich gut mit IO Broker klar komme.

                                    ERSTMAL VIELEN VIELEN LIEBEN DANK FÜR DEINE RIESIEGE UNTERSTÜZUNG!!!!
                                    Danke dir 🙂
                                    Ich hab hier echt nicht mehr weiter gewusst.

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

                                      @thomas-braun nochmal ne blöde frage.

                                      Wenn ich nach Door bei adapter für Doorbird suche finde ich nur doorio.
                                      Gibts den Adapter denn nicht mehr ?
                                      Oder heißt der jetzt irgendwie anders inzwischen?

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

                                        @romano-drews Keine Ahnung. Hab das nicht im Einsatz.

                                        Edit:

                                        Gibt's nur als Beta:

                                        github:	0.1.5 for 18 months
                                        latest:	0.1.5 for 36 months
                                        stable:	-.-.-
                                        
                                        Romano Drews 1 Reply Last reply Reply Quote 0
                                        • Romano Drews
                                          Romano Drews @Thomas Braun last edited by

                                          @thomas-braun sagte in IO Broker Installation Fehler mit Raspberry Pi 4B 8GB RAM:

                                          github: 0.1.5 for 18 months

                                          hm der von haus-automatisierung.com der hier die tutorials macht hatte so einen Adapter in seinen videos direkt in der suche gefunden 😞

                                          Wenns nur über GitHub geht müss ich erstmal nochmal gucken wie das überhaupt geht.
                                          So weit bin ich leider noch nicht.

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

                                            @romano-drews
                                            Temporär das Beta-Repo freischalten, Adapter da rausklauben und wieder auf stable/Default setzen.

                                            Von GitHub-Installationen ist grundsätzlich erstmal abzuraten.

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

                                            Support us

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

                                            904
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            43
                                            3382
                                            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