Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Io Broker und raspi2

    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

    Io Broker und raspi2

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

      Danke Rainer, Deppen muß man manchmal auf die Sprünge helfen, bin drinn

      Gruß Dirk

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

        @DirkK:

        Ich dachte mir eigentlich das ich direkt im raspbian was starten kann `
        könntest du im Prinzip auch.

        ioBroker besitz einen webserver und ist daher von JEDEM Browser aus dem Netz zu erreichen.

        Dadurch kannst du von jedem beliebeigen Gerät, das einen Browsr besitzt auf ioBroker und damit auuf deine Haussteuerung zugreifen.

        Der RasPi verbraucht <3Watt Strom und kann so rund um die Uhr laufen.

        NAtürlich kannst du auch über den Browser von RaspBian auf ioBroker zugreifen.

        Gruß

        Rainer

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

          OK Danke, kannst du mir noch verraten wie lange er für das Admin Update benötigt, rödelt schon eine weile….

          das letzte für heute.. Dank

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

            die images sind schon ziemlich alt.

            ich war leider fast 5 Monate offline. baue gerade mein Netz wieder auf. Danach kann ich wieder neue images machen.

            evtl solltest du erst den js-controller updaten (Reiter Hosts) danach reboot!

            Sollte das mit dem update nicht mehr klappen (auch nach Abbruch und Neustart) versuch bitte mal einfach ein RaspBian von raspberrypi.org und dann nach der Kurzanleitung auf der Website.

            Ist auch nicht wirklich schwer! versprochen!

            Gruß

            Rainer

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

              Auch ein HALLO von mit,

              wenn du den RPi2 neu hast, kannst du ihn ja erst mel etwas kennen lernen 😉

              Dann bekommst du auch ein besseres Gefühl dafür.

              es gibt da eine feine anleitung

              http://www.iobroker.net/docu/?page_id=3 … sanleitung

              Damit kannst du dich Schritt für Schritt vorarbeiten.

              Vorteil: Du hast eine aktuelles Debian und installiert ioBroker von Grund auf selber / neu

              Bei Fragen stehen hier (meistens) genügend Leute zur Seite

              Viel Spass

              Gruß

              Jürgen

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

                Hallo und guten Abend, nachdem das Update wieder in die Hosen gegangen ist hab ich es mal anders herum probiert, nämlich so wie es in der Beschreibung

                steht. Dort bin ich allerdings schon am root passwort gescheitert, ging leider nicht über putty, sondern nur über die raspbian interne konsole.

                Das nächste Problem ist der Pkt. 13 in der Beschreibung… geht net, gibt es vieleicht eine neue Version als wie dort beschrieben?. Ich konnte iobroker jedenfalls nicht herunterladen. Da hat mir das mit dem Image besser gefallen, allerdings hatten die Update's ein Problem, oder Ich? Oder liegt es am neuen Rasbian?

                Frustrierend

                Dirk

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

                  Hi,

                  wo klemmt es denn bei Punkt 13?

                  Bei "npm install iobroker" oder bei "npm install –unsafe-perm iobroker"?

                  Gruß,

                  Eric

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

                    @DirkK:

                    Hallo und guten Abend, nachdem das Update wieder in die Hosen gegangen ist hab ich es mal anders herum probiert, nämlich so wie es in der Beschreibung

                    steht. Dort bin ich allerdings schon am root passwort gescheitert, ging leider nicht über putty, sondern nur über die raspbian interne konsole.

                    Das nächste Problem ist der Pkt. 13 in der Beschreibung… geht net, gibt es vieleicht eine neue Version als wie dort beschrieben?. Ich konnte iobroker jedenfalls nicht herunterladen. Da hat mir das mit dem Image besser gefallen, allerdings hatten die Update's ein Problem, oder Ich? Oder liegt es am neuen Rasbian?

                    Frustrierend

                    Dirk `

                    Erst einmal ist es sehr gut das du dich damit beschäftigst !!

                    Aller anfang ist schwer

                    Du hast also folgendes bereits geschaft

                    1\. Download Raspbian Jessie Lite # Minimal image based on Debian Jessie (2016-03-18-raspbian-jessie-lite)
                    			https://downloads.raspberrypi.org/raspbian_lite_latest
                    2\. Image auf SD-Karte bringen
                    	a.) die SD-Karte formatieren # Option = FORMAT SIZE AD JUSTMENT ON
                    			https://www.sdcard.org/downloads/formatter_4/eula_windows/SDFormatterv4.zip
                    	b.) auf SD-Karte kopieren
                    			https://sourceforge.net/projects/win32diskimager/
                    3\. Karte einlegen und RPi starten
                    4\. mit Putty per ssh am RPi3 anmelden
                    
                    

                    Das heist du meldest dich mit putty über ssh und dem User pi mit dem Passwort raspberry an dem System an

                    Diesen Vorgang solltest du bei behalten

                    Als weiteres solltest du dann folgendes durchführen:

                    `5\. alle Konfigurationen durchführen
                    	#
                    	sudo raspi-config
                    	#
                    	1 Expand Filesystem
                    	2 Change User Password
                    	3 Boot Options
                    		 B1 Console           Text console, requiring user to logi
                    	4 Wait for Network at Boot
                    		Fast Boot without waiting for network connection
                    	5 Internationalisation Options Set up language and regional settings to match your location                  │
                    		I1 Change Locale
                    			[*] de_DE.UTF-8 UTF-8
                    			Default locale for the system environment: de_DE.UTF-8
                    		I2 Change Timezone        Set up timezone to match your location
                    			Geographic area:  Europe  
                    			Time zone:        Berlin    
                    		I3 Change Keyboard Layout Set the keyboard layout to match your keyboard
                    			 Keyboard model:  Generic 105-key (Intl) PC 
                    			 Keyboard layout:  Other
                    				 Country of origin for the keyboard:   German 
                    				 Keyboard layout: German - German (qwerty) 
                    				 Key to function as AltGr: Right Alt (AltGr) 
                    				 Compose key:  Left Logo key  
                    		I4 Change Wi-fi Country   Set the legal channels used in your country
                    			 DE Germany   
                    	6 Enable Camera # Enable support for Raspberry Pi camera? <disable>7 Add to Rastrack
                    	8 Overclock
                    	9 Advanced Options
                    		A1 Overscan     You may need to configure overscan if black bars are present on display
                    		A2 Hostname     Set the visible name for this Pi on a network
                    			RPi3-1
                    		A3 Memory Split Change the amount of memory made available to the GPU
                    		A4 SSH          Enable/Disable remote command line access to your Pi using SSH
                    			 <enable>A5 Device Tree  Enable/Disable the use of Device Tree
                    		A6 SPI          Enable/Disable automatic loading of SPI kernel module (needed for e.g. PiFace)
                    		A7 I2C          Enable/Disable automatic loading of I2C kernel module
                    		A8 Serial       Enable/Disable shell and kernel messages on the serial connection
                    		A9 Audio        Force audio out through HDMI or 3.5mm jack
                    		AA GL Driver    Enable/Disable experimental desktop GL driver
                    		A0 Update       Update this tool to the latest version
                    	0 About raspi-config           Information about this configuration tool</enable></disable>` 
                    `~~[code]~~6\. dem Nutzer Root ein Passwort vergeben
                    	#
                    	sudo passwd root
                    Enter new UNIX password:
                    Retype new UNIX password:
                    passwd: password updated successfully
                    	#
                    [/code]`
                    `~~[code]~~7\. System neu starten
                    	#
                    	sudo reboot
                    [/code]`
                    
                    nach dem Reboot auch wieder mit putty über ssh und dem User pi mit dem Passwort raspberry an dem System anmelden
                    
                    nun wechselst du zu SuperUser mit
                    `~~[code]~~ su[/code]`
                    Passwort welches du unter Punkt 6 vergeben hast
                    
                    nun sind wir als Root im System
                    
                    #####	System Update: (als Root angemeldet)
                    `~~[code]~~	apt-get update && apt-get upgrade -y[/code]`
                    #####	Installing Node.js via package manager #####
                    `~~[code]~~	curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
                    	sudo apt-get install -y nodejs[/code]`
                    
                    dann hast du es fast geschafft
                    
                    #####	Installation von ioBroker # (als root einloggen)
                    `~~[code]~~	mkdir /opt/iobroker
                    	cd /opt/iobroker/
                    	npm install iobroker[/code]`
                    
                    nach einer Fehlermeldung dann bitte 
                    `~~[code]~~       npm install --unsafe-perm iobroker[/code]`
                    aufrufen
                    
                    nun sollte die Installation durchlaufen und du kannst adanach per Browser auf das AdminIF
                    
                    Schreib mal wie weit du kommst
                    
                    Gruß
                    
                    Jürgen
                    
                    1 Reply Last reply Reply Quote 0
                    • DirkK
                      DirkK last edited by

                      Guten Morgen, OK Danke das sieht ja umfangreich aus. Ich kann mich aber erst ransetzten wenn der andere Spaß erledigt ist (arbeit und familie).

                      Ich melde mich aber auf alle fälle.

                      Bei dem Punkt 13 bin ich nur bis zur erste Zeile gekommen, offensichtlich findet er nodejs0_12_6_armhf.deb nicht, keine Ahnung

                      Danke und schönes sonniges Wochenende

                      Dirk

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

                        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#

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

                          Da fehlt ein "-" 😮
                          ` > 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 Reply Quote 0
                          • DirkK
                            DirkK last edited by

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

                            Dirk

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

                              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

                              1 Reply Last reply Reply Quote 0
                              • I
                                indianaas last edited by

                                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 Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators last edited by

                                  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

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

                                    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.

                                    1 Reply Last reply Reply Quote 0
                                    • I
                                      indianaas last edited by

                                      @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 Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators last edited by

                                        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

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          indianaas last edited by

                                          @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 Reply Quote 0
                                          • S
                                            Solear last edited by

                                            @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").

                                            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

                                            835
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            13
                                            90
                                            11020
                                            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