Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IOBroker auf Rock64 und Armbian - Probleme

    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

    IOBroker auf Rock64 und Armbian - Probleme

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

      Hallo zusammen,

      ich kämpfe seit 3 Tagen mit meinem Rock64 und versuche, IOBroker darauf ans Laufen zu bekommen.

      Nachdem IOBroker seit einem halben Jahr mehr oder weniger problemlos auf dem Rock64 lief, hatte ich in den letzten 2 Wochen enorme Probleme und hab dann entschieden, das System neu aufzusetzen und ein Backup einzuspielen.

      Bin wie folgt vorgegangen:

      Frische Installation von Armbian für Rock64

      Anmeldung mit Root

      Installation von IOBroker nach der NEUEN Anleitung (http://www.iobroker.net/docu/?page_id=8323&lang=de)

      Node und node.js ist v8.15.0

      npm ist 6.4.1

      Backupdatei habe ich dann ins Unterverzeichnis backups geschoben und habe mit restore 0 wiederhergestellt.

      Es erscheint dann im Log immer wieder folgender Fehler:

      ERROR: host.rock64 error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'

      Nach einigen Stunden war das Backup durch, aber einige Adapter laufen nicht und ich kann z. B. den Amazon-Dash Adapter nicht installieren.

      Git ist ebenfalls installiert und mittlerweile habe ich sogar den JS-Controller auf 1.5.3 upgedatet.

      Wenn ich z. B. den Dash-Adapter installieren möchte (egal ob über Admin-Oberfläche oder über Konsole), dann bekommt ich folgende Fehlermeldung:

      $ ./iobroker add amazon-dash  --host rock64
      NPM version: 6.4.1
      npm install iobroker.amazon-dash --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
      WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
      
      Traceback (most recent call last):  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>
          import gyp
        File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>
          import gyp.input
        File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>
          from compiler.ast import Const
      ImportError: No module named compiler.ast
      
      gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1
      gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
      gyp ERR! stack     at emitTwo (events.js:126:13)
      gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
      gyp ERR! System Linux 4.4.167-rockchip64
      
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp
       ERR! cwd /opt/iobroker/node_modules/diskusagegyp ERR! node -v v8.15.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok 
      
      Traceback (most recent call last):  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>
      
          import gyp  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>
          import gyp.input
        File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>
          from compiler.ast import Const
      ImportError: No module named compiler.ast
      
      gyp 
      ERR! configure error 
      gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
      gyp ERR! stack     at emitTwo (events.js:126:13)
      gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
      gyp ERR! System Linux 4.4.167-rockchip64
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/mdns
      gyp ERR! node -v v8.15.0
      gyp ERR! node-gyp -v v3.8.0
      gyp
       ERR! not ok 
      Traceback (most recent call last):  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>
          import gyp
        File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>
          import gyp.input
        File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>
          from compiler.ast import Const
      ImportError: No module named compiler.ast
      
      gyp
       ERR! configure error 
      gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
      gyp ERR! stack     at emitTwo (events.js:126:13)
      gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
      gyp ERR! System Linux 4.4.167-rockchip64
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/socketwatcher
      gyp ERR! node -v v8.15.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok 
      
      npm
       WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@0.2.6 (node_modules/diskusage):npm WARN optional
       SKIPPING OPTIONAL DEPENDENCY: diskusage@0.2.6 install: `node-gyp rebuild`npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      npm
       WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 (node_modules/mdns):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 install: `node-gyp rebuild`
      npm 
      WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      npm
       ERR! code ELIFECYCLE
      npm ERR! errno 1npm
       ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`npm ERR! Exit status 1
      npm ERR!
       npm ERR! Failed at the socketwatcher@0.3.0 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:npm ERR!     /root/.npm/_logs/2019-01-11T07_46_21_162Z-debug.log
      
      host.rock64 create instance amazon-dash
      ERROR: host.rock64 error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'
      ERROR: process exited with code 20</module></module></module></module></module></module></module></module></module>
      

      Hat jemand eine Idee, wo der Fehler liegt bzw. was ich falsch gemacht oder vergessen habe?

      Herzlichen Dank im Voraus

      Frank

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

        Moin,

        mit dem Problem habe ich mich heute auch etwas aufgehalten.

        Geholfen hat folgender Beitrag:

        "[Gelöst] Adapter installation nicht möglich"

        viewtopic.php?t=17080

        Mfg

        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

        666
        Online

        31.8k
        Users

        80.0k
        Topics

        1.3m
        Posts

        2
        2
        597
        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