Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [ gelöst ] Installation iobroker auf openmediavault

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [ gelöst ] Installation iobroker auf openmediavault

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

      Internet ist natürlich vorhanden und funktioniert auch.

      Mein Problem ist wohl eher, dass nodejs in dem normalen Paket total veraltet ist.
      > apt-get install nodejs
      Was aber ja normal an Debian ist wenn man auf Stable setzt.

      Nur scheine ich jetzt zu blöde zu sein eine brauchbare Anleitung zu finden zum installieren von nodejs und npm.

      Ich musste erst mal wieder ein wenig aufräumen.

      Jetzt lief folgendes als Installation durch: ( kommt von https://github.com/nodejs/node-v0.x-arc … debian.org

      echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
      apt-get update
      apt-get install nodejs-legacy
      curl -L --insecure https://www.npmjs.org/install.sh | bash
      
      

      Die Node Version ist jetz:

      root@nas:/opt/iobroker# node -v
      v0.10.29
      
      

      Aber es gibt kein npm

      Jemand eine Idee?

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

        Hm,

        Ich habe iobroker auf meinem OMV System laufen.

        Habe damals eine Anleitung benutzt die auf der alten iobroker Webseite stand.

        Kann morgen mal schauen ob ich die irgendwo gespeichert habe.

        Ich meine da war auch die Installation von NPM beschrieben, 100% sicher bin ich mir aber nicht mehr.

        Kann auch sein das ich das hier benutzt habe: https://github.com/nodejs/node-v0.x-arc … ge-manager

        1 Reply Last reply Reply Quote 0
        • C
          Creator last edited by

          Mit der Anleitung habe ich zwar node drauf, aber kein npm 😞
          ` > root@nas:/opt# node -v

          v5.9.0

          root@nas:/opt# npm -v

          -bash: /usr/local/bin/npm: Datei oder Verzeichnis nicht gefunden `

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

            Bedeutet du hast das auch gemacht:

            apt-get install --yes build-essential
            

            ??

            Oder mal das probiert:

            ! Node and NPM
            ! Run the following (as root):
            ! echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
            ! apt-get update
            ! apt-get install nodejs-legacy
            ! curl -L –insecure https://www.npmjs.org/install.sh | bash

            1 Reply Last reply Reply Quote 0
            • C
              Creator last edited by

              Ja alles durch.

              Habe auch schon selber ein Paket zusammen gebaut aber da gibt es dann wieder andere Probleme weil der Compiler zu alt ist usw.

              Das es nicht einfach möglich ist die source.list zu erweitern und dann eine aktuellere Version bekommt ist….. :evil: :evil:

              Es kann auch einfach sein das ich jetzt wilde Reste hier auf dem system vom vielen rumprobieren habe. 😞

              Wenn jemand noch eine Idee hat gerne her damit.

              Ich Schlaf erstmal eine Nacht drüber.

              Das passiert wenn ich deine 4 Zeilen nutze:

              root@nas:/etc/apt/sources.list.d# curl -L --insecure https://www.npmjs.org/install.sh | bash
                % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                               Dload  Upload   Total   Spent    Left  Speed
                0    51    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
              100  6263  100  6263    0     0   4948      0  0:00:01  0:00:01 --:--:--  8452
              tar=/bin/tar
              version:
              tar (GNU tar) 1.26
              Copyright © 2011 Free Software Foundation, Inc.
              License GPLv3+: GNU GPL Version 3 oder später <http: gnu.org/licenses/gpl.html="">Dies ist freie Software: Sie dürfen sie ändern und weiter verbreiten.
              Es gibt KEINERLEI GARANTIE, so weit das Gesetz es erlaubt.
              
              Geschrieben von John Gilmore und Jay Fenlason.
              install npm@latest
              fetching: http://registry.npmjs.org/npm/-/npm-3.8.2.tgz
              /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
              /usr/lib
              └─┬ npm@3.8.2 
                ├── abbrev@1.0.7 
                ├── ansi-regex@2.0.0 
                ├── ansicolors@0.3.2 
                ├── ansistyles@0.1.3 
                ├── aproba@1.0.1 
                ├── archy@1.0.0 
                ├── async-some@1.0.2 
                ├── chownr@1.0.1 
                ├── cmd-shim@2.0.2 
                ├─┬ columnify@1.5.4 
                │ └─┬ wcwidth@1.0.0 
                │   └─┬ defaults@1.0.3 
                │     └── clone@1.0.2 
                ├─┬ config-chain@1.1.10 
                │ └── proto-list@1.2.4 
                ├── debuglog@1.0.1 
                ├─┬ dezalgo@1.0.3 
                │ └── asap@2.0.3 
                ├── editor@1.0.0 
                ├── fs-vacuum@1.2.7 
                ├── fs-write-stream-atomic@1.0.8 
                ├── fstream@1.0.8 
                ├─┬ fstream-npm@1.0.7 
                │ └─┬ fstream-ignore@1.0.3 
                │   └─┬ minimatch@3.0.0 
                │     └─┬ brace-expansion@1.1.2 
                │       ├── balanced-match@0.3.0 
                │       └── concat-map@0.0.1 
                ├─┬ glob@7.0.3 
                │ ├─┬ minimatch@3.0.0 
                │ │ └─┬ brace-expansion@1.1.3 
                │ │   ├── balanced-match@0.3.0 
                │ │   └── concat-map@0.0.1 
                │ └── path-is-absolute@1.0.0 
                ├── graceful-fs@4.1.3 
                ├── has-unicode@2.0.0 
                ├── hosted-git-info@2.1.4 
                ├── iferr@0.1.5 
                ├── imurmurhash@0.1.4 
                ├── inflight@1.0.4 
                ├── inherits@2.0.1 
                ├── ini@1.3.4 
                ├─┬ init-package-json@1.9.3 
                │ ├─┬ glob@6.0.4 
                │ │ ├─┬ minimatch@3.0.0 
                │ │ │ └─┬ brace-expansion@1.1.3 
                │ │ │   ├── balanced-match@0.3.0 
                │ │ │   └── concat-map@0.0.1 
                │ │ └── path-is-absolute@1.0.0 
                │ └── promzard@0.3.0 
                ├── lockfile@1.0.1 
                ├── lodash._baseindexof@3.1.0 
                ├─┬ lodash._baseuniq@4.5.0 
                │ ├── lodash._createset@4.0.0 
                │ └── lodash._setcache@4.1.0 
                ├── lodash._bindcallback@3.0.1 
                ├── lodash._cacheindexof@3.0.2 
                ├── lodash._createcache@3.1.2 
                ├── lodash._getnative@3.9.1 
                ├─┬ lodash.clonedeep@4.3.1 
                │ └── lodash._baseclone@4.5.3 
                ├── lodash.isarray@4.0.0 
                ├── lodash.keys@4.0.5 
                ├── lodash.restparam@3.6.1 
                ├─┬ lodash.union@4.2.0 
                │ ├── lodash._baseflatten@4.1.0 
                │ └── lodash.rest@4.0.1 
                ├── lodash.uniq@4.2.0 
                ├─┬ lodash.without@4.1.1 
                │ ├─┬ lodash._basedifference@4.4.0 
                │ │ └── lodash._setcache@4.1.1 
                │ └── lodash.rest@4.0.1 
                ├─┬ mkdirp@0.5.1 
                │ └── minimist@0.0.8 
                ├─┬ node-gyp@3.3.1 
                │ ├─┬ glob@4.5.3 
                │ │ └─┬ minimatch@2.0.10 
                │ │   └─┬ brace-expansion@1.1.3 
                │ │     ├── balanced-match@0.3.0 
                │ │     └── concat-map@0.0.1 
                │ ├─┬ minimatch@1.0.0 
                │ │ ├── lru-cache@2.7.3 
                │ │ └── sigmund@1.0.1 
                │ └─┬ path-array@1.0.1 
                │   └─┬ array-index@1.0.0 
                │     ├─┬ debug@2.2.0 
                │     │ └── ms@0.7.1 
                │     └─┬ es6-symbol@3.0.2 
                │       ├── d@0.1.1 
                │       └─┬ es5-ext@0.10.11 
                │         └── es6-iterator@2.0.0 
                ├── nopt@3.0.6 
                ├── normalize-git-url@3.0.1 
                ├─┬ normalize-package-data@2.3.5 
                │ └─┬ is-builtin-module@1.0.0 
                │   └── builtin-modules@1.1.1 
                ├── npm-cache-filename@1.0.2 
                ├── npm-install-checks@3.0.0 
                ├── npm-package-arg@4.1.0 
                ├─┬ npm-registry-client@7.1.0 
                │ ├─┬ concat-stream@1.5.1 
                │ │ └── typedarray@0.0.6 
                │ └── retry@0.8.0 
                ├── npm-user-validate@0.1.2 
                ├─┬ npmlog@2.0.2 
                │ ├── ansi@0.3.1 
                │ ├─┬ are-we-there-yet@1.0.6 
                │ │ └── delegates@1.0.0 
                │ └─┬ gauge@1.2.7 
                │   ├─┬ lodash.pad@4.1.0 
                │   │ ├── lodash.repeat@4.0.0 
                │   │ └── lodash.tostring@4.1.1 
                │   ├── lodash.padend@4.2.0 
                │   └── lodash.padstart@4.2.0 
                ├── once@1.3.3 
                ├── opener@1.4.1 
                ├─┬ osenv@0.1.3 
                │ ├── os-homedir@1.0.1 
                │ └── os-tmpdir@1.0.1 
                ├── path-is-inside@1.0.1 
                ├─┬ read@1.0.7 
                │ └── mute-stream@0.0.5 
                ├── read-cmd-shim@1.0.1 
                ├─┬ read-installed@4.0.3 
                │ └── util-extend@1.0.3 
                ├─┬ read-package-json@2.0.3 
                │ ├─┬ glob@6.0.4 
                │ │ ├─┬ minimatch@3.0.0 
                │ │ │ └─┬ brace-expansion@1.1.3 
                │ │ │   ├── balanced-match@0.3.0 
                │ │ │   └── concat-map@0.0.1 
                │ │ └── path-is-absolute@1.0.0 
                │ └─┬ json-parse-helpfulerror@1.0.3 
                │   └── jju@1.2.1 
                ├── read-package-tree@5.1.2 
                ├─┬ readable-stream@2.0.5 
                │ ├── core-util-is@1.0.2 
                │ ├── isarray@0.0.1 
                │ ├── process-nextick-args@1.0.6 
                │ ├── string_decoder@0.10.31 
                │ └── util-deprecate@1.0.2 
                ├── readdir-scoped-modules@1.0.2 
                ├── realize-package-specifier@3.0.1 
                ├─┬ request@2.69.0 
                │ ├── aws-sign2@0.6.0 
                │ ├─┬ aws4@1.2.1 
                │ │ └── lru-cache@2.7.3 
                │ ├── bl@1.0.1 
                │ ├── caseless@0.11.0 
                │ ├─┬ combined-stream@1.0.5 
                │ │ └── delayed-stream@1.0.0 
                │ ├── extend@3.0.0 
                │ ├── forever-agent@0.6.1 
                │ ├─┬ form-data@1.0.0-rc3 
                │ │ └── async@1.5.2 
                │ ├─┬ har-validator@2.0.6 
                │ │ ├─┬ chalk@1.1.1 
                │ │ │ ├── ansi-styles@2.1.0 
                │ │ │ ├── escape-string-regexp@1.0.4 
                │ │ │ ├── has-ansi@2.0.0 
                │ │ │ └── supports-color@2.0.0 
                │ │ ├─┬ commander@2.9.0 
                │ │ │ └── graceful-readlink@1.0.1 
                │ │ ├─┬ is-my-json-valid@2.12.4 
                │ │ │ ├── generate-function@2.0.0 
                │ │ │ ├─┬ generate-object-property@1.2.0 
                │ │ │ │ └── is-property@1.0.2 
                │ │ │ ├── jsonpointer@2.0.0 
                │ │ │ └── xtend@4.0.1 
                │ │ └─┬ pinkie-promise@2.0.0 
                │ │   └── pinkie@2.0.1 
                │ ├─┬ hawk@3.1.3 
                │ │ ├── boom@2.10.1 
                │ │ ├── cryptiles@2.0.5 
                │ │ ├── hoek@2.16.3 
                │ │ └── sntp@1.0.9 
                │ ├─┬ http-signature@1.1.1 
                │ │ ├── assert-plus@0.2.0 
                │ │ ├─┬ jsprim@1.2.2 
                │ │ │ ├── extsprintf@1.0.2 
                │ │ │ ├── json-schema@0.2.2 
                │ │ │ └── verror@1.3.6 
                │ │ └─┬ sshpk@1.7.3 
                │ │   ├── asn1@0.2.3 
                │ │   ├── dashdash@1.12.2 
                │ │   ├── ecc-jsbn@0.1.1 
                │ │   ├── jodid25519@1.0.2 
                │ │   ├── jsbn@0.1.0 
                │ │   └── tweetnacl@0.13.3 
                │ ├── is-typedarray@1.0.0 
                │ ├── isstream@0.1.2 
                │ ├── json-stringify-safe@5.0.1 
                │ ├─┬ mime-types@2.1.9 
                │ │ └── mime-db@1.21.0 
                │ ├── node-uuid@1.4.7 
                │ ├── oauth-sign@0.8.0 
                │ ├── qs@6.0.2 
                │ ├── stringstream@0.0.5 
                │ ├── tough-cookie@2.2.1 
                │ └── tunnel-agent@0.4.2 
                ├── retry@0.9.0 
                ├── rimraf@2.5.2 
                ├── semver@5.1.0 
                ├── sha@2.0.1 
                ├── slide@1.1.6 
                ├── sorted-object@1.0.0 
                ├── strip-ansi@3.0.1 
                ├─┬ tar@2.2.1 
                │ └── block-stream@0.0.8 
                ├── text-table@0.2.0 
                ├── uid-number@0.0.6 
                ├── umask@1.1.0 
                ├─┬ unique-filename@1.1.0 
                │ └── unique-slug@2.0.0 
                ├── unpipe@1.0.0 
                ├─┬ validate-npm-package-license@3.0.1 
                │ ├─┬ spdx-correct@1.0.2 
                │ │ └── spdx-license-ids@1.2.0 
                │ └─┬ spdx-expression-parse@1.0.2 
                │   ├── spdx-exceptions@1.0.4 
                │   └── spdx-license-ids@1.2.0 
                ├─┬ validate-npm-package-name@2.2.2 
                │ └── builtins@0.0.7 
                ├─┬ which@1.2.4 
                │ ├─┬ is-absolute@0.1.7 
                │ │ └── is-relative@0.1.3 
                │ └── isexe@1.1.1 
                ├── wrappy@1.0.1 
                └── write-file-atomic@1.1.4 
              
              It worked</http:> 
              

              Geht natürlich nur wenn ich vorher richtig aufgeräumt habe, aber das ist ja ok.

              Sieht auch alles super aus.

              Und dann:
              ` > root@nas:/etc/apt/sources.list.d# node -v

              v0.10.29

              root@nas:/etc/apt/sources.list.d# npm -v

              -bash: /usr/local/bin/npm: Datei oder Verzeichnis nicht gefunden `
              Warum findet er dann kein npm?

              Diese Versionsnummer verwirren mich Ehrlich gesagt noch mehr.

              Ist die Version aktuell absolut veraltet?

              Ach apt-get install npm get natürlich nicht, weil es noch nicht mit dabei ist.

              Edit:

              Interessant Info:

              root@nas:/usr/bin# which npm
              /usr/bin/npm
              
              

              Kann das sein das der Link der npm global auf der console erreichbar macht falsch ist.?

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

                @Creator:

                Edit:

                Interessant Info:

                root@nas:/usr/bin# which npm
                /usr/bin/npm
                
                

                Kann das sein das der Link der npm global auf der console erreichbar macht falsch ist.? `
                Was passiert wenn du

                node /usr/lib/node_modules/npm/bin/npm-cli.js -v
                

                Aufrufst?

                Wo zeigt dein /usr/bin/npm drauf?

                1 Reply Last reply Reply Quote 0
                • C
                  Creator last edited by

                  Der richtige Riecher würde ich sagen:

                  root@nas:~# node /usr/lib/node_modules/npm/bin/npm-cli.js -v
                  3.8.2
                  
                  
                  /usr/bin/npm
                  

                  existiert nicht.

                  Theoretisch müsste dann ja folgendes gehen:

                  root@nas:/opt/iobroker# node /usr/lib/node_modules/npm/bin/npm-cli.js install iorboker
                  npm ERR! Linux 3.16.0-0.bpo.4-amd64
                  npm ERR! argv "node" "/usr/lib/node_modules/npm/bin/npm-cli.js" "install" "iorboker"
                  npm ERR! node v0.10.29
                  npm ERR! npm  v3.8.2
                  npm ERR! code E404
                  
                  npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/iorboker
                  npm ERR! 404 
                  npm ERR! 404  'iorboker' is not in the npm registry.
                  npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
                  npm ERR! 404 
                  npm ERR! 404 Note that you can also install from a
                  npm ERR! 404 tarball, folder, http url, or git url.
                  
                  npm ERR! Please include the following file with any support request:
                  npm ERR!     /opt/iobroker/npm-debug.log
                  
                  

                  Und ja die Kiste hat I-Net.

                  Die Adresse https://registry.npmjs.org/iorboker kann ich aber nicht anpingen.

                  Im Browser scheint Sie ein Leeres Json zu liefern.

                  1 Reply Last reply Reply Quote 0
                  • C
                    Creator last edited by

                    Durch das ganze rumprobieren und vermutlich der Tatsache das ich einfach die Falsche Anleitung zu erst gefunden habe gehe ich davon aus

                    das dort einiges schief gelaufen ist, was man nur schwer wieder rückgängig machen kann.

                    Habe OpenMediaVault neu installiert und dann folgendes gemacht

                    Run the following (as root):
                    
                    echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
                    apt-get update
                    apt-get install nodejs-legacy
                    apt-get install curl
                    curl -L --insecure https://www.npmjs.org/install.sh | bash
                    
                    

                    Wie heißt es noch so schön? Kaum macht man es richtig und schon geht es. 😉

                    Danke für eure super Geduld und mühen. Kasten Bier hin stellt …. :mrgreen:

                    1 Reply Last reply Reply Quote 0
                    • M
                      mrMuppet last edited by

                      Oben hast du auch immer iorboker statt iobroker geschrieben. Vielleicht lag es auch daran…

                      Gesendet von meinem A0001 mit Tapatalk

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

                        @Creator:

                        Durch das ganze rumprobieren und vermutlich der Tatsache das ich einfach die Falsche Anleitung zu erst gefunden habe gehe ich davon aus

                        das dort einiges schief gelaufen ist, was man nur schwer wieder rückgängig machen kann.

                        Habe OpenMediaVault neu installiert und dann folgendes gemacht

                        Run the following (as root):
                        
                        echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
                        apt-get update
                        apt-get install nodejs-legacy
                        apt-get install curl
                        curl -L --insecure https://www.npmjs.org/install.sh | bash
                        
                        

                        Wie heißt es noch so schön? Kaum macht man es richtig und schon geht es. 😉

                        Danke für eure super Geduld und mühen. Kasten Bier hin stellt …. :mrgreen: `
                        Punkt 1: http://forum.iobroker.net/viewtopic.php … 451#p21560

                        1 Reply Last reply Reply Quote 0
                        • C
                          Creator last edited by

                          > Punkt 1: viewtopic.php?f=8&t=2451#p21560

                          Ich hatte nach einem gelöst Button gesucht

                          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

                          861
                          Online

                          31.9k
                          Users

                          80.3k
                          Topics

                          1.3m
                          Posts

                          4
                          15
                          4938
                          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