Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Io Broker und raspi2

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.3k

Io Broker und raspi2

Scheduled Pinned Locked Moved ioBroker Allgemein
90 Posts 13 Posters 12.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DirkKD Offline
    DirkKD Offline
    DirkK
    wrote on last edited by
    #13

    Hallo derAuge, hab mich mal rangesetzt, das ergebnis siehst du ja unten, irgendwie kennt der den Befehl nicht

    Gruß Dirk

    ! ````
    login as: pi
    pi@192.168.178.53's password:
    ! The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    ! Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Fri Apr 1 11:35:45 2016 from dirk-pc.fritz.box
    pi@RPi2:~ $ su
    Passwort:
    root@RPi2:/home/pi# apt-get update
    OK http://mirrordirector.raspbian.org jessie InRelease
    OK http://archive.raspberrypi.org jessie InRelease
    OK http://mirrordirector.raspbian.org jessie/main armhf Packages
    OK http://mirrordirector.raspbian.org jessie/contrib armhf Packages
    OK http://archive.raspberrypi.org jessie/main armhf Packages
    OK http://mirrordirector.raspbian.org jessie/non-free armhf Packages
    OK http://archive.raspberrypi.org jessie/ui armhf Packages
    OK http://mirrordirector.raspbian.org jessie/rpi armhf Packages
    Ign http://archive.raspberrypi.org jessie/main Translation-de_DE
    Ign http://archive.raspberrypi.org jessie/main Translation-de
    Ign http://archive.raspberrypi.org jessie/main Translation-en
    Ign http://archive.raspberrypi.org jessie/ui Translation-de_DE
    Ign http://archive.raspberrypi.org jessie/ui Translation-de
    Ign http://archive.raspberrypi.org jessie/ui Translation-en
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de_DE
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de
    Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
    Ign http://mirrordirector.raspbian.org jessie/main Translation-de_DE
    Ign http://mirrordirector.raspbian.org jessie/main Translation-de
    Ign http://mirrordirector.raspbian.org jessie/main Translation-en
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de_DE
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de
    Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de_DE
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de
    Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
    Paketlisten werden gelesen... Fertig
    root@RPi2:/home/pi# apt-get upgrade -y
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.
    Statusinformationen werden eingelesen.... Fertig
    Paketaktualisierung (Upgrade) wird berechnet... Fertig
    Die folgenden Pakete werden aktualisiert (Upgrade):
    raspberrypi-sys-mods
    1 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
    Es müssen 4.462 B an Archiven heruntergeladen werden.
    Nach dieser Operation werden 1.024 B Plattenplatz zusätzlich benutzt.
    Holen: 1 http://archive.raspberrypi.org/debian/ jessie/main raspberrypi-sys-mods armhf 20160321+1 [4.462 B]
    Es wurden 4.462 B in 0 s geholt (43,7 kB/s).
    (Lese Datenbank ... 30316 Dateien und Verzeichnisse sind derzeit installiert.)
    Vorbereitung zum Entpacken von .../raspberrypi-sys-mods_20160321+1_armhf.deb ...
    Entpacken von raspberrypi-sys-mods (20160321+1) über (20160113) ...
    raspberrypi-sys-mods (20160321+1) wird eingerichtet ...
    Neue Version der Konfigurationsdatei /etc/udev/rules.d/99-com.rules wird installiert ...
    Fixing file capabilities...
    Adjusting cmdline.txt...
    root@RPi2:/home/pi# curl sL https://deb.nodesource.com/setup_4.x
    curl: (6) Could not resolve host: sL
    #!/bin/bash
    ! # Discussion, issues and change requests at:

    https://github.com/nodesource/distributions

    Script to install the NodeSource Node.js 4.x LTS Argon repo onto a

    Debian or Ubuntu system.

    Run as root or insert sudo -E before bash:

    curl -sL https://deb.nodesource.com/setup_4.x | bash -

    or

    wget -qO- https://deb.nodesource.com/setup_4.x | bash -

    ! export DEBIAN_FRONTEND=noninteractive
    ! print_status() {
    echo
    echo "## $1"
    echo
    }
    ! bail() {
    echo 'Error executing command, exiting'
    exit 1
    }
    ! exec_cmd_nobail() {
    echo "+ $1"
    bash -c "$1"
    }
    ! exec_cmd() {
    exec_cmd_nobail "$1" || bail
    }
    ! print_status "Installing the NodeSource Node.js 4.x LTS Argon repo..."
    ! PRE_INSTALL_PKGS/>! # Check that HTTPS transport is available to APT

    (Check snaked from: https://get.docker.io/ubuntu/)

    ! if [ ! -e /usr/lib/apt/methods/https ]; then
    PRE_INSTALL_PKGS="${PRE_INSTALL_PKGS} apt-transport-https"
    fi
    ! if [ ! -x /usr/bin/lsb_release ]; then
    PRE_INSTALL_PKGS="${PRE_INSTALL_PKGS} lsb-release"
    fi
    ! if [ ! -x /usr/bin/curl ] && [ ! -x /usr/bin/wget ]; then
    PRE_INSTALL_PKGS="${PRE_INSTALL_PKGS} curl"
    fi
    ! # Populating Cache
    print_status "Populating apt-get cache..."
    exec_cmd 'apt-get update'
    ! if [ "X${PRE_INSTALL_PKGS}" != "X" ]; then
    print_status "Installing packages required for setup:${PRE_INSTALL_PKGS}..."
    # This next command needs to be redirected to /dev/null or the script will bork
    # in some environments
    exec_cmd "apt-get install -y${PRE_INSTALL_PKGS} > /dev/null 2>&1"
    fi
    ! DISTRO=$(lsb_release -c -s)
    ! check_alt() {
    if [ "X${DISTRO}" == "X${2}" ]; then
    echo
    echo "## You seem to be using ${1} version ${DISTRO}."
    echo "## This maps to ${3} "${4}"... Adjusting for you..."
    DISTRO="${4}"
    fi
    }
    ! check_alt "Kali" "sana" "Debian" "jessie"
    check_alt "Debian" "stretch" "Debian" "jessie"
    check_alt "Linux Mint" "maya" "Ubuntu" "precise"
    check_alt "Linux Mint" "qiana" "Ubuntu" "trusty"
    check_alt "Linux Mint" "rafaela" "Ubuntu" "trusty"
    check_alt "Linux Mint" "rebecca" "Ubuntu" "trusty"
    check_alt "Linux Mint" "rosa" "Ubuntu" "trusty"
    check_alt "LMDE" "betsy" "Debian" "jessie"
    check_alt "elementaryOS" "luna" "Ubuntu" "precise"
    check_alt "elementaryOS" "freya" "Ubuntu" "trusty"
    check_alt "Trisquel" "toutatis" "Ubuntu" "precise"
    check_alt "Trisquel" "belenos" "Ubuntu" "trusty"
    check_alt "BOSS" "anokha" "Debian" "wheezy"
    check_alt "bunsenlabs" "bunsen-hydrogen" "Debian" "jessie"
    ! if [ "X${DISTRO}" == "Xdebian" ]; then
    print_status "Unknown Debian-based distribution, checking /etc/debian_version..."
    NEWDISTRO=$([ -e /etc/debian_version ] && cut -d/ -f1 < /etc/debian_version)
    if [ "X${NEWDISTRO}" == "X" ]; then
    print_status "Could not determine distribution from /etc/debian_version..."
    else
    DISTRO=$NEWDISTRO
    print_status "Found "${DISTRO}" in /etc/debian_version..."
    fi
    fi
    ! print_status "Confirming "${DISTRO}" is supported..."
    ! if [ -x /usr/bin/curl ]; then
    exec_cmd_nobail "curl -sLf -o /dev/null 'https://deb.nodesource.com/node_4.x/dists/${DISTRO}/Release'"
    RC=$?
    else
    exec_cmd_nobail "wget -qO /dev/null -o /dev/null 'https://deb.nodesource.com/node_4.x/dists/${DISTRO}/Release'"
    RC=$?
    fi
    ! if [[ $RC != 0 ]]; then
    print_status "Your distribution, identified as "${DISTRO}", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support"
    exit 1
    fi
    ! if [ -f "/etc/apt/sources.list.d/chris-lea-node_js-$DISTRO.list" ]; then
    print_status 'Removing Launchpad PPA Repository for NodeJS...'
    ! exec_cmd_nobail 'add-apt-repository -y -r ppa:chris-lea/node.js'
    exec_cmd "rm -f /etc/apt/sources.list.d/chris-lea-node_js-${DISTRO}.list"
    fi
    ! print_status 'Adding the NodeSource signing key to your keyring...'
    ! if [ -x /usr/bin/curl ]; then
    exec_cmd 'curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
    else
    exec_cmd 'wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
    fi
    ! print_status 'Creating apt sources list file for the NodeSource Node.js 4.x LTS Argon repo...'
    ! exec_cmd "echo 'deb https://deb.nodesource.com/node_4.x ${DISTRO} main' > /etc/apt/sources.list.d/nodesource.list"
    exec_cmd "echo 'deb-src https://deb.nodesource.com/node_4.x ${DISTRO} main' >> /etc/apt/sources.list.d/nodesource.list"
    ! print_status 'Running apt-get update for you...'
    ! exec_cmd 'apt-get update'
    ! print_status 'Run apt-get install nodejs (as root) to install Node.js 4.x LTS Argon and npm'
    root@RPi2:/home/pi# sudo -E bash -
    root@RPi2:/home/pi# sudo apt-get install -y nodejs
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.
    Statusinformationen werden eingelesen.... Fertig
    Die folgenden zusätzlichen Pakete werden installiert:
    libc-ares2 libv8-3.14.5
    Die folgenden NEUEN Pakete werden installiert:
    libc-ares2 libv8-3.14.5 nodejs
    0 aktualisiert, 3 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
    Es müssen 1.773 kB an Archiven heruntergeladen werden.
    Nach dieser Operation werden 6.427 kB Plattenplatz zusätzlich benutzt.
    Holen: 1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libc-ares2 armhf 1.10.0-2 [71,3 kB]
    Holen: 2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libv8-3.14.5 armhf 3.14.5.8-8.1+rpi1 [1.088 kB]
    Holen: 3 http://mirrordirector.raspbian.org/raspbian/ jessie/main nodejs armhf 0.10.29~dfsg-2 [614 kB]
    Es wurden 1.773 kB in 1 s geholt (1.650 kB/s).
    Vormals nicht ausgewähltes Paket libc-ares2:armhf wird gewählt.
    (Lese Datenbank ... 30317 Dateien und Verzeichnisse sind derzeit installiert.)
    Vorbereitung zum Entpacken von .../libc-ares2_1.10.0-2_armhf.deb ...
    Entpacken von libc-ares2:armhf (1.10.0-2) ...
    Vormals nicht ausgewähltes Paket libv8-3.14.5 wird gewählt.
    Vorbereitung zum Entpacken von .../libv8-3.14.5_3.14.5.8-8.1+rpi1_armhf.deb ...
    Entpacken von libv8-3.14.5 (3.14.5.8-8.1+rpi1) ...
    Vormals nicht ausgewähltes Paket nodejs wird gewählt.
    Vorbereitung zum Entpacken von .../nodejs_0.10.29~dfsg-2_armhf.deb ...
    Entpacken von nodejs (0.10.29~dfsg-2) ...
    Trigger für man-db (2.7.0.2-5) werden verarbeitet ...
    libc-ares2:armhf (1.10.0-2) wird eingerichtet ...
    libv8-3.14.5 (3.14.5.8-8.1+rpi1) wird eingerichtet ...
    nodejs (0.10.29~dfsg-2) wird eingerichtet ...
    update-alternatives: /usr/bin/nodejs wird verwendet, um /usr/bin/js (js) im automatischen Modus bereitzustellen
    Trigger für libc-bin (2.19-18+deb8u3) werden verarbeitet ...
    root@RPi2:/home/pi# mkdir /opt/iobroker
    root@RPi2:/home/pi# cd /opt/iobroker/
    root@RPi2:/opt/iobroker# npm install iobroker
    bash: npm: Kommando nicht gefunden.
    root@RPi2:/opt/iobroker# npm install --unsafe-perm iobroker
    bash: npm: Kommando nicht gefunden.
    root@RPi2:/opt/iobroker#

    Gruß Dirk

    Raspi3 CCU

    1 Reply Last reply
    0
    • derAugeD Offline
      derAugeD Offline
      derAuge
      wrote on last edited by
      #14

      Da fehlt ein "-" :o
      ` > root@RPi2:/home/pi# curl sL https://deb.nodesource.com/setup_4.x

      curl: (6) Could not resolve host: sL `
      So ist es besser

       curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
      

      Gruß

      Jürgen

      1 Reply Last reply
      0
      • DirkKD Offline
        DirkKD Offline
        DirkK
        wrote on last edited by
        #15

        Oh mein Gott, muß ich neu anfangen oder kann ich irgendwo wieder einsetzen.

        Dirk

        Gruß Dirk

        Raspi3 CCU

        1 Reply Last reply
        0
        • DirkKD Offline
          DirkKD Offline
          DirkK
          wrote on last edited by
          #16

          Danke Jürgen,

          es ist vollbracht, durch deine Hilfe wird das sonnige Wochenende noch strahlender.

          Und dank dem ganzen Forum weil andere auch die Chance bekommen mitzumachen auch wenn Fragen sicher doppelt

          und dreifach gestellt werden.

          Gruß Dirk

          Gruß Dirk

          Raspi3 CCU

          1 Reply Last reply
          0
          • I Offline
            I Offline
            indianaas
            wrote on last edited by
            #17

            Hallo,

            ich bin neu hier im Forum und möchte mich zuerst bei allen hier bedanken für die tolle Unterstützung. Nun zu meinem Problem:

            Ich bin ohne Problem der Anleitung von Jürgen gefolgt bis zum Punkt # npm install iobroker. Da kriege ich eine Fehlermeldung "Illegal instruction". Ich habe nach der Fehlermeldung den Befehl "npm install –unsafe-perm iobroker" eingegeben und kriege immer dasselbe Ergebnis. Was mache ich falsch?

            1190_protocol.txt

            Besten Dank

            Eric

            1 Reply Last reply
            0
            • HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #18

              Hallo eric und Willkommen im Forum,

              könntest du bitte das log über code tags (= button "code" über dem Eingabefeld) hier direkt einfügen. bei langem text ggf. noch in spoiler tags.

              Ich persönlich und andere laden nicht gerne fremde Dateien auf PC/Tablet/Handy ;-)

              Du hast das Ganze als root ausgeführt?

              Wheezy oder jessie?

              Danke

              Rainer

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              1 Reply Last reply
              0
              • paul53P Offline
                paul53P Offline
                paul53
                wrote on last edited by
                #19

                Es ist anscheinend eine ältere Node.js-Version installiert. Beachte Punkt 2. unter "Installation Node.js" in der http://www.iobroker.net/?page_id=3397&lang=de#Installationsanleitung.

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  indianaas
                  wrote on last edited by
                  #20

                  @Homoran:

                  Hallo Rainer, hier das log

                  ! ````
                  pi@raspberrypi:~ $ su
                  Password:
                  root@raspberrypi:/home/pi# curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
                  ! ## Installing the NodeSource Node.js 4.x LTS Argon repo...
                  ! ## Populating apt-get cache...
                  ! + apt-get update
                  Hit http://mirrordirector.raspbian.org jessie InRelease
                  Hit http://archive.raspberrypi.org jessie InRelease
                  Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
                  Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
                  Hit http://archive.raspberrypi.org jessie/main armhf Packages
                  Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
                  Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
                  Hit http://archive.raspberrypi.org jessie/ui armhf Packages
                  Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
                  Ign http://archive.raspberrypi.org jessie/main Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
                  Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
                  Ign http://archive.raspberrypi.org jessie/ui Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/main Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
                  Reading package lists... Done
                  ! ## Installing packages required for setup: apt-transport-https...
                  ! + apt-get install -y apt-transport-https > /dev/null 2>&1
                  ! ## Confirming "jessie" is supported...
                  ! + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_4.x/dists/jessie/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 4.x LTS Argon repo...
                  ! + echo 'deb https://deb.nodesource.com/node_4.x jessie main' > /etc/apt/sources.list.d/nodesource.list

                  • echo 'deb-src https://deb.nodesource.com/node_4.x jessie main' >> /etc/apt/sources.list.d/nodesource.list

                  ! ## Running apt-get update for you...
                  ! + apt-get update
                  Hit http://mirrordirector.raspbian.org jessie InRelease
                  Hit http://archive.raspberrypi.org jessie InRelease
                  Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
                  Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
                  Hit http://archive.raspberrypi.org jessie/main armhf Packages
                  Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
                  Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
                  Hit http://archive.raspberrypi.org jessie/ui armhf Packages
                  Get:1 https://deb.nodesource.com jessie InRelease [3,914 B]
                  Get:2 https://deb.nodesource.com jessie/main Sources [764 B]
                  Get:3 https://deb.nodesource.com jessie/main armhf Packages [967 B]
                  Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
                  Get:4 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
                  Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
                  Ign http://archive.raspberrypi.org jessie/main Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
                  Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/main Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
                  Ign http://archive.raspberrypi.org jessie/ui Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
                  Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
                  Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
                  Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
                  Get:6 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
                  Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
                  Get:8 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
                  Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]
                  Get:10 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
                  Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]
                  Get:12 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
                  Ign https://deb.nodesource.com jessie/main Translation-en_GB
                  Get:13 https://deb.nodesource.com jessie/main Translation-en [162 B]
                  Ign https://deb.nodesource.com jessie/main Translation-en
                  Fetched 5,645 B in 23s (242 B/s)
                  Reading package lists... Done
                  ! ## Run apt-get install nodejs (as root) to install Node.js 4.x LTS Argon and npm
                  ! root@raspberrypi:/home/pi# sudo apt-get install -y nodejs
                  Reading package lists... Done
                  Building dependency tree
                  Reading state information... Done
                  The following packages were automatically installed and are no longer required:
                  libc-ares2 libv8-3.14.5
                  Use 'apt-get autoremove' to remove them.
                  The following extra packages will be installed:
                  rlwrap
                  The following packages will be REMOVED:
                  nodejs-legacy nodered
                  The following NEW packages will be installed:
                  rlwrap
                  The following packages will be upgraded:
                  nodejs
                  1 upgraded, 1 newly installed, 2 to remove and 2 not upgraded.
                  Need to get 7,927 kB of archives.
                  After this operation, 34.7 MB of additional disk space will be used.
                  Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main rlwrap armhf 0.41-1 [70.3 kB]
                  Get:2 https://deb.nodesource.com/node_4.x/ jessie/main nodejs armhf 4.4.2-1nodesource1~jessie1 [7,857 kB]
                  Fetched 7,927 kB in 8s (932 kB/s)
                  (Reading database ... 126687 files and directories currently installed.)
                  Removing nodered (0.13.4) ...
                  Removing nodejs-legacy (0.10.29~dfsg-2) ...
                  Processing triggers for gnome-icon-theme (3.12.0-1) ...
                  Processing triggers for gnome-menus (3.13.3-6) ...
                  Processing triggers for desktop-file-utils (0.22-1) ...
                  Processing triggers for mime-support (3.58) ...
                  Processing triggers for man-db (2.7.0.2-5) ...
                  Selecting previously unselected package rlwrap.
                  (Reading database ... 119726 files and directories currently installed.)
                  Preparing to unpack .../rlwrap_0.41-1_armhf.deb ...
                  Unpacking rlwrap (0.41-1) ...
                  Preparing to unpack .../nodejs_4.4.2-1nodesource1~jessie1_armhf.deb ...
                  Unpacking nodejs (4.4.2-1nodesource1~jessie1) over (0.10.29~dfsg-2) ...
                  Processing triggers for man-db (2.7.0.2-5) ...
                  Setting up rlwrap (0.41-1) ...
                  update-alternatives: using /usr/bin/rlwrap to provide /usr/bin/readline-editor (readline-editor) in auto mode
                  Setting up nodejs (4.4.2-1nodesource1~jessie1) ...
                  root@raspberrypi:/home/pi# mkdir /opt/iobroker
                  mkdir: cannot create directory ‘/opt/iobroker’: File exists
                  root@raspberrypi:/home/pi# cd /opt/iobroker/
                  root@raspberrypi:/opt/iobroker# npm install iobroker
                  Illegal instruction
                  root@raspberrypi:/opt/iobroker# npm install --unsafe-perm iobroker
                  Illegal instruction
                  root@raspberrypi:/opt/iobroker# npm install iobroker
                  Illegal instruction
                  root@raspberrypi:/opt/iobroker#
                  ! ````

                  Ich habe das ganze mit root ausgeführt und Jessie habe ich als Image installiert.

                  Aus purer Verzweiflung habe ich nun ab Punkt 2 unter "Installation Node.js" mit user pi wiederholt, leider auch ohne Erfolg. Ist der Fehler aus dem Log sichtbar? Für mich ist das ganze nicht ganz klar…

                  Vielen Dank

                  Eric `

                  1 Reply Last reply
                  0
                  • HomoranH Do not disturb
                    HomoranH Do not disturb
                    Homoran
                    Global Moderator Administrators
                    wrote on last edited by
                    #21

                    Habe eben nur kurz das log überflogen.

                    Bin auch nicht der Linnux Crack - erher im Gegenteil :(

                    @indianaas:

                    Ich habe das ganze mit root ausgeführt und Jessie habe ich als Image installiert. `
                    Das war auch korrekt!

                    Nur ich habe das Gefühl, dass da was nicht stimmt, weil:
                    @indianaas:

                    root@raspberrypi:/home/pi# `

                    Das heisst für mich du bist zwar root arbeitest aber im home-Verzeichnis vom user pi.

                    ggf. hast du da nicht die notwendigen Rechte.

                    Vielleicht sieht sich das mal ein Linux Könner an.

                    Gruß

                    Rainer

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    1 Reply Last reply
                    0
                    • I Offline
                      I Offline
                      indianaas
                      wrote on last edited by
                      #22

                      @Homoran:

                      Das heisst für mich du bist zwar root arbeitest aber im home-Verzeichnis vom user pi.

                      ggf. hast du da nicht die notwendigen Rechte. `

                      Tatsächlich gut erkannt… Bei Anmeldung als root, kriege ich "Access denied". Es war mir bisher nicht klar was die Meldung bedeutet und ich war daher überzeugt, dass user root = "root@raspberrypi:/home/pi#" ist.

                      Gibt es sonst noch einen anderen Weg iobrocker zu installieren? Ich habe ein raspberry2 mit 8GB SD-Karte.

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        Solear
                        wrote on last edited by
                        #23

                        @indianaas:

                        @Homoran:

                        Gibt es sonst noch einen anderen Weg iobrocker zu installieren? Ich habe ein raspberry2 mit 8GB SD-Karte.

                        Wenn du sowieso frisch installierst kannst du auch ein fertiges Image nehmen (Jessie inkl. iobroker):

                        http://www.iobroker.net/docu/?page_id=2563&lang=de

                        Das 2. von oben zum Beispiel.

                        Image herunterladen, und von Windows aus mit Win32DiskImager auf die SD-Karte bringen.

                        Mit "sudo raspi-config" den Speicherplatz auf deine gesamte Karte dann ausdehmen ("expand filesystem").

                        iobroker als LXC unter Proxmox

                        1 Reply Last reply
                        0
                        • HomoranH Do not disturb
                          HomoranH Do not disturb
                          Homoran
                          Global Moderator Administrators
                          wrote on last edited by
                          #24

                          @indianaas:

                          Bei Anmeldung als root, kriege ich "Access denied". `
                          Hast du in /etc/ssh/sshd_config den root Zugang geändert?

                          ~~@[url=http://www.iobroker.net/?page_id=3397⟨=de:~~

                          Website"]Root Zugang freischalten

                          sudo nano /etc/ssh/sshd_config

                          Datei anpassen: PermitRootLogin without-password in PermitRootLogin yes ändern und speichern

                          SSH neu starten: sudo /etc/init.d/ssh restart

                          sudo su (jetzt ist der Root Modus gestartet)

                          mit passwd ein Passwort vergeben `

                          Gruß

                          Rainer

                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          1 Reply Last reply
                          0
                          • R Offline
                            R Offline
                            RS_Tobi
                            wrote on last edited by
                            #25

                            Hallo Leute!

                            ich denke da ist aktuell irgendwo "der Wurm drin"

                            Ich habe auch gerade das aktuelle Jessie runtergeladen und bin nach der

                            Anleitung vorgegangen.

                            Was mir komisch vor gekommen ist, dass deim deinstallieren von node die Meldung kam, dass node nicht installiert sei.

                            nodejs lies sich deinstallieren.

                            Es lies sich auch wieder alles Installieren, aber iobroker kann ich nicht installieren.

                            root@raspberrypi:~# mkdir /opt/iobroker
                            root@raspberrypi:~# cd /opt/iobroker
                            root@raspberrypi:/opt/iobroker# npm install iobroker
                            Illegal instruction
                            root@raspberrypi:/opt/iobroker# npm install --unsafe-perm iobroker
                            Illegal instruction
                            
                            

                            grüße Tobi

                            1 Reply Last reply
                            0
                            • HomoranH Do not disturb
                              HomoranH Do not disturb
                              Homoran
                              Global Moderator Administrators
                              wrote on last edited by
                              #26

                              Hallo Tobi,

                              was gibt:

                              nodejs -v
                              

                              und:

                              npm -v
                              

                              Danke

                              Rainer

                              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              1 Reply Last reply
                              0
                              • I Offline
                                I Offline
                                indianaas
                                wrote on last edited by
                                #27

                                Hallo Rainer,

                                hier das Log

                                root@raspberrypi:~# nodejs -v
                                Illegal instruction
                                root@raspberrypi:~# npm -v
                                Illegal instruction
                                root@raspberrypi:~# which node
                                /usr/bin/node
                                root@raspberrypi:~#
                                
                                

                                wie geht es nun weiter? was bedeutet eigentlich die Befehle?

                                Grüße

                                Eric

                                1 Reply Last reply
                                0
                                • HomoranH Do not disturb
                                  HomoranH Do not disturb
                                  Homoran
                                  Global Moderator Administrators
                                  wrote on last edited by
                                  #28

                                  ohne die letzte Info hätte ich gesagt es sei kein nodejs installiert.
                                  > was bedeutet eigentlich die Befehle?
                                  die ersten beiden sollten die jeweilige Version von nodejs und npm anzeigen.

                                  Der letzte den Speicherort von nodejs.

                                  Jetzt komme ich auch ins Schleudern.

                                  Und ihr habt wirklich nodejs als root installiert?

                                  und euch ganz genau an die Anleitung gehalten?

                                  Auch Punkt 7.?
                                  ~~@[url=http://www.iobroker.net/?page_id=3397⟨=de:~~

                                  ~~Website"]~~Ausloggen und als Root über Putty anmelden `

                                  Gruß

                                  Rainer

                                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  1 Reply Last reply
                                  0
                                  • I Offline
                                    I Offline
                                    indianaas
                                    wrote on last edited by
                                    #29

                                    ` > Auch Punkt 7.?

                                    ~~@[url=http://www.iobroker.net/?page_id=3397⟨=de:~~

                                    ~~Website"]~~Ausloggen und als Root über Putty anmelden

                                    Ich starte mit einer Neuinstallation. Ich gebe Bescheid, ob es geklappt hat.

                                    Grüße

                                    Eric

                                    1 Reply Last reply
                                    0
                                    • HomoranH Do not disturb
                                      HomoranH Do not disturb
                                      Homoran
                                      Global Moderator Administrators
                                      wrote on last edited by
                                      #30

                                      bevor du das machst, gib noch mal kurz das Ergebnis von

                                      dpkg -l | grep node
                                      

                                      Danke

                                      Rainer

                                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                      1 Reply Last reply
                                      0
                                      • I Offline
                                        I Offline
                                        indianaas
                                        wrote on last edited by
                                        #31

                                        Hallo Rainer,

                                        siehe unten. Es tut weiterhin nichts… Noch eine Idee?

                                        ` > bevor du das machst, gib noch mal kurz das Ergebnis von

                                        dpkg -l | grep node
                                        ```` `  
                                        
                                        root@raspberrypi:~# nodejs -v
                                        Illegal instruction
                                        root@raspberrypi:~# npm -v
                                        Illegal instruction
                                        root@raspberrypi:~# which node
                                        /usr/bin/node
                                        root@raspberrypi:~# dpkg -l | grep node
                                        ii  nodejs                                4.4.3-1nodesource1~jessie1                armhf        Node.js event-based server-side javascript engine
                                        root@raspberrypi:~#
                                        
                                        

                                        Danke

                                        Eric

                                        1 Reply Last reply
                                        0
                                        • I Offline
                                          I Offline
                                          ianmoone
                                          wrote on last edited by
                                          #32

                                          Hallo,

                                          habe das gleiche Problem.

                                          Node.js wurde korrekt installiert.

                                          Trotzdem Fehlermeldung:

                                          root@raspberrypi:/opt/iobroker# npm install —unsafe -perm iobroker
                                          Illegal instruction
                                          
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          849

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe