Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Instalation nach Anleitung Fehlerhaft

    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

    Instalation nach Anleitung Fehlerhaft

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      davimas last edited by

      Whow, Danke für die schnelle Antwort! Hammer.

      Aber weshalb erreiche ich dann das Webinterface unter der 192.168.178.72:8081 nicht?

      hab hier schon aus dem anderen Thread diese Neuinstalation versucht:

      cd /opt/iobroker
      sudo iobroker stop
      sudo npm cache clean
      sudo npm install iobroker.js-controller --unsafe-perm
      
      

      aber bei: sudo iobroker stop

      kommt, dass er garnicht läuft….....aaaaaaaaaaaaah 😄

      by,

      <u>edit:</u>

      da steht doch "Einiges"

      Ich kann es leider nicht interpretieren, es ist absolut 1 zu 1 nach Anleitung, und trotzdem klappt es nicht…...

      npm@3.10.10 /usr/lib/node_modules/npm
      root@raspberrypi:/opt/iobroker# root@raspberrypi:/opt/iobroker# http://ip-addr:8081
      -bash: root@raspberrypi:/opt/iobroker#: No such file or directory
      root@raspberrypi:/opt/iobroker#
      root@raspberrypi:/opt/iobroker# ls -l /usr/local/bin/node*
      ls: cannot access /usr/local/bin/node*: No such file or directory
      root@raspberrypi:/opt/iobroker# sudo ln -s /usr/local/bin/nodejs /usr/bin/node
      ln: failed to create symbolic link ‘/usr/bin/node’: File exists
      root@raspberrypi:/opt/iobroker# cd /opt/iobroker
      root@raspberrypi:/opt/iobroker# sudo iobroker stop
      iobroker controller daemon is not running
      root@raspberrypi:/opt/iobroker# sudo npm cache clean
      root@raspberrypi:/opt/iobroker# sudo npm install iobroker.js-controller --unsafe-perm
      npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
      

      David

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

        Dann mache was dein log sagt 😉
        @davimas:

        Write "./iobroker start" to start the ioBroker `

        Gruß

        Rainer

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

          Hast Du es denn mal mit „sudo iobroker start“ probiert?

          Dann bitte etwas warten (1-2 Minuten zur Sicherheit), damit alles hochgefahren werden kann - dann bitte erst den Zugriff auf den Admin probieren.

          Gruß,

          Eric

          Gesendet von iPad mit Tapatalk

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

            wo kommt jetzt das edit her?

            was machst du da alles?

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • AlCalzone
              AlCalzone Developer last edited by

              @Homoran:

              Dann mache was dein log sagt 😉
              @davimas:

              Write "./iobroker start" to start the ioBroker
              Zugegeben, das ist etwas versteckt. Aber da steht auch, dass ioBroker schon läuft:

              ` > Write "./iobroker start" to start the ioBroker

              Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start

              iobroker is started. Go to "http://ip-addr:8081" to open the admin UI. `

              1 Reply Last reply Reply Quote 0
              • D
                davimas last edited by

                @Homoran:

                Dann mache was dein log sagt 😉
                @davimas:

                Write "./iobroker start" to start the ioBroker `

                Gruß

                Rainer `

                Witzig! Hase! 😄

                Du hab da mit dem Zeug nicht so den Durchblick, und bin nach Anleitung gegangen…....

                Steht das so in der Anleitung? Nein, da steht das nicht, dass man das noch starten muss......

                Sorry für den "Klugscheissermodus"

                Vielen Dank! Es geht jetzt.

                Jungs Ihr seid Spitze, hatte noch in keinem anderen Forum so schnelle Antworten und Hilfe, Dank dafür, es läuft jetzt durch den Befehl: ./iobroker start

                by

                David

                edit:
                @AlCalzone:

                Zugegeben, das ist etwas versteckt. Aber da steht auch, dass ioBroker schon läuft: `

                Ja genau das dachte ich…....warscheinlich hätte ich einfach reboot machen solln..... 😉

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

                  Im Forum ist schon mehrfach gepostet worden, das es da nach der Erst-Installation zu ebendiesem Phänomen kommen kann.

                  Das Setup ist der Meinung, das ioBroker läuft … tut es aber nicht.

                  Ist wohl auch Basis-OS abhängig.... hatte schon Test-Installationen, wo sogar „iobroker status“ ein „is running“ brachte, und ein direkt danach gemachtes „iobroker start“ dann erst den wirklich start brachte (oder eben ein reboot).

                  Wie gesagt, steht schon mind. drei mal irgendwo im Forum.

                  Gruß,

                  Eric

                  Gesendet von iPad mit Tapatalk

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

                    Nachtrag:

                    Steht (jetzt) auch in den FAQs.

                    Gruß,

                    Eric

                    Gesendet von iPad mit Tapatalk

                    1 Reply Last reply Reply Quote 0
                    • T
                      ThomasDr last edited by

                      @davimas:

                      Hey,

                      bekomm das nicht auf dem RPI3 installiert.

                      Nach dieser Anleitung, so wie sie da steht, klappt es definitiv nicht, soll ich es ein Drittes mal ausführen?

                      http://www.iobroker.net/docu/?page_id=5 … ion_Nodejs

                      Wo ist der Hase begraben? Was kann man oder muss man in der Anleitung ändern?

                      hier bekomme ich Fehlermeldungen:

                      root@raspberrypi:~# node -v
                      v6.12.1
                      root@raspberrypi:~# sudo mkdir /opt/iobroker
                      root@raspberrypi:~# sudo chmod 777 /opt/iobroker
                      root@raspberrypi:~# cd /opt/iobroker
                      root@raspberrypi:/opt/iobroker# sudo npm install iobroker --unsafe-perm
                      
                      > iobroker@1.0.2 install /opt/iobroker/node_modules/iobroker
                      > node lib/setup.js
                      
                      npm install iobroker.discovery --production --prefix /opt/iobroker
                      node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serrt-v4.0.7-node-v48-linux-arm.tar.gz
                      node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.12.1 (node-v48 ABI) (falling back to source compile node-gyp)
                      ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’:
                      ../src/serialport.cpp:90:52: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         return getValueFromObject(options, key)->ToInt32()->Int32Value();
                                                                          ^
                      ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’:
                      ../src/serialport.cpp:102:53: warning: ‘v8::Local <v8::number>v8::Value::ToNumber() const’ is deprecated (declared at /root/.node-g12.1/include/node/v8.h:8178): Use maybe version [-Wdeprecated-declarations]
                         return getValueFromObject(options, key)->ToNumber()->NumberValue();
                                                                           ^
                      ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                      ../src/serialport.cpp:174:31: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                           int fd = argv[1]->ToInt32()->Int32Value();
                                                     ^
                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/serialport.cpp:193:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         int fd = info[0]->ToInt32()->Int32Value();
                                                   ^
                      ../src/serialport.cpp:217:116: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gy2.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         baton->baudRate = Nan::Get(options, Nan::New<v8::string>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value()
                                                                                                                                          ^
                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/serialport.cpp:252:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         int fd = info[0]->ToInt32()->Int32Value();
                                                   ^
                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/serialport.cpp:369:32: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         baton->fd = info[0]->ToInt32()->Int32Value();
                                                      ^
                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/serialport.cpp:480:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         int fd = info[0]->ToInt32()->Int32Value();
                                                   ^
                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/serialport.cpp:528:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         int fd = info[0]->ToInt32()->Int32Value();
                                                   ^
                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/serialport.cpp:585:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         int fd = info[0]->ToInt32()->Int32Value();
                                                   ^
                      ../src/serialport_unix.cpp: In function ‘OpenBatonPlatformOptions* ParsePlatformOptions(const v8::Local<v8::object>&)’:
                      ../src/serialport_unix.cpp:44:109: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.nod/6.12.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         result->vmin = Nan::Get(options, Nan::New<v8::string>("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                   ^
                      ../src/serialport_unix.cpp:45:111: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.nod/6.12.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         result->vtime = Nan::Get(options, Nan::New<v8::string>("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                     ^
                      ../src/serialport_poller.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SerialportPoller::New(Nan::NAN_METHOD_AYPE)’:
                      ../src/serialport_poller.cpp:86:31: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated (declared at /root/.nop/6.12.1/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
                         obj->fd_ = info[0]->ToInt32()->Int32Value();
                                                     ^
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                      npm WARN iobroker No description
                      npm WARN iobroker No repository field.
                      npm WARN iobroker No README data
                      npm WARN iobroker No license field.
                      npm install iobroker.admin --production --prefix /opt/iobroker
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                      npm WARN iobroker No description
                      npm WARN iobroker No repository field.
                      npm WARN iobroker No README data
                      npm WARN iobroker No license field.
                      npm install iobroker.js-controller --production --prefix /opt/iobroker
                      npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                      npm WARN iobroker No description
                      npm WARN iobroker No repository field.
                      npm WARN iobroker No README data
                      npm WARN iobroker No license field.
                      Write "./iobroker start" to start the ioBroker
                      Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
                      iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
                      /opt/iobroker
                      └─┬ iobroker@1.0.2
                        └─┬ yargs@7.1.0
                          ├── camelcase@3.0.0
                          ├─┬ cliui@3.2.0
                          │ ├─┬ strip-ansi@3.0.1
                          │ │ └── ansi-regex@2.1.1
                          │ └── wrap-ansi@2.1.0
                          ├── decamelize@1.2.0
                          ├── get-caller-file@1.0.2
                          ├─┬ os-locale@1.4.0
                          │ └─┬ lcid@1.0.0
                          │   └── invert-kv@1.0.0
                          ├─┬ read-pkg-up@1.0.1
                          │ ├─┬ find-up@1.1.2
                          │ │ ├── path-exists@2.1.0
                          │ │ └─┬ pinkie-promise@2.0.1
                          │ │   └── pinkie@2.0.4
                          │ └─┬ read-pkg@1.1.0
                          │   ├─┬ load-json-file@1.1.0
                          │   │ ├── graceful-fs@4.1.11
                          │   │ ├─┬ parse-json@2.2.0
                          │   │ │ └─┬ error-ex@1.3.1
                          │   │ │   └── is-arrayish@0.2.1
                          │   │ ├── pify@2.3.0
                          │   │ └─┬ strip-bom@2.0.0
                          │   │   └── is-utf8@0.2.1
                          │   ├─┬ normalize-package-data@2.4.0
                          │   │ ├── hosted-git-info@2.5.0
                          │   │ ├─┬ is-builtin-module@1.0.0
                          │   │ │ └── builtin-modules@1.1.1
                          │   │ ├── semver@5.4.1
                          │   │ └─┬ validate-npm-package-license@3.0.1
                          │   │   ├─┬ spdx-correct@1.0.2
                          │   │   │ └── spdx-license-ids@1.2.2
                          │   │   └── spdx-expression-parse@1.0.4
                          │   └── path-type@1.1.0
                          ├── require-directory@2.1.1
                          ├── require-main-filename@1.0.1
                          ├── set-blocking@2.0.0
                          ├─┬ string-width@1.0.2
                          │ ├── code-point-at@1.1.0
                          │ └─┬ is-fullwidth-code-point@1.0.0
                          │   └── number-is-nan@1.0.1
                          ├── which-module@1.0.0
                          ├── y18n@3.2.1
                          └── yargs-parser@5.0.0
                      
                      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                      npm WARN iobroker No description
                      npm WARN iobroker No repository field.
                      npm WARN iobroker No README data
                      npm WARN iobroker No license field.</v8::int32></v8::string></v8::int32></v8::string></v8::int32></v8::object></v8::int32></v8::int32></v8::int32></v8::int32></v8::int32></v8::string></v8::int32></v8::int32></v8::int32></v8::number></v8::object></v8::int32></v8::object>
                      

                      by,

                      David ` Hallo, bin mir nicht sicher ob das normal ist, mal probiert ob die lokale Website erreichbar ist?

                      Zu mindest steht ja dort iobroker start.

                      Schöne Grüße

                      ThomasD

                      Gesendet von meinem BV6000 mit Tapatalk

                      1 Reply Last reply Reply Quote 0
                      • D
                        der_Auge last edited by

                        so ein Befehl bringt helles in das dunkele

                         ps -A | grep " io.*"
                        

                        ! 943 ? 02:01:43 iobroker.js-con
                        ! 953 ? 00:28:35 io.admin.0
                        ! 988 ? 00:00:52 io.text2command
                        ! 998 ? 00:02:13 io.sonos.0
                        ! 1018 ? 00:03:05 io.sql.0
                        ! 1028 ? 00:00:51 io.sayit.0
                        ! 1038 ? 00:01:46 io.ping.0
                        ! 1052 ? 00:00:57 io.node-red.0
                        ! 1078 ? 00:24:57 io.mqtt.0
                        ! 1092 ? 00:31:45 io.javascript.0
                        ! 1125 ? 00:08:41 io.web.0
                        ! 1290 ? 00:00:51 io.email.0
                        ! 1311 ? 00:00:49 io.scenes.0
                        ! 1325 ? 00:00:54 io.socketio.0
                        ! 1335 ? 00:00:53 io.radar.0
                        ! 1358 ? 00:00:55 io.broadlink2.0
                        ! 1903 ? 00:01:11 io.rflink.0
                        Gruß

                        Jürgen

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

                        Support us

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

                        424
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

                        6
                        12
                        981
                        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