Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Installation schlägt immer fehl..

    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

    Installation schlägt immer fehl..

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

      @timy
      Mach die Kiste platt und dann NIE als root anmelden.

      Als user pi

      curl -sLf https://iobroker.net/install.sh | bash -
      

      eingeben, fertig.

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

        @thomas-braun habe ich gemacht...
        Auch Fehler...

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

          @timy Das ist Schade.
          Komplette Ausgabe posten, in CodeTags!
          Und ich will da nix von /root drin lesen.

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

            @thomas-braun mehr zeigt es nicht...

            Das was ich gepostet habe ist schon komplett

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

              @timy Dann nochmal...
              System plattmachen.
              System installieren, updaten, rebooten,

              curl -sLf https://iobroker.net/install.sh | bash
              

              eingeben, fertig. Nicht root werden. Nie.

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

                @thomas-braun den nodejs nicht vorher installieren?
                Ansonsten einfach nur den curl Befehl?

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

                  @timy

                  Nur diese eine kleine Zeile. Mehr ist gar nicht erforderlich, auf einem sauberen Grundsystem.

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

                    @thomas-braun okay.
                    update läuft gerade noch auf neuem System.

                    ich probiere es.

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

                      @timy sagte in Installation schlägt immer fehl..:

                      Auch Fehler...

                      Vielleicht kann ich da mehr sehen, wenn es in code-tags ist, aber ich meine da ist kein Fehler!

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

                        @homoran
                        Außer der Installation als root ist da ja auch keiner. 🕶

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

                          und wieder der Fehler...

                          pi@raspberrypi:~ $ curl -sLf https://iobroker.net/install.sh | bash
                          library: loaded
                          Library version=2021-01-23
                          
                          ==========================================================================
                          
                              Welcome to the ioBroker installer!
                              Installer version: 2020-12-07
                          
                              You might need to enter your password a couple of times.
                          
                          ==========================================================================
                          
                          
                          ==========================================================================
                              Installing prerequisites (1/4)
                          ==========================================================================
                          
                          OK:1 http://archive.raspberrypi.org/debian buster InRelease
                          Holen:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
                          Holen:3 http://packages.microsoft.com/repos/code stable InRelease [10,4 kB]
                          Holen:4 http://packages.microsoft.com/repos/code stable/main armhf Packages [15,6 kB]
                          Holen:5 http://packages.microsoft.com/repos/code stable/main arm64 Packages [15,8 kB]
                          Holen:6 http://packages.microsoft.com/repos/code stable/main amd64 Packages [15,2 kB]
                          Es wurden 72,0 kB in 2 s geholt (38,1 kB/s).
                          Paketlisten werden gelesen... Fertig
                          
                          ==========================================================================
                          
                              Node.js not found. Installing...
                          
                          ==========================================================================
                          
                          
                          ## Installing the NodeSource Node.js 12.x repo...
                          
                          
                          ## Populating apt-get cache...
                          
                          + apt-get update
                          OK:1 http://packages.microsoft.com/repos/code stable InRelease
                          OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                          OK:3 http://archive.raspberrypi.org/debian buster InRelease
                          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 | apt-key add -
                          OK
                          
                          ## Creating apt sources list file for the NodeSource Node.js 12.x repo...
                          
                          + echo 'deb https://deb.nodesource.com/node_12.x buster main' > /etc/apt/sources.list.d/nodesource.list
                          + echo 'deb-src 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
                          OK:3 http://packages.microsoft.com/repos/code stable InRelease
                          Holen:4 https://deb.nodesource.com/node_12.x buster InRelease [4.584 B]
                          Holen:5 https://deb.nodesource.com/node_12.x buster/main armhf Packages [774 B]
                          Es wurden 5.358 B in 2 s geholt (2.248 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 | sudo apt-key add -
                               echo "deb 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
                          
                          
                          Installed nodejs
                          Node.js Installed successfully!
                          Changing npm registry to https://registry.npmjs.org
                          Installed gcc-c++
                          Installed libavahi-compat-libdnssd-dev
                          Installed libudev-dev
                          Installed libpam0g-dev
                          Installed libcairo2-dev
                          Installed libpango1.0-dev
                          Installed libjpeg-dev
                          Installed libgif-dev
                          Installed librsvg2-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.21.0/include/node/node.h:737: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.21.0/include/node/node.h:771: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 ../../nan/nan.h:56,
                                           from ../src/unix_dgram.cc:5:
                          /home/pi/.cache/node-gyp/12.21.0/include/node/node.h:737: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.21.0/include/node/node.h:771: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.21.0/include/node/node.h:737: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.21.0/include/node/node.h:771: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.
                          
                          

                          Danach habe ich ein reboot durchgeführt aber gestartet wurde da nichts...

                          Thomas Braun T Homoran 3 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @timy last edited by

                            @timy

                            iobroker status
                            
                            T 1 Reply Last reply Reply Quote 0
                            • T
                              timy @timy last edited by

                              habe noch

                              curl -sL https://iobroker.net/fix.sh | bash -
                              
                              

                              durchgeführt danach

                              ibroker start
                              

                              danach ist es gestartet...
                              Aber irgendwie schon sehr komisch

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

                                @thomas-braun da kam das..

                                pi@raspberrypi:~ $ iobroker status
                                -bash: iobroker: Kommando nicht gefunden.
                                

                                wie gesagt mit der reparatur hat es dann geklappt.

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

                                  @timy

                                  Der Fixer war vermutlich unnötig.
                                  Aber schadet auch nix.

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

                                    @thomas-braun der fixer hat das dann gerade gerückt.
                                    danach konnte ich iobroker den status auslesen usw

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

                                      @timy sagte in Installation schlägt immer fehl..:

                                      Danach habe ich ein reboot durchgeführt aber gestartet wurde da nichts...

                                      da war er noch nicht fertig!

                                      Er ist fertig wenn das da auch steht:

                                      Installation fertig, öffne IP:801...

                                      Oder so ähnlich

                                      T 1 Reply Last reply Reply Quote 1
                                      • T
                                        timy @Homoran last edited by

                                        @homoran der war fertig...
                                        es kam danach die bash und nichts weiter.

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

                                          @timy sagte in Installation schlägt immer fehl..:

                                          der war fertig...

                                          dann hast du nicht alles gepostet

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          497
                                          Online

                                          31.9k
                                          Users

                                          80.1k
                                          Topics

                                          1.3m
                                          Posts

                                          3
                                          24
                                          1340
                                          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