Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [Gelöst] Installation auf Raspi 3B schlägt immer wieder fehl

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    11
    1
    395

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.9k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    806

[Gelöst] Installation auf Raspi 3B schlägt immer wieder fehl

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
14 Beiträge 5 Kommentatoren 414 Aufrufe 4 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    Manuel001
    schrieb am zuletzt editiert von Manuel001
    #1

    Ich habe schon 2 Raspberry Pi 2 mit IoBroker laufen. Jetzt wollte ich noch einen weiteren (Pi 3B) einrichten, aber ich scheitere daran.
    Folgendes habe ich gemacht:
    Raspberry Pi OS Lite Image installiert -> deutsche Tastatur, fixe IP und SSH eingestellt.
    Dann ->
    curl -sLf https://iobroker.net/install.sh | bash -

    ==========================================================================
    
        Welcome to the ioBroker installer!
        Installer version: 2021-04-07
    
        You might need to enter your password a couple of times.
    
    ==========================================================================
    
    
    ==========================================================================
        Installing prerequisites (1/4)
    ==========================================================================
    
    Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
    Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]
    Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0                                                                  MB]
    Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
    Fetched 13.4 MB in 16s (854 kB/s)
    Reading package lists... Done
    
    ==========================================================================
    
        Node.js not found. Installing...
    
    ==========================================================================
    
    
    ## Installing the NodeSource Node.js 12.x repo...
    
    
    ## Populating apt-get cache...
    
    + apt-get update
    Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
    Hit:2 http://archive.raspberrypi.org/debian buster InRelease
    Reading package lists... Done
    
    ## Confirming "buster" is supported...
    
    + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/buster/Rele                                                                 ase'
    
    ## 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: WARNING: unsafe ownership on homedir '/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.nodesourc                                                                 e.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.nodes                                                                 ource.com/node_12.x buster main' >> /etc/apt/sources.list.d/nodesource.list
    
    ## Running `apt-get update` for you...
    
    + apt-get update
    Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
    Hit:2 http://archive.raspberrypi.org/debian buster InRelease
    Get:3 https://deb.nodesource.com/node_12.x buster InRelease [4584 B]
    Get:4 https://deb.nodesource.com/node_12.x buster/main armhf Packages [773 B]
    Fetched 5357 B in 2s (2219 B/s)
    Reading package lists... Done
    
    ## 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 te                                                                 e /usr/share/keyrings/yarnkey.gpg >/dev/null
         echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.co                                                                 m/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
         sudo apt-get update && sudo apt-get install yarn
    
    
    Installed nodejs
    Node.js Installed successfully!
    Changing npm registry to https://registry.npmjs.org
    Installed acl
    Installed gcc-c++
    Installed libavahi-compat-libdnssd-dev
    Installed libudev-dev
    Installed libpam0g-dev
    Installed git
    Installed libcairo2-dev
    Installed libpango1.0-dev
    Installed libjpeg-dev
    Installed libgif-dev
    Installed librsvg2-dev
    Installed python-dev
    
    ==========================================================================
        Creating ioBroker user and directory (2/4)
    ==========================================================================
    
    User iobroker created
    Created /etc/sudoers.d/iobroker
    Directory /opt/iobroker created
    
    
    ==========================================================================
        Installing ioBroker (3/4)
    ==========================================================================
    
    In file included from ../../nan/nan.h:56,
                     from ../src/main.cpp:3:
    /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736:43: warning: cast betwe                                                                 en 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),                          \
                                               ^
    /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770:3: note: in expansion o                                                                 f 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 ../../nan/nan.h:56,
                     from ../src/unix_dgram.cc:5:
    /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736: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),                          \
                                               ^
    /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770: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)
     ^~~~~~~~~~~
    ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)':
    ../src/serialport.cpp:78:69: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                         ^~~~~~~~~~~~~
    ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)':
    ../src/serialport.cpp:135:71: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                           ^~~~~~~~~~~~~~~
    ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)':
    ../src/serialport.cpp:175:70: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                          ^~~~~~~~~~~~~~
    ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)':
    ../src/serialport.cpp:215:70: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                          ^~~~~~~~~~~~~~
    ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)':
    ../src/serialport.cpp:271:68: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                        ^~~~~~~~~~~~
    ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)':
    ../src/serialport.cpp:316:68: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                        ^~~~~~~~~~~~
    ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)':
    ../src/serialport.cpp:366:76: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                ^~~~~~~~~~~~~~~~~~~~
    ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)':
    ../src/serialport.cpp:412:70: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                          ^~~~~~~~~~~~~~
    ../src/serialport.cpp: At global scope:
    ../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of 'ToParityEnum' [-Wparentheses]
     SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                ^
    ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of 'ToStopBitEnum' [-Wparentheses]
     SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                  ^
    In file included from ../../../nan/nan.h:56,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736:43: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka '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),                          \
                                               ^
    /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770:3: note: in expansion of macro 'NODE_MODULE_X'
       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
       ^~~~~~~~~~~~~
    ../src/serialport.cpp:486:1: note: in expansion of macro 'NODE_MODULE'
     NODE_MODULE(serialport, init);
     ^~~~~~~~~~~
    ../src/serialport_unix.cpp: In function 'int setup(int, OpenBaton*)':
    ../src/serialport_unix.cpp:176:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
         snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/serialport_unix.cpp:176:13: note: 'snprintf' output 20 or more bytes (assuming 1043) into a destination of size 1024
         snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/serialport_unix.cpp: In function 'void EIO_Open(uv_work_t*)':
    ../src/serialport_unix.cpp:86:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
         snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/serialport_unix.cpp:86:13: note: 'snprintf' output 22 or more bytes (assuming 1045) into a destination of size 1024
         snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    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.
    
    

    Ich habe es 2x versucht und immer mit dem gleichen Ergebnis.
    Beim 1. Versuch habe ich vorher noch Nodejs installiert.
    Vor dem 2. Versuch habe ich wieder mit dem frischen Image angefangt.

    Irgend jemand eine Idee, was ich falsch mache?

    Thomas BraunT UncleSamU 2 Antworten Letzte Antwort
    0
    • M Manuel001

      Ich habe schon 2 Raspberry Pi 2 mit IoBroker laufen. Jetzt wollte ich noch einen weiteren (Pi 3B) einrichten, aber ich scheitere daran.
      Folgendes habe ich gemacht:
      Raspberry Pi OS Lite Image installiert -> deutsche Tastatur, fixe IP und SSH eingestellt.
      Dann ->
      curl -sLf https://iobroker.net/install.sh | bash -

      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2021-04-07
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
      Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]
      Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0                                                                  MB]
      Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
      Fetched 13.4 MB in 16s (854 kB/s)
      Reading package lists... Done
      
      ==========================================================================
      
          Node.js not found. Installing...
      
      ==========================================================================
      
      
      ## Installing the NodeSource Node.js 12.x repo...
      
      
      ## Populating apt-get cache...
      
      + apt-get update
      Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:2 http://archive.raspberrypi.org/debian buster InRelease
      Reading package lists... Done
      
      ## Confirming "buster" is supported...
      
      + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/buster/Rele                                                                 ase'
      
      ## 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: WARNING: unsafe ownership on homedir '/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.nodesourc                                                                 e.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.nodes                                                                 ource.com/node_12.x buster main' >> /etc/apt/sources.list.d/nodesource.list
      
      ## Running `apt-get update` for you...
      
      + apt-get update
      Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:2 http://archive.raspberrypi.org/debian buster InRelease
      Get:3 https://deb.nodesource.com/node_12.x buster InRelease [4584 B]
      Get:4 https://deb.nodesource.com/node_12.x buster/main armhf Packages [773 B]
      Fetched 5357 B in 2s (2219 B/s)
      Reading package lists... Done
      
      ## 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 te                                                                 e /usr/share/keyrings/yarnkey.gpg >/dev/null
           echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.co                                                                 m/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
           sudo apt-get update && sudo apt-get install yarn
      
      
      Installed nodejs
      Node.js Installed successfully!
      Changing npm registry to https://registry.npmjs.org
      Installed acl
      Installed gcc-c++
      Installed libavahi-compat-libdnssd-dev
      Installed libudev-dev
      Installed libpam0g-dev
      Installed git
      Installed libcairo2-dev
      Installed libpango1.0-dev
      Installed libjpeg-dev
      Installed libgif-dev
      Installed librsvg2-dev
      Installed python-dev
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      User iobroker created
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      In file included from ../../nan/nan.h:56,
                       from ../src/main.cpp:3:
      /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736:43: warning: cast betwe                                                                 en 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),                          \
                                                 ^
      /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770:3: note: in expansion o                                                                 f 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 ../../nan/nan.h:56,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736: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),                          \
                                                 ^
      /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770: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)
       ^~~~~~~~~~~
      ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/serialport.cpp:78:69: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
         uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                           ^~~~~~~~~~~~~
      ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/serialport.cpp:135:71: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
         uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                             ^~~~~~~~~~~~~~~
      ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/serialport.cpp:175:70: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
         uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                            ^~~~~~~~~~~~~~
      ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/serialport.cpp:215:70: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
         uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                            ^~~~~~~~~~~~~~
      ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/serialport.cpp:271:68: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
         uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                          ^~~~~~~~~~~~
      ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/serialport.cpp:316:68: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
         uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                          ^~~~~~~~~~~~
      ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/serialport.cpp:366:76: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
         uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                  ^~~~~~~~~~~~~~~~~~~~
      ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/serialport.cpp:412:70: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
         uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                            ^~~~~~~~~~~~~~
      ../src/serialport.cpp: At global scope:
      ../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of 'ToParityEnum' [-Wparentheses]
       SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                  ^
      ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of 'ToStopBitEnum' [-Wparentheses]
       SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                    ^
      In file included from ../../../nan/nan.h:56,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736:43: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka '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),                          \
                                                 ^
      /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770:3: note: in expansion of macro 'NODE_MODULE_X'
         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
         ^~~~~~~~~~~~~
      ../src/serialport.cpp:486:1: note: in expansion of macro 'NODE_MODULE'
       NODE_MODULE(serialport, init);
       ^~~~~~~~~~~
      ../src/serialport_unix.cpp: In function 'int setup(int, OpenBaton*)':
      ../src/serialport_unix.cpp:176:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
           snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
      ../src/serialport_unix.cpp:176:13: note: 'snprintf' output 20 or more bytes (assuming 1043) into a destination of size 1024
           snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
           ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../src/serialport_unix.cpp: In function 'void EIO_Open(uv_work_t*)':
      ../src/serialport_unix.cpp:86:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
           snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../src/serialport_unix.cpp:86:13: note: 'snprintf' output 22 or more bytes (assuming 1045) into a destination of size 1024
           snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
           ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      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.
      
      

      Ich habe es 2x versucht und immer mit dem gleichen Ergebnis.
      Beim 1. Versuch habe ich vorher noch Nodejs installiert.
      Vor dem 2. Versuch habe ich wieder mit dem frischen Image angefangt.

      Irgend jemand eine Idee, was ich falsch mache?

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von Thomas Braun
      #2

      @manuel001

      In deinem Auszug steht kein Fehler drin.
      Da müsste aber noch mehr kommen.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Antwort Letzte Antwort
      0
      • M Offline
        M Offline
        Manuel001
        schrieb am zuletzt editiert von Manuel001
        #3

        @thomas-braun
        Die Meldungen ab Zeile 102 sind also normal?
        Der letzte Teil ab Zeile 189 war gelb hinterlegt. Danach ist nichts mehr gekommen.
        Also kein Schritt 4/4.

        Ich habe mich jetzt nochmal mit SSH verbunden und das probiert:

        pi@ioBrokerWallbox:~ $ ps -A | grep iobroker
        pi@ioBrokerWallbox:~ $ cd /opt/iobroker
        pi@ioBrokerWallbox:/opt/iobroker $ iobroker start
        -bash: iobroker: command not found
        pi@ioBrokerWallbox:/opt/iobroker $
        
        

        Dann habe ich nochmal curl -sLf https://iobroker.net/install.sh | bash - ausgeführt und es ist folgendes innerhalb von ein paar Sekunden durchgelaufen:

        
        ==========================================================================
        
            Welcome to the ioBroker installer!
            Installer version: 2021-04-07
        
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/4)
        ==========================================================================
        
        Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
        Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]
        Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
        Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
        Fetched 408 kB in 2s (185 kB/s)
        Reading package lists... Done
        Changing npm registry to https://registry.npmjs.org
        Installed gcc-c++
        
        ==========================================================================
            Creating ioBroker user and directory (2/4)
        ==========================================================================
        
        Created /etc/sudoers.d/iobroker
        Directory /opt/iobroker created
        
        ==========================================================================
            Installing ioBroker (3/4)
        ==========================================================================
        
        
        ==========================================================================
            Finalizing installation (4/4)
        ==========================================================================
        
        Enabling autostart...
        Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
        Autostart enabled!
        Fixing directory permissions...
        
        ==========================================================================
        
            ioBroker was installed successfully
        
        

        Da dürfte irgendetwas gehängt sein. Aber jetzt funktioniert es!

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • M Manuel001

          Ich habe schon 2 Raspberry Pi 2 mit IoBroker laufen. Jetzt wollte ich noch einen weiteren (Pi 3B) einrichten, aber ich scheitere daran.
          Folgendes habe ich gemacht:
          Raspberry Pi OS Lite Image installiert -> deutsche Tastatur, fixe IP und SSH eingestellt.
          Dann ->
          curl -sLf https://iobroker.net/install.sh | bash -

          ==========================================================================
          
              Welcome to the ioBroker installer!
              Installer version: 2021-04-07
          
              You might need to enter your password a couple of times.
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/4)
          ==========================================================================
          
          Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
          Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]
          Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0                                                                  MB]
          Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
          Fetched 13.4 MB in 16s (854 kB/s)
          Reading package lists... Done
          
          ==========================================================================
          
              Node.js not found. Installing...
          
          ==========================================================================
          
          
          ## Installing the NodeSource Node.js 12.x repo...
          
          
          ## Populating apt-get cache...
          
          + apt-get update
          Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
          Hit:2 http://archive.raspberrypi.org/debian buster InRelease
          Reading package lists... Done
          
          ## Confirming "buster" is supported...
          
          + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/buster/Rele                                                                 ase'
          
          ## 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: WARNING: unsafe ownership on homedir '/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.nodesourc                                                                 e.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.nodes                                                                 ource.com/node_12.x buster main' >> /etc/apt/sources.list.d/nodesource.list
          
          ## Running `apt-get update` for you...
          
          + apt-get update
          Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
          Hit:2 http://archive.raspberrypi.org/debian buster InRelease
          Get:3 https://deb.nodesource.com/node_12.x buster InRelease [4584 B]
          Get:4 https://deb.nodesource.com/node_12.x buster/main armhf Packages [773 B]
          Fetched 5357 B in 2s (2219 B/s)
          Reading package lists... Done
          
          ## 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 te                                                                 e /usr/share/keyrings/yarnkey.gpg >/dev/null
               echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.co                                                                 m/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
               sudo apt-get update && sudo apt-get install yarn
          
          
          Installed nodejs
          Node.js Installed successfully!
          Changing npm registry to https://registry.npmjs.org
          Installed acl
          Installed gcc-c++
          Installed libavahi-compat-libdnssd-dev
          Installed libudev-dev
          Installed libpam0g-dev
          Installed git
          Installed libcairo2-dev
          Installed libpango1.0-dev
          Installed libjpeg-dev
          Installed libgif-dev
          Installed librsvg2-dev
          Installed python-dev
          
          ==========================================================================
              Creating ioBroker user and directory (2/4)
          ==========================================================================
          
          User iobroker created
          Created /etc/sudoers.d/iobroker
          Directory /opt/iobroker created
          
          
          ==========================================================================
              Installing ioBroker (3/4)
          ==========================================================================
          
          In file included from ../../nan/nan.h:56,
                           from ../src/main.cpp:3:
          /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736:43: warning: cast betwe                                                                 en 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),                          \
                                                     ^
          /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770:3: note: in expansion o                                                                 f 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 ../../nan/nan.h:56,
                           from ../src/unix_dgram.cc:5:
          /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736: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),                          \
                                                     ^
          /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770: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)
           ^~~~~~~~~~~
          ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/serialport.cpp:78:69: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
             uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                               ^~~~~~~~~~~~~
          ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/serialport.cpp:135:71: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
             uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                                 ^~~~~~~~~~~~~~~
          ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/serialport.cpp:175:70: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
             uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                                ^~~~~~~~~~~~~~
          ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/serialport.cpp:215:70: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
             uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                                ^~~~~~~~~~~~~~
          ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/serialport.cpp:271:68: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
             uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                              ^~~~~~~~~~~~
          ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/serialport.cpp:316:68: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
             uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                              ^~~~~~~~~~~~
          ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/serialport.cpp:366:76: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
             uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                      ^~~~~~~~~~~~~~~~~~~~
          ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/serialport.cpp:412:70: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
             uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                                ^~~~~~~~~~~~~~
          ../src/serialport.cpp: At global scope:
          ../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of 'ToParityEnum' [-Wparentheses]
           SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                      ^
          ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of 'ToStopBitEnum' [-Wparentheses]
           SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                        ^
          In file included from ../../../nan/nan.h:56,
                           from ../src/./serialport.h:6,
                           from ../src/serialport.cpp:1:
          /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:736:43: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka '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),                          \
                                                     ^
          /home/pi/.cache/node-gyp/12.22.1/include/node/node.h:770:3: note: in expansion of macro 'NODE_MODULE_X'
             NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
             ^~~~~~~~~~~~~
          ../src/serialport.cpp:486:1: note: in expansion of macro 'NODE_MODULE'
           NODE_MODULE(serialport, init);
           ^~~~~~~~~~~
          ../src/serialport_unix.cpp: In function 'int setup(int, OpenBaton*)':
          ../src/serialport_unix.cpp:176:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
               snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
          ../src/serialport_unix.cpp:176:13: note: 'snprintf' output 20 or more bytes (assuming 1043) into a destination of size 1024
               snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
               ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          ../src/serialport_unix.cpp: In function 'void EIO_Open(uv_work_t*)':
          ../src/serialport_unix.cpp:86:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
               snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
          ../src/serialport_unix.cpp:86:13: note: 'snprintf' output 22 or more bytes (assuming 1045) into a destination of size 1024
               snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
               ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          
          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.
          
          

          Ich habe es 2x versucht und immer mit dem gleichen Ergebnis.
          Beim 1. Versuch habe ich vorher noch Nodejs installiert.
          Vor dem 2. Versuch habe ich wieder mit dem frischen Image angefangt.

          Irgend jemand eine Idee, was ich falsch mache?

          UncleSamU Offline
          UncleSamU Offline
          UncleSam
          Developer
          schrieb am zuletzt editiert von
          #4

          @manuel001 Gibt es einen Grund, dass du nicht das fertige Image nimmst? (oder ist das nicht für Pi3?)
          https://www.iobroker.net/#en/download

          Ansonsten: ja, was @Thomas-Braun schon sagt: ich sehe keinen Fehler und du sagst auch nicht, was schief geht, ausser dass du "scheiterst".

          Und wenn er immer am gleichen Ort abbricht: Spannungs- oder SD-Karten-Problem?

          Bitte bei Problemen mit meinen Adaptern, Issue auf GitHub erfassen: Loxone | I2C | Luxtronik2
          ♡-lichen Dank an meine Sponsoren

          M 1 Antwort Letzte Antwort
          0
          • M Manuel001

            @thomas-braun
            Die Meldungen ab Zeile 102 sind also normal?
            Der letzte Teil ab Zeile 189 war gelb hinterlegt. Danach ist nichts mehr gekommen.
            Also kein Schritt 4/4.

            Ich habe mich jetzt nochmal mit SSH verbunden und das probiert:

            pi@ioBrokerWallbox:~ $ ps -A | grep iobroker
            pi@ioBrokerWallbox:~ $ cd /opt/iobroker
            pi@ioBrokerWallbox:/opt/iobroker $ iobroker start
            -bash: iobroker: command not found
            pi@ioBrokerWallbox:/opt/iobroker $
            
            

            Dann habe ich nochmal curl -sLf https://iobroker.net/install.sh | bash - ausgeführt und es ist folgendes innerhalb von ein paar Sekunden durchgelaufen:

            
            ==========================================================================
            
                Welcome to the ioBroker installer!
                Installer version: 2021-04-07
            
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/4)
            ==========================================================================
            
            Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
            Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.9 kB]
            Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
            Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
            Fetched 408 kB in 2s (185 kB/s)
            Reading package lists... Done
            Changing npm registry to https://registry.npmjs.org
            Installed gcc-c++
            
            ==========================================================================
                Creating ioBroker user and directory (2/4)
            ==========================================================================
            
            Created /etc/sudoers.d/iobroker
            Directory /opt/iobroker created
            
            ==========================================================================
                Installing ioBroker (3/4)
            ==========================================================================
            
            
            ==========================================================================
                Finalizing installation (4/4)
            ==========================================================================
            
            Enabling autostart...
            Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
            Autostart enabled!
            Fixing directory permissions...
            
            ==========================================================================
            
                ioBroker was installed successfully
            
            

            Da dürfte irgendetwas gehängt sein. Aber jetzt funktioniert es!

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von Thomas Braun
            #5

            @manuel001 sagte in Installation auf Raspberry Pi 3B schlägt immer wieder fehl:

            Die Meldungen ab Zeile 102 sind also normal?

            Ja, das ist die Kompilierung von serialport. Das sieht immer so 'schräg' aus.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            M 1 Antwort Letzte Antwort
            0
            • UncleSamU UncleSam

              @manuel001 Gibt es einen Grund, dass du nicht das fertige Image nimmst? (oder ist das nicht für Pi3?)
              https://www.iobroker.net/#en/download

              Ansonsten: ja, was @Thomas-Braun schon sagt: ich sehe keinen Fehler und du sagst auch nicht, was schief geht, ausser dass du "scheiterst".

              Und wenn er immer am gleichen Ort abbricht: Spannungs- oder SD-Karten-Problem?

              M Offline
              M Offline
              Manuel001
              schrieb am zuletzt editiert von
              #6

              @unclesam
              Naja. Das fertige Image hätte ich zwischen Versuch 1 und Versuch 2 probiert.
              Da bin ich aber daran gescheitert, dass es keine Konsolenausgabe über HDMI gab (SSH hat funktioniert) und ich konnte keine fixe IP einstellen.
              Das habe ich hier rein geschrieben: https://forum.iobroker.net/topic/41520/test-image-raspberry-pi-os-v1-0-0/52

              1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @manuel001 sagte in Installation auf Raspberry Pi 3B schlägt immer wieder fehl:

                Die Meldungen ab Zeile 102 sind also normal?

                Ja, das ist die Kompilierung von serialport. Das sieht immer so 'schräg' aus.

                M Offline
                M Offline
                Manuel001
                schrieb am zuletzt editiert von
                #7

                @thomas-braun
                Ah ok danke. Irgendwie hat das für mich als Laie nicht so normal ausgeschaut. Vor allem, weil es danach gehängt ist.

                HomoranH 1 Antwort Letzte Antwort
                0
                • M Manuel001

                  @thomas-braun
                  Ah ok danke. Irgendwie hat das für mich als Laie nicht so normal ausgeschaut. Vor allem, weil es danach gehängt ist.

                  HomoranH Nicht stören
                  HomoranH Nicht stören
                  Homoran
                  Global Moderator Administrators
                  schrieb am zuletzt editiert von
                  #8

                  @manuel001 sagte in Installation auf Raspberry Pi 3B schlägt immer wieder fehl:

                  Vor allem, weil es danach gehängt ist.

                  danach kommt eine längere Zeit eine Aktion im Hintergrund.
                  Die dauert.
                  Danach geht's schon weiter!

                  kein Support per PN! - Fragen im Forum stellen -
                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  M 1 Antwort Letzte Antwort
                  0
                  • HomoranH Homoran

                    @manuel001 sagte in Installation auf Raspberry Pi 3B schlägt immer wieder fehl:

                    Vor allem, weil es danach gehängt ist.

                    danach kommt eine längere Zeit eine Aktion im Hintergrund.
                    Die dauert.
                    Danach geht's schon weiter!

                    M Offline
                    M Offline
                    Manuel001
                    schrieb am zuletzt editiert von
                    #9

                    @homoran
                    Dann war ich wohl zu ungeduldig.
                    Es hat für mich einfach nach Fehler ausgeschaut, wenn die halbe Seite mit Gelb hinterlegt ist.

                    AlCalzoneA 1 Antwort Letzte Antwort
                    0
                    • M Manuel001

                      @homoran
                      Dann war ich wohl zu ungeduldig.
                      Es hat für mich einfach nach Fehler ausgeschaut, wenn die halbe Seite mit Gelb hinterlegt ist.

                      AlCalzoneA Offline
                      AlCalzoneA Offline
                      AlCalzone
                      Developer
                      schrieb am zuletzt editiert von
                      #10

                      @manuel001 sagte in [Gelöst] Installation auf Raspi 3B schlägt immer wieder fehl:

                      Es hat für mich einfach nach Fehler ausgeschaut, wenn die halbe Seite mit Gelb hinterlegt ist.

                      Dann hast du die gelbe Meldung wohl nicht gelesen :)
                      Die müsste dir nämlich etwas zum integrierten error reporting erklären.

                      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                      M 1 Antwort Letzte Antwort
                      1
                      • AlCalzoneA AlCalzone

                        @manuel001 sagte in [Gelöst] Installation auf Raspi 3B schlägt immer wieder fehl:

                        Es hat für mich einfach nach Fehler ausgeschaut, wenn die halbe Seite mit Gelb hinterlegt ist.

                        Dann hast du die gelbe Meldung wohl nicht gelesen :)
                        Die müsste dir nämlich etwas zum integrierten error reporting erklären.

                        M Offline
                        M Offline
                        Manuel001
                        schrieb am zuletzt editiert von
                        #11

                        @alcalzone
                        Wenn da mehrmals ""Error: %s, cannot open %s", strerror(errno), data->path)" steht, sieht das für mich als Laie so aus, wie wenn da etwas nicht funktioniert hat.

                        AlCalzoneA 1 Antwort Letzte Antwort
                        0
                        • M Manuel001

                          @alcalzone
                          Wenn da mehrmals ""Error: %s, cannot open %s", strerror(errno), data->path)" steht, sieht das für mich als Laie so aus, wie wenn da etwas nicht funktioniert hat.

                          AlCalzoneA Offline
                          AlCalzoneA Offline
                          AlCalzone
                          Developer
                          schrieb am zuletzt editiert von
                          #12

                          @manuel001 Touché

                          Ich erinnere mich allerdings nur an eine längere Pause bei der Installation, vor der ebenfalls in gelbem Text fast Vollbild erklärt wird, wie man die Fehlerberichterstattung abschalten kann.

                          Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                          M 1 Antwort Letzte Antwort
                          0
                          • AlCalzoneA AlCalzone

                            @manuel001 Touché

                            Ich erinnere mich allerdings nur an eine längere Pause bei der Installation, vor der ebenfalls in gelbem Text fast Vollbild erklärt wird, wie man die Fehlerberichterstattung abschalten kann.

                            M Offline
                            M Offline
                            Manuel001
                            schrieb am zuletzt editiert von
                            #13

                            @alcalzone
                            Ja das war eh diese Meldung. (habe ich mir erst später genauer gelesen)
                            Aber sind die Zeilen mit "Error: %s, cannot open %s", strerror(errno), data->path)" normal bzw. können ignoriert werden?

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • M Manuel001

                              @alcalzone
                              Ja das war eh diese Meldung. (habe ich mir erst später genauer gelesen)
                              Aber sind die Zeilen mit "Error: %s, cannot open %s", strerror(errno), data->path)" normal bzw. können ignoriert werden?

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #14

                              @manuel001
                              Ja. Das ist harmlos.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              1 Antwort Letzte Antwort
                              0

                              Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                              Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                              Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                              Registrieren Anmelden
                              Antworten
                              • In einem neuen Thema antworten
                              Anmelden zum Antworten
                              • Älteste zuerst
                              • Neuste zuerst
                              • Meiste Stimmen


                              Support us

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

                              524

                              Online

                              32.9k

                              Benutzer

                              83.0k

                              Themen

                              1.3m

                              Beiträge
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                              ioBroker Community 2014-2025
                              logo
                              • Anmelden

                              • Du hast noch kein Konto? Registrieren

                              • Anmelden oder registrieren, um zu suchen
                              • Erster Beitrag
                                Letzter Beitrag
                              0
                              • Home
                              • Aktuell
                              • Tags
                              • Ungelesen 0
                              • Kategorien
                              • Unreplied
                              • Beliebt
                              • GitHub
                              • Docu
                              • Hilfe