Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. Pine 64+

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.2k

Pine 64+

Geplant Angeheftet Gesperrt Verschoben Hardware
76 Beiträge 10 Kommentatoren 11.4k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • paul53P Offline
    paul53P Offline
    paul53
    schrieb am zuletzt editiert von
    #57

    @Homoran:

    auf nodejs.org gibt es ein nodejs___.tar.gz für ARM64 aber da komme ich nicht mit klar. `
    Du meinst sicherlich diese https://nodejs.org/dist/v4.4.7/node-v4.4.7-linux-arm64.tar.gz ?

    Mit meinen sehr bescheidenen Linux-Kentnissen würde ich es so versuchen:
    ` > cd /usr/local

    tar -xzf /Pfad zum Download/node-v4.4.7-linux-arm64.tar.gz `
    Danach sollten "node" und "npm" (npm als Symlink) im Suchpfad "/usr/local/bin" sein.

    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 Antwort Letzte Antwort
    0
    • HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #58

      Danke Paul,

      Ja das ist die ARM64 Version, die ich heruntergeladen habe.

      @paul53:

      Mit meinen sehr bescheidenen Linux-Kentnissen würde ich es so versuchen:

      Zitat:

      cd /usr/local

      tar -xzf /Pfad zum Download/node-v4.4.7-linux-arm64.tar.gz

      Danach sollten "node" und "npm" (npm als Symlink) im Suchpfad "/usr/local/bin" sein. `
      Das hat leider nicht geklappt.

      ich bleibe aber dran

      Danke nochmals

      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 Antwort Letzte Antwort
      0
      • paul53P Offline
        paul53P Offline
        paul53
        schrieb am zuletzt editiert von
        #59

        Dann versuche es mal so:

        cd /usr/local
        tar --strip-components=1 -xzf /Pfad zum Download/node-v4.4.7-linux-arm64.tar.gz
        

        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 Antwort Letzte Antwort
        0
        • derAugeD Offline
          derAugeD Offline
          derAuge
          schrieb am zuletzt editiert von
          #60

          Hallo,

          hier mein Lösungsansatz:

          Pine64

          Download Image

          Ubuntu Base Longsleep (3.10.65 BSP)

          https://www.pine64.pro/download.php?opt … ptionid=33

          pine64-image-ubuntubase-31065bsp-longsleep.img.xz

          7zip file and selecting "Extract All"

          Win32 Disk Imager

          Now insert your SD card into the Pine64 and power it on

          For Debian/Ubuntu

          ############################################

          sudo -i
          /usr/local/sbin/pine64_update_uboot.sh
          /usr/local/sbin/pine64_update_kernel.sh
          resize_rootfs.sh
          reboot 
          
          
          Passwort für den User "root" vergeben
          ubuntu@localhost:~$
          ubuntu@localhost:~$ sudo passwd root
          [sudo] password for ubuntu:
          Enter new UNIX password:
          Retype new UNIX password:
          passwd: password updated successfully
          #
          ##### Als User "root" anmelden #####
          ubuntu@localhost:~$ su
          Password:
          #
          
          
          System auf den aktuellen Stand bringen
          apt update && apt upgrade -y && apt autoremove -y
          #
          curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
          #
          N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://deb.nodesource.com/node_4.x xenial InRelease' doesn't support architecture 'arm64'
          #
          apt-get install -y nodejs
          #
          
          
          • Preparing to unpack …/nodejs_4.2.6~dfsg-1ubuntu4.1_arm64.deb ...
          Unpacking nodejs (4.2.6~dfsg-1ubuntu4.1) ...
          
          #
          
          reboot
          
          # 
          

          root@localhost:/home/ubuntu# node -v

          bash: node: command not found

          root@localhost:/home/ubuntu# npm -v

          bash: npm: command not found

          root@localhost:/home/ubuntu# nodejs -v

          v4.2.6

          apt-get install -y build-essential

          apt install npm

          root@localhost:/home/ubuntu# npm -v

          3.5.2

          node ist nicht da –--- nodejs ist installiert
          root@localhost:/home/ubuntu# cd /usr/bin/
          #
          root@localhost:/usr/bin# ls -la node*
          lrwxrwxrwx 1 root root       33 Dec  7  2015 node-gyp -> ../share/node-gyp/bin/node-gyp.js
          -rwxr-xr-x 1 root root 10281544 May 20 23:57 nodejs
          

          Symlink anlegen
          root@localhost:/usr/bin# ln -s nodejs node
          #
          root@localhost:/usr/bin# ls -la node*
          

          lrwxrwxrwx 1 root root 6 Jul 22 20:56 node -> nodejs

          lrwxrwxrwx 1 root root 33 Dec 7 2015 node-gyp -> ../share/node-gyp/bin/node-gyp.js

          -rwxr-xr-x 1 root root 10281544 May 20 23:57 nodejs

          • ubuntu@localhost:~$ uname -a
          Linux localhost.localdomain 3.10.102-2-pine64-longsleep #66 SMP PREEMPT Sat Jul 16 10:53:13 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux
          
          #
          
          ubuntu@localhost:~$ npm -v
          
          3.5.2
          
          ubuntu@localhost:~$ node -v
          
          v4.2.6
          
          ubuntu@localhost:~$ nodejs -v
          
          v4.2.6
          
          # 
          

          Nun zur Installation von ioBroker

          mkdir /opt/iobroker
          cd /opt/iobroker
          npm install --unsafe-perm iobroker
          
          

          iobroker@0.7.1 install /opt/iobroker/node_modules/iobroker

          node lib/setup.js

          ! npm install iobroker.js-controller –production --prefix /opt/iobroker
          ! npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
          ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
          ! npm WARN iobroker No description
          ! npm WARN iobroker No repository field.
          ! npm WARN iobroker No README data
          ! npm WARN iobroker No license field.
          ! npm install iobroker.admin --production --prefix /opt/iobroker
          ! sh: 0: getcwd() failed: No such file or directory
          ! path.js:424
          ! var path = (i >= 0) ? arguments __: process.cwd();
          ! ^
          ! Error: ENOENT: no such file or directory, uv_cwd
          ! at Error (native)
          ! at Object.posix.resolve (path.js:424:50)
          ! at Function.Module._resolveLookupPaths (module.js:250:17)
          ! at Function.Module._resolveFilename (module.js:317:31)
          ! at Function.Module.load (module.js:277:25)
          ! at Module.require (module.js:354:17)
          ! at require (internal/module.js:12:17)
          ! at /opt/iobroker/node_modules/npm/bin/npm-cli.js:23:11
          ! at Object. <anonymous>(/opt/iobroker/node_modules/npm/bin/npm-cli.js:75:3)
          ! at Module.compile (module.js:410:26)
          ! Write "./iobroker start" to start the ioBroker
          ! sh: 0: getcwd() failed: No such file or directory
          ! shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
          ! sh: 0: getcwd() failed: No such file or directory
          ! insserv: pushd() can not change to directory /etc/init.d: No such file or directory
          ! update-rc.d: error: insserv rejected the script header
          ! chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
          ! Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
          ! iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
          ! /opt/iobroker
          ! – iobroker@0.7.1 ! -- yargs@4.8.1
          ! +-- cliui@3.2.0
          ! | +-- strip-ansi@3.0.1
          ! | | -- ansi-regex@2.0.0 ! | -- wrap-ansi@2.0.0
          ! +-- decamelize@1.2.0
          ! +-- get-caller-file@1.0.1
          ! +-- lodash.assign@4.0.9
          ! | +-- lodash.keys@4.0.7
          ! | -- lodash.rest@4.0.3 ! +-- os-locale@1.4.0 ! | -- lcid@1.0.0
          ! | -- invert-kv@1.0.0 ! +-- read-pkg-up@1.0.1 ! | +-- find-up@1.1.2 ! | | +-- path-exists@2.1.0 ! | | -- pinkie-promise@2.0.1
          ! | | -- pinkie@2.0.4 ! | -- read-pkg@1.1.0
          ! | +-- load-json-file@1.1.0
          ! | | +-- graceful-fs@4.1.4
          ! | | +-- parse-json@2.2.0
          ! | | | -- error-ex@1.3.0 ! | | | -- is-arrayish@0.2.1
          ! | | +-- pify@2.3.0
          ! | | -- strip-bom@2.0.0 ! | | -- is-utf8@0.2.1
          ! | +-- normalize-package-data@2.3.5
          ! | | +-- hosted-git-info@2.1.5
          ! | | +-- is-builtin-module@1.0.0
          ! | | | -- builtin-modules@1.1.1 ! | | +-- semver@5.3.0 ! | | -- validate-npm-package-license@3.0.1
          ! | | +-- spdx-correct@1.0.2
          ! | | | -- spdx-license-ids@1.2.1 ! | | -- spdx-expression-parse@1.0.2
          ! | | -- spdx-exceptions@1.0.5 ! | -- path-type@1.1.0
          ! +-- require-directory@2.1.1
          ! +-- require-main-filename@1.0.1
          ! +-- set-blocking@2.0.0
          ! +-- string-width@1.0.1
          ! | +-- code-point-at@1.0.0
          ! | | -- number-is-nan@1.0.0 ! | -- is-fullwidth-code-point@1.0.0
          ! +-- which-module@1.0.0
          ! +-- window-size@0.2.0
          ! +-- y18n@3.2.1
          ! -- yargs-parser@2.4.1 ! -- camelcase@3.0.0
          ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
          ! npm WARN iobroker No description
          ! npm WARN iobroker No repository field.
          ! npm WARN iobroker No README data
          ! npm WARN iobroker No license field.</anonymous>
          __#####

          Die Oberfläche ist nun erreichbar.

          Ich werde es weiter beobachten

          Gruß

          Jürgen__

          1 Antwort Letzte Antwort
          0
          • HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #61

            Ich hatte in der Zwischenzeit mit Ubuntu experimentiert.

            Immerhin bekommt man mit apt-get install nodejs ein anscheinen funktionierendes node v4.2.6

            Die ioBroker Installation klappte trotzdem nicht.

            Es fehlte noch npm

            ok dann noch mit apt-get install npm das fehlende Paket installiert.

            ioBroker liess sich immer noch nicht installieren.

            Nach anfänglichen grafikspielchen des Fortschritts kam dann das böse Erwachen.

            ! ` > root@localhost:/opt/iobroker# npm install iobroker –unsafe-perm

            iobroker@0.7.1 install /opt/iobroker/node_modules/iobroker

            node lib/setup.js

            sh: 1: node: not found

            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'

            npm WARN iobroker No description

            npm WARN iobroker No repository field.

            npm WARN iobroker No README data

            npm WARN iobroker No license field.

            npm ERR! Linux 3.10.65-7-pine64-longsleep

            npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm"

            npm ERR! node v4.2.6

            npm ERR! npm v3.5.2

            npm ERR! file sh

            npm ERR! code ELIFECYCLE

            npm ERR! errno ENOENT

            npm ERR! syscall spawn

            npm ERR! iobroker@0.7.1 install: node lib/setup.js

            npm ERR! spawn ENOENT

            npm ERR!

            npm ERR! Failed at the iobroker@0.7.1 install script 'node lib/setup.js'.

            npm ERR! Make sure you have the latest version of node.js and npm installed.

            npm ERR! If you do, 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 information on how to open an issue for this project with:

            npm ERR! npm bugs iobroker

            npm ERR! Or if that isn't available, you can get their info via:

            npm ERR! npm owner ls iobroker

            npm ERR! There is likely additional logging output above.

            npm ERR! Please include the following file with any support request:

            npm ERR! /opt/iobroker/npm-debug.log `

            Alle Fehlermeldungen ignoriert; bis auf npm v3.5.2

            Da war doch was,

            apt-get purge npm

            aber wie installiere ich version 2.xx

            da stand so etwas hier im thread.

            npm install -g npm@latest-2
            

            geht doch gar nicht muss sicher apt-get…. heißen.

            Nein auch nicht, also wieder v3.xx installiert und dann npm install -g npm@latest-2 ausgeführt. Der scheint es auch ordentlich zu downgraden

            ! ````
            root@localhost:/# npm install -g npm@latest-2
            /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
            /usr/local/lib
            └─┬ npm@2.15.9
            ├── abbrev@1.0.9
            ├── ansi@0.3.1
            ├── ansi-regex@2.0.0
            ├── ansicolors@0.3.2
            ├── ansistyles@0.1.3
            ├── archy@1.0.0
            ├── async-some@1.0.2
            ├── block-stream@0.0.9
            ├── char-spinner@1.0.1
            ├── chmodr@1.0.2
            ├── chownr@1.0.1
            ├── cmd-shim@2.0.2
            ├─┬ columnify@1.5.4
            │ └─┬ wcwidth@1.0.0
            │ └─┬ defaults@1.0.3
            │ └── clone@1.0.2
            ├─┬ config-chain@1.1.10
            │ └── proto-list@1.2.4
            ├─┬ dezalgo@1.0.3
            │ └── asap@2.0.3
            ├── editor@1.0.0
            ├── fs-vacuum@1.2.9
            ├─┬ fs-write-stream-atomic@1.0.8
            │ └── iferr@0.1.5
            ├── fstream@1.0.10
            ├─┬ fstream-npm@1.0.7
            │ └── fstream-ignore@1.0.3
            ├── github-url-from-git@1.4.0
            ├── github-url-from-username-repo@1.0.2
            ├─┬ glob@7.0.4
            │ ├── fs.realpath@1.0.0
            │ └── path-is-absolute@1.0.0
            ├── graceful-fs@4.1.4
            ├── hosted-git-info@2.1.4
            ├── imurmurhash@0.1.4
            ├── inflight@1.0.5
            ├── inherits@2.0.1
            ├── ini@1.3.4
            ├─┬ init-package-json@1.9.4
            │ ├─┬ glob@6.0.4
            │ │ └── path-is-absolute@1.0.0
            │ └── promzard@0.3.0
            ├── lockfile@1.0.1
            ├─┬ lru-cache@4.0.1
            │ ├── pseudomap@1.0.2
            │ └── yallist@2.0.0
            ├─┬ minimatch@3.0.0
            │ └─┬ brace-expansion@1.1.1
            │ ├── balanced-match@0.2.1
            │ └── concat-map@0.0.1
            ├─┬ mkdirp@0.5.1
            │ └── minimist@0.0.8
            ├─┬ node-gyp@3.4.0
            │ ├─┬ minimatch@3.0.2
            │ │ └─┬ brace-expansion@1.1.5
            │ │ ├── balanced-match@0.4.1
            │ │ └── concat-map@0.0.1
            │ └─┬ path-array@1.0.1
            │ └─┬ array-index@1.0.0
            │ ├─┬ debug@2.2.0
            │ │ └── ms@0.7.1
            │ └─┬ es6-symbol@3.1.0
            │ ├── d@0.1.1
            │ └─┬ es5-ext@0.10.11
            │ ├── es6-iterator@2.0.0
            │ └── es6-symbol@3.0.2
            ├── nopt@3.0.6
            ├── normalize-git-url@3.0.2
            ├─┬ normalize-package-data@2.3.5
            │ └─┬ is-builtin-module@1.0.0
            │ └── builtin-modules@1.1.0
            ├── npm-cache-filename@1.0.2
            ├── npm-install-checks@1.0.7
            ├── npm-package-arg@4.1.0
            ├─┬ npm-registry-client@7.1.2
            │ ├─┬ concat-stream@1.5.1
            │ │ ├─┬ readable-stream@2.0.6
            │ │ │ ├── core-util-is@1.0.2
            │ │ │ ├── isarray@1.0.0
            │ │ │ ├── process-nextick-args@1.0.7
            │ │ │ ├── string_decoder@0.10.31
            │ │ │ └── util-deprecate@1.0.2
            │ │ └── typedarray@0.0.6
            │ └── retry@0.8.0
            ├── npm-user-validate@0.1.4
            ├─┬ npmlog@2.0.4
            │ ├─┬ are-we-there-yet@1.1.2
            │ │ └── delegates@1.0.0
            │ └─┬ gauge@1.2.7
            │ ├── has-unicode@2.0.0
            │ ├─┬ lodash.pad@4.4.0
            │ │ ├── lodash._baseslice@4.0.0
            │ │ ├── lodash._basetostring@4.12.0
            │ │ └── lodash.tostring@4.1.3
            │ ├─┬ lodash.padend@4.5.0
            │ │ ├── lodash._baseslice@4.0.0
            │ │ ├── lodash._basetostring@4.12.0
            │ │ └── lodash.tostring@4.1.3
            │ └─┬ lodash.padstart@4.5.0
            │ ├── lodash._baseslice@4.0.0
            │ ├── lodash._basetostring@4.12.0
            │ └── lodash.tostring@4.1.3
            ├── once@1.3.3
            ├── opener@1.4.1
            ├─┬ osenv@0.1.3
            │ ├── os-homedir@1.0.0
            │ └── os-tmpdir@1.0.1
            ├── path-is-inside@1.0.1
            ├─┬ read@1.0.7
            │ └── mute-stream@0.0.5
            ├─┬ read-installed@4.0.3
            │ ├── debuglog@1.0.1
            │ ├── readdir-scoped-modules@1.0.2
            │ └── util-extend@1.0.1
            ├─┬ read-package-json@2.0.4
            │ ├─┬ glob@6.0.4
            │ │ └── path-is-absolute@1.0.0
            │ └─┬ json-parse-helpfulerror@1.0.3
            │ └── jju@1.3.0
            ├─┬ readable-stream@2.1.4
            │ ├── buffer-shims@1.0.0
            │ ├── core-util-is@1.0.2
            │ ├── isarray@1.0.0
            │ ├── process-nextick-args@1.0.7
            │ ├── string_decoder@0.10.31
            │ └── util-deprecate@1.0.2
            ├── realize-package-specifier@3.0.1
            ├─┬ request@2.72.0
            │ ├── aws-sign2@0.6.0
            │ ├── aws4@1.3.2
            │ ├─┬ bl@1.1.2
            │ │ └─┬ readable-stream@2.0.6
            │ │ ├── core-util-is@1.0.2
            │ │ ├── isarray@1.0.0
            │ │ ├── process-nextick-args@1.0.7
            │ │ ├── string_decoder@0.10.31
            │ │ └── util-deprecate@1.0.2
            │ ├── caseless@0.11.0
            │ ├─┬ combined-stream@1.0.5
            │ │ └── delayed-stream@1.0.0
            │ ├── extend@3.0.0
            │ ├── forever-agent@0.6.1
            │ ├─┬ form-data@1.0.0-rc4
            │ │ └── async@1.5.2
            │ ├─┬ har-validator@2.0.6
            │ │ ├─┬ chalk@1.1.3
            │ │ │ ├── ansi-styles@2.2.1
            │ │ │ ├── escape-string-regexp@1.0.5
            │ │ │ ├── has-ansi@2.0.0
            │ │ │ └── supports-color@2.0.0
            │ │ ├─┬ commander@2.9.0
            │ │ │ └── graceful-readlink@1.0.1
            │ │ ├─┬ is-my-json-valid@2.13.1
            │ │ │ ├── generate-function@2.0.0
            │ │ │ ├─┬ generate-object-property@1.2.0
            │ │ │ │ └── is-property@1.0.2
            │ │ │ ├── jsonpointer@2.0.0
            │ │ │ └── xtend@4.0.1
            │ │ └─┬ pinkie-promise@2.0.1
            │ │ └── pinkie@2.0.4
            │ ├─┬ hawk@3.1.3
            │ │ ├── boom@2.10.1
            │ │ ├── cryptiles@2.0.5
            │ │ ├── hoek@2.16.3
            │ │ └── sntp@1.0.9
            │ ├─┬ http-signature@1.1.1
            │ │ ├── assert-plus@0.2.0
            │ │ ├─┬ jsprim@1.2.2
            │ │ │ ├── extsprintf@1.0.2
            │ │ │ ├── json-schema@0.2.2
            │ │ │ └── verror@1.3.6
            │ │ └─┬ sshpk@1.8.3
            │ │ ├── asn1@0.2.3
            │ │ ├── assert-plus@1.0.0
            │ │ ├── dashdash@1.13.1
            │ │ ├── ecc-jsbn@0.1.1
            │ │ ├── getpass@0.1.6
            │ │ ├── jodid25519@1.0.2
            │ │ ├── jsbn@0.1.0
            │ │ └── tweetnacl@0.13.3
            │ ├── is-typedarray@1.0.0
            │ ├── isstream@0.1.2
            │ ├── json-stringify-safe@5.0.1
            │ ├─┬ mime-types@2.1.11
            │ │ └── mime-db@1.23.0
            │ ├── node-uuid@1.4.7
            │ ├── oauth-sign@0.8.2
            │ ├── qs@6.1.0
            │ ├── stringstream@0.0.5
            │ ├── tough-cookie@2.2.2
            │ └── tunnel-agent@0.4.3
            ├── retry@0.9.0
            ├─┬ rimraf@2.5.2
            │ └─┬ glob@7.0.0
            │ └── path-is-absolute@1.0.0
            ├── semver@5.1.0
            ├─┬ sha@2.0.1
            │ └─┬ readable-stream@2.0.2
            │ ├── core-util-is@1.0.1
            │ ├── isarray@0.0.1
            │ ├── process-nextick-args@1.0.3
            │ ├── string_decoder@0.10.31
            │ └── util-deprecate@1.0.1
            ├── slide@1.1.6
            ├── sorted-object@2.0.0
            ├── spdx-license-ids@1.2.1
            ├── strip-ansi@3.0.1
            ├── tar@2.2.1
            ├── text-table@0.2.0
            ├── uid-number@0.0.6
            ├── umask@1.1.0
            ├─┬ validate-npm-package-license@3.0.1
            │ ├── spdx-correct@1.0.2
            │ └─┬ spdx-expression-parse@1.0.2
            │ └── spdx-exceptions@1.0.4
            ├─┬ validate-npm-package-name@2.2.2
            │ └── builtins@0.0.7
            ├─┬ which@1.2.10
            │ └── isexe@1.1.2
            ├── wrappy@1.0.2
            └── write-file-atomic@1.1.4

            
            Erneuter Versuch mit iobroker - gleicher Fehler.
            
            Kann doch gaar nicht sein! Was sagt denn npm -v? Ich fall vom Glauben ab:
            

            root@localhost:/opt/iobroker# npm -v
            3.5.2

            nochmal downgrade - 2.15.9 - bestätigt; npm -v wieder 3.5.2
            
            >! ````
            root@localhost:/opt/iobroker# npm -v
            3.5.2
            root@localhost:/opt/iobroker# npm install -g npm@latest-2
            /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
            /usr/local/lib
            └── npm@2.15.9 
            >! root@localhost:/opt/iobroker# npm -v
            3.5.2
            root@localhost:/opt/iobroker# npm install -g npm@latest-2
            /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
            /usr/local/lib
            └── npm@2.15.9 
            >! root@localhost:/opt/iobroker# npm -v
            3.5.2
            root@localhost:/opt/iobroker# cd ..
            root@localhost:/opt# cd /
            root@localhost:/# npm -v
            3.5.2
            root@localhost:/# npm install -g npm@latest-2
            /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
            /usr/local/lib
            └── npm@2.15.9 
            >! root@localhost:/# npm -v
            3.5.2
            >! ````
            
            Wie um alles bekomme ich eine npm 2.xx installiert???
            
            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 Antwort Letzte Antwort
            0
            • paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von
              #62

              Ich habe mal mit 7-zip in die "node-v4.4.7-linux-arm64.tar.gz" geschaut: Die dort enthaltene Version von npm ist 2.15.8.

              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 Antwort Letzte Antwort
              0
              • eric2905E Offline
                eric2905E Offline
                eric2905
                schrieb am zuletzt editiert von
                #63

                Moin zusammen,

                @derAuge:

                Hallo,

                hier mein Lösungsansatz:

                […]

                Download Image

                Ubuntu Base Longsleep (3.10.65 BSP) `

                mit Ubuntu funktioniert es sehr gut, nur eben mit Debian nicht - was Rainer ja gerne nutzen möchte.

                Und die Jungs von nodejs.org haben ihm ja quasi (überspitzt) zwischen den Zeilen gesagt "Nerv nicht, wir können nicht alle Plattformen und Varianten beachten. Evtl. schauen wir uns das später an - aber nicht jetzt". :-)

                Für Debian habe ich auch noch keine Lösung parat.

                Gruß,

                Eric

                Roses are red, violets are blue,

                if I listen to metal, my neighbours do too

                1 Antwort Letzte Antwort
                0
                • derAugeD Offline
                  derAugeD Offline
                  derAuge
                  schrieb am zuletzt editiert von
                  #64

                  @Homoran:

                  Ich hatte in der Zwischenzeit mit Ubuntu experimentiert.

                  Immerhin bekommt man mit apt-get install nodejs ein anscheinen funktionierendes node v4.2.6

                  Die ioBroker Installation klappte trotzdem nicht.

                  Es fehlte noch npm

                  ok dann noch mit apt-get install npm das fehlende Paket installiert.

                  ioBroker liess sich immer noch nicht installieren.

                  Nach anfänglichen grafikspielchen des Fortschritts kam dann das böse Erwachen.

                  root@localhost:/opt/iobroker# npm install iobroker –unsafe-perm

                  iobroker@0.7.1 install /opt/iobroker/node_modules/iobroker

                  node lib/setup.js `

                  sh: 1: node: not found

                  Moin Rainer,

                  das sieht doch bis dahin ganz gut aus. Es fehlt nur noch der SysLink von NodeJs auf Node

                  Versuch mal:
                  ` > root@localhost:/home/ubuntu# cd /usr/bin/

                  root@localhost:/usr/bin# ls -la node*

                  lrwxrwxrwx 1 root root 33 Dec 7 2015 node-gyp -> ../share/node-gyp/bin/node-gyp.js

                  -rwxr-xr-x 1 root root 10281544 May 20 23:57 nodejs `

                  Da ist ja kein node vorhanden. Daher auch deine Fehlermeldung: "sh: 1: node: not found"

                  Symlink anlegen

                  > root@localhost:/usr/bin# ****ln -s nodejs node****

                  root@localhost:/usr/bin# ls -la node*

                  lrwxrwxrwx 1 root root 6 Jul 22 20:56 node -> nodejs

                  lrwxrwxrwx 1 root root 33 Dec 7 2015 node-gyp -> ../share/node-gyp/bin/node-gyp.js

                  -rwxr-xr-x 1 root root 10281544 May 20 23:57 nodejs

                  ubuntu@localhost:~$ uname -a
                  Linux localhost.localdomain 3.10.102-2-pine64-longsleep #66 SMP PREEMPT Sat Jul 16 10:53:13 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux
                  #
                  ubuntu@localhost:~$ npm -v
                  3.5.2
                  ubuntu@localhost:~$ node -v
                  v4.2.6
                  ubuntu@localhost:~$ nodejs -v
                  v4.2.6
                  #
                  

                  Dann sollte die Installation auch funktionieren

                  Gruß

                  Jürgen

                  1 Antwort Letzte Antwort
                  0
                  • HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #65

                    Hallo Jürgen,

                    Danke.

                    War erstens gestern schon zu spät und zweitens fehlt mir da das Wissen.

                    Habe ja auch geschrieben, dass ich erstmal alle anderen Fehlermeldungen ignoriert habe um npm auf 2.xx zu bekommen.

                    Wollte mich danach reinarbeiten.

                    Werde das mal umsetzen, aber:

                    Hast du dann auch npm 3.5.x?

                    Das läuft lt. Bluefox nicht rund.

                    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 Antwort Letzte Antwort
                    0
                    • eric2905E Offline
                      eric2905E Offline
                      eric2905
                      schrieb am zuletzt editiert von
                      #66

                      Moin zusammen,

                      auf dem Pine habe ich es bisher nicht geschafft, npm mit einer Version höher als 3.5.x zu installieren.

                      ioBroker läuft aber rund damit (bisher).

                      Gruß,

                      Eric

                      Roses are red, violets are blue,

                      if I listen to metal, my neighbours do too

                      1 Antwort Letzte Antwort
                      0
                      • HomoranH Nicht stören
                        HomoranH Nicht stören
                        Homoran
                        Global Moderator Administrators
                        schrieb am zuletzt editiert von
                        #67

                        Nicht höher! Niedriger! 2.xx soll es sein.

                        Und du hast keine Probleme mit 3.xx?

                        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 Antwort Letzte Antwort
                        0
                        • derAugeD Offline
                          derAugeD Offline
                          derAuge
                          schrieb am zuletzt editiert von
                          #68

                          @Homoran:

                          Nicht höher! Niedriger! 2.xx soll es sein.

                          Und du hast keine Probleme mit 3.xx?

                          Gruß

                          Rainer `

                          Das sind meine installierten Versionen

                          ubuntu@localhost:~$ uname -a
                          Linux localhost.localdomain 3.10.102-2-pine64-longsleep #66 SMP PREEMPT Sat Jul 16 10:53:13 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux
                          
                          ubuntu@localhost:~$ npm -v
                          3.5.2
                          ubuntu@localhost:~$ node -v
                          v4.2.6
                          ubuntu@localhost:~$ nodejs -v
                          v4.2.6
                          
                          

                          Gruß

                          Jürgen

                          PS: Teste gerade den zweiten. Die Geräte habe die gleiche MAC-Adresse. Werde das auch noch suchen müssen

                          1 Antwort Letzte Antwort
                          0
                          • HomoranH Nicht stören
                            HomoranH Nicht stören
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von
                            #69

                            Auch du hast npm 3.xx

                            Auch ohne Probleme?

                            @derAuge:

                            PS: Teste gerade den zweiten. Die Geräte habe die gleiche MAC-Adresse. Werde das auch noch suchen müssen `
                            Da gibt es bei pine64 einen Beitrag.

                            Hatte gehofft dass das ein Einzelfall war.

                            Mein zweiter ist noch in der Schachtel.

                            Ich habe im Moment aber anscheinend Probleme mit dem CEC beim HDMI.

                            Bin nativ auf dem Pine an einem Monitor mit drei Eingängen. DVI für den PC und HDMI für alles was ich teste.

                            Könnte bisher immer hin und herschalten. Jetzt muss ich den HDMI während des POST an haben, damit ich etwas sehe, zu früh und der Monitor schaltet auf VGA, zu spät und der Pine liefert kein Bild.

                            Ebenso, wenn ich zwischendurch auf DVI schalte bekomme ich hinterher kein Bildmehr vom Pine :(

                            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 Antwort Letzte Antwort
                            0
                            • eric2905E Offline
                              eric2905E Offline
                              eric2905
                              schrieb am zuletzt editiert von
                              #70

                              Bzgl. MAC kommt das wohl von OS - das ignoriert die HW-Mac u d nimmt seine eigene (dummerweise immer die gleiche).

                              Mit npm 3.5.2 habe ich bisher nichts im normalen Betrieb feststellen können. Allerdings läuft da auch nur ein abgespecktes Mini-System mit hm-rpc und hm-rega.

                              Ich habe mir extra einen neuen Monitor gekauft, weil mein alter Dell 27" (1920 x 1200) die Umschaltung und Darstellung nicht hinbekommen hat.

                              Gruß,

                              Eric

                              Roses are red, violets are blue,

                              if I listen to metal, my neighbours do too

                              1 Antwort Letzte Antwort
                              0
                              • derAugeD Offline
                                derAugeD Offline
                                derAuge
                                schrieb am zuletzt editiert von
                                #71

                                @eric2905:

                                Bzgl. MAC kommt das wohl von OS - das ignoriert die HW-Mac u d nimmt seine eigene (dummerweise immer die gleiche). `

                                nach dem Schreiben des Images muss auf der SD-Karte die Datei "uEnv.txt" angepasst werden

                                • ethaddr=36:c9:e3:f1:b8:xx

                                Diese angepasste MAC-Adressen wird bei Ubuntu und Debian übernommen.

                                Gruß

                                Jürgen

                                EDIT:

                                Sollte man ein System bereits laufen haben, kann man auch als root die Datei anpassen:

                                sudo mount /dev/mmcblk0p1 /mnt/
                                vi /mnt/uEnv.txt
                                reboot
                                
                                

                                Ein Neustart ist natürlich dann erforderlich

                                1 Antwort Letzte Antwort
                                0
                                • eric2905E Offline
                                  eric2905E Offline
                                  eric2905
                                  schrieb am zuletzt editiert von
                                  #72

                                  Genau das meinte ich.

                                  Bin nicht zu Hause, um das nachsehen zu können.

                                  Danke Dir.

                                  Gruß,

                                  Eric

                                  Roses are red, violets are blue,

                                  if I listen to metal, my neighbours do too

                                  1 Antwort Letzte Antwort
                                  0
                                  • derAugeD Offline
                                    derAugeD Offline
                                    derAuge
                                    schrieb am zuletzt editiert von
                                    #73

                                    so,

                                    habe noch mal etwas getestet.

                                    Debian Base (3.10.102 BSP 2)

                                    https://www.pine64.pro/download.php?opt … ptionid=59

                                    pine64-image-debianbase-310102bsp-2.img

                                    ################################

                                    7zip file and selecting "Extract All"

                                    Win32 Disk Imager

                                    ################################

                                    <u>Vorbereitungen / Einstellungen</u>

                                    ##### Now insert your SD card into the Pine64 and power it on #####
                                    #
                                    ## For Debian
                                    ############################################
                                    sudo passwd root
                                    sudo -i
                                    nano /etc/hosts
                                    nano /etc/hostname
                                    /usr/local/sbin/pine64_update_uboot.sh
                                    /usr/local/sbin/pine64_update_kernel.sh
                                    ##### Speicherpatz erweitern #####
                                    resize_rootfs.sh
                                    ##### Nutzer anlegen
                                    adduser auge
                                    usermod -aG sudo auge
                                    sudo dpkg-reconfigure locales 
                                    reboot 
                                    ############################################
                                    
                                    

                                    <u>Als root weiter arbeiten</u>

                                    ##### System auf den aktuellen Stand bringen #####
                                    apt update && apt upgrade -y
                                    #
                                    
                                    

                                    <u>Dann das ARM Binarie laden und auspacken</u>

                                    ###########################################################################
                                    #####
                                    ##### Download ARM Binarie (.tar.xz) im Verzeichniss /home/auge ###########
                                    #####
                                    wget https://nodejs.org/dist/v4.4.7/node-v4.4.7-linux-arm64.tar.xz
                                    #
                                    cd /usr/local
                                    tar --strip-components=1 -xvf /home/auge/node-v4.4.7-linux-arm64.tar.xz
                                    #####
                                    ###########################################################################
                                    
                                    

                                    <u>Der Rest ist ja bekannt</u>

                                    ##### Nun zur Installation von ioBroker #####
                                    #
                                    #
                                    mkdir /opt/iobroker
                                    cd /opt/iobroker
                                    npm install --unsafe-perm iobroker
                                    
                                    

                                    <u>Läuft zur Zeit im Testbetrieb</u>

                                    root@Pine64-2:/opt/iobroker# uname -a

                                    Linux Pine64-2 3.10.102-2-pine64-longsleep #66 SMP PREEMPT Sat Jul 16 10:53:13 CEST 2016 aarch64 GNU/Linux

                                    root@Pine64-2:/opt/iobroker# npm -v

                                    2.15.8

                                    root@Pine64-2:/opt/iobroker# node -v

                                    hier kommt keine Angabe :roll:

                                    Gruß

                                    Jürgen

                                    1 Antwort Letzte Antwort
                                    0
                                    • HomoranH Nicht stören
                                      HomoranH Nicht stören
                                      Homoran
                                      Global Moderator Administrators
                                      schrieb am zuletzt editiert von
                                      #74

                                      Das klingt gut

                                      Evtl reichen mir ja sogar Teile davon.

                                      @derAuge:

                                      root@Pine64-2:/opt/iobroker# node -v

                                      hier kommt keine Angabe `

                                      du musst ja auch nodejs -v eingeben.

                                      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 Antwort Letzte Antwort
                                      0
                                      • derAugeD Offline
                                        derAugeD Offline
                                        derAuge
                                        schrieb am zuletzt editiert von
                                        #75

                                        @Homoran:

                                        Das klingt gut

                                        Evtl reichen mir ja sogar Teile davon.

                                        @derAuge:

                                        root@Pine64-2:/opt/iobroker# node -v

                                        hier kommt keine Angabe `

                                        du musst ja auch nodejs -v eingeben.

                                        Gruß

                                        Rainer `

                                        nein

                                        ~$ nodejs -v

                                        -bash: nodejs: Kommando nicht gefunden.

                                        1 Antwort Letzte Antwort
                                        0
                                        • M Offline
                                          M Offline
                                          Maxtox
                                          schrieb am zuletzt editiert von
                                          #76

                                          Debian Image von http://wiki.pine64.org/index.php/Pine_A … eep_kernel

                                          Direkt link: http://files.pine64.org/os/debian/debia ... 64-8GB.zip

                                          Login with

                                          username: debian

                                          password: debian

                                          Nach dem login:

                                          resize_rootfs.sh
                                          
                                          

                                          Um Partition zu vergrößern.

                                          sudo apt-get update
                                          sudo apt-get upgrade
                                          sudo apt-get install -y build-essential
                                          cd /tmp
                                          wget https://nodejs.org/dist/v4.5.0/node-v4.5.0-linux-arm64.tar.xz
                                          cd /usr/local
                                          sudo tar --strip-components=1 -xvf /tmp/node-v4.5.0-linux-arm64.tar.xz
                                          
                                          
                                          mkdir /opt/iobroker
                                          cd /opt/iobroker
                                          sudo npm install --unsafe-perm iobroker
                                          chmod 777 * -R
                                          
                                          

                                          Die Version 4.5.0 wurde von Bluefox empfohlen.

                                          Um den ganzen GUI Müll zu entsorgen (mehr "Platz"im RAM ):

                                          sudo apt-get remove --purge x11-common
                                          sudo apt-get autoremove
                                          

                                          getestet…LÄUFT sauber!

                                          Arduino MEGA 2560 R3 / ioBroker / DOino Sketch

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          910

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe