Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installation auf Ubuntu 15

    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 auf Ubuntu 15

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

      Hallo

      Ich schaffe es einfach nicht (mehr), iobroker auf Ubuntu 15 Server zu installieren. Ich habe das schon mal irgendwie hinbekommen, aber nun möchte ich die Kiste neu mache (größere Platte).

      Das habe ich gemacht:

      sudo su
      apt-get update
      apt-get upgrade
      apt-get install nodejs
      apt-get install npm
      mkdir /opt/iobroker
      cd /opt/iobroker
      
      

      Bisher alles fehlerfrei…und dann...

      npm install iobroker
      

      …geht nix mehr...

      -
      > iobroker@0.5.6 install /opt/iobroker/node_modules/iobroker
      > node lib/setup.js
      
      sh: 1: node: not found
      npm WARN This failure might be due to the use of legacy binary "node"
      npm WARN For further explanations, please read
      /usr/share/doc/nodejs/README.Debian
      
      npm ERR! iobroker@0.5.6 install: `node lib/setup.js`
      npm ERR! Exit status 127
      npm ERR!
      npm ERR! Failed at the iobroker@0.5.6 install script.
      npm ERR! This is most likely a problem with the iobroker package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     node lib/setup.js
      npm ERR! You can get their info via:
      npm ERR!     npm owner ls iobroker
      npm ERR! There is likely additional logging output above.
      
      npm ERR! System Linux 4.2.0-16-generic
      npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker"
      npm ERR! cwd /opt/iobroker
      npm ERR! node -v v0.10.25
      npm ERR! npm -v 1.4.21
      npm ERR! code ELIFECYCLE
      npm ERR!
      npm ERR! Additional logging details can be found in:
      npm ERR!     /opt/iobroker/npm-debug.log
      npm ERR! not ok code 0
      
      

      Kann mir jemand helfen? Meine Linux-Kenntnisse sind leider nicht optimal 😉 Aber ich hatte es schon mal hinbekommen…ich weiß nur nicht mehr wie 😞

      Danke und Gruß,

      Frank

      1 Reply Last reply Reply Quote 0
      • N
        nobody last edited by

        Hallo Frank,

        ich hab ioBroker zwar noch nicht selbst unter ubuntu installiert, aber normal reicht für die Installation sudo su auch unter Debian nicht aus.

        Hierfür muss man sich richtig als root anmelden.

        Gruß

        Markus

        1 Reply Last reply Reply Quote 0
        • Jey Cee
          Jey Cee Developer last edited by

          Man muss sich nicht als root anmelden um iobroker zu installieren. Sudo reicht vollkommen aus.

          Hast du sudo npm install iobroker probiert?

          Außerdem kannst du versuchen eine neuere nodejs version zu nutzen. Die bei dir installierte ist sehr alt und die Fehlermeldung deutet darauf hin das ein problem mit der von ubuntu bereit gestellten version vorliegt.

          Gesendet von meinem Jolla mit Tapatalk

          1 Reply Last reply Reply Quote 0
          • N
            nobody last edited by

            Wie du meinst…

            https://stackoverflow.com/questions/497 … sudo-is-ok

            node wird nicht gefunden, weil im Envrionment der Pfad nicht drin steht, wenn mit sudo gearbeitet wird.

            Wenn es unbedingt ohne echtem root-User gehen soll, steht da drin, wie's geht.

            Wenn mit````
            sudo npm

            1 Reply Last reply Reply Quote 0
            • E
              ErRi last edited by

              Hallo,

              ich bin da absoluter Anfänger, aber ich hab iobroker auf Intel-Rechner mit Ubuntu 15.10 damit installiert. Das hat auch soweit funktioniert.

              Ob das der optimale Weg ist kann ich auch nicht sagen.

              https://github.com/ioBroker/ioBroker/bl … TALL_de.md
              10529_heizungsscript_max_einbindung.txt

              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

              566
              Online

              31.9k
              Users

              80.2k
              Topics

              1.3m
              Posts

              4
              5
              1643
              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