Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Frage] Iobroker auf QNAP, USB durchschleifen (für smartmeter)

    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

    [Frage] Iobroker auf QNAP, USB durchschleifen (für smartmeter)

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

      Meinst du, du könntest mir das etwas näher erklären? Das wäre top, wenn das so funktioniert.

      Kenne mich da leider noch zu wenig mit aus.

      NodeJS werde ich noch installiert bekommen, aber dann weiter….

      Gesendet von meinem VTR-L09 mit Tapatalk

      1 Reply Last reply Reply Quote 0
      • F
        foxthefox Developer last edited by

        @coyote:

        Meinst du, du könntest mir das etwas näher erklären? Das wäre top, wenn das so funktioniert.

        Kenne mich da leider noch zu wenig mit aus.

        NodeJS werde ich noch installiert bekommen, aber dann weiter….

        Gesendet von meinem VTR-L09 mit Tapatalk `

        Gib mir etwas Zeit, ich such die Kommandos zusammen.

        So schwierig ist es nicht, man braucht halt die Kommandozeile 😉

        1 Reply Last reply Reply Quote 0
        • coyote
          coyote Most Active last edited by

          ` > Gib mir etwas Zeit, ich such die Kommandos zusammen.

          So schwierig ist es nicht, man braucht halt die Kommandozeile 😉 `
          Ja, kein Problem. Denke Kommandozeile sollte ich hinbekommen.

          Node.js ist mal installiert. Welche Version hast du genommen? Hab jetzt mal die 6er drauf

          1 Reply Last reply Reply Quote 0
          • F
            foxthefox Developer last edited by

            @coyote:

            ` > Gib mir etwas Zeit, ich such die Kommandos zusammen.

            So schwierig ist es nicht, man braucht halt die Kommandozeile 😉 `
            Ja, kein Problem. Denke Kommandozeile sollte ich hinbekommen.

            Node.js ist mal installiert. Welche Version hast du genommen? Hab jetzt mal die 6er drauf `

            Ich hab die nodjs 4.x, aber 6.x ist denke ich auch voll in Ordnung.

            Zusätzlich solltest du noch Python 2.7 drauf haben, falls irgendwelche Pakete kompiliert werden müssen.

            als root im terminal kommen folgende Schritte, immer darauf achten das die Befhle auch erfolgreich waren und ggf. prüfen ob die Verzeichnisse auch so passen:

            #we must redirect the .npm and .node-gyp to another place, due to memory limitations

            #user root in /share/homes

            mkdir /share/homes/root

            mkdir /share/homes/root/.node-gyp

            mkdir /share/homes/root/.npm

            chmod -R 777 /share/homes/root

            #link in /root to /share/homes/root

            ln -s /share/homes/root/.node-gyp /root/.node-gyp

            ln -s /share/homes/root/.npm /root/.npm

            #create iobroker directory

            cd /share/CACHEDEV1_DATA/.qpkg

            mkdir iobroker

            evtl. chmod -R 777 iobroker

            #install iobroker

            cd iobroker

            npm install iobroker –unsafe-perm

            ggf muß noch der admin Adapter installiert werden

            bzw. der port geändert werden, da 8081 schon belegt ist (adminv3 ist 9081)

            ./iobroker add admin --port 8089

            dann sollte iobroker start funktionieren und die admin seite verfügbar sein

            da beim reboot komischerweise die gesetzten links verlorengehen, sind diese neu zu setzen, wenn man Adapter installiert die node_gyp aufrufen, sonst ist spontan das sehr klein bemessene root Verzeichnis voll

            Ich hoffe es hilft

            Gruß

            Klaus

            1 Reply Last reply Reply Quote 0
            • coyote
              coyote Most Active last edited by

              Also irgendwo hab ich da noch ein Fehler:

              [~] # mkdir /share/homes/root
              [~] # mkdir /share/homes/root/.node-gyp
              [~] # mkdir /share/homes/root/.npm
              [~] # chmod -R 777 /share/homes/root
              [~] # ln -s /share/homes/root/.node-gyp /root/.
              [~] # ln -s /share/homes/root/.npm /root/.
              [~] # cd /share/CACHEDEV1_DATA/.qpkg
              [/share/CACHEDEV1_DATA/.qpkg] # mkdir iobroker
              [/share/CACHEDEV1_DATA/.qpkg] # chmod -R 777 iobroker
              [/share/CACHEDEV1_DATA/.qpkg] # npm install iobroker --unsafe-perm
              
              > iobroker@1.0.8 install /share/CACHEDEV1_DATA/.qpkg/node_modules/iobroker
              > node lib/setup.js
              
              NPM version: 3.10.10
              
              npm install iobroker.discovery --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
              npm install iobroker.admin --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
              npm install iobroker.js-controller --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
              npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
              npm WARN prefer global npm@2.15.12 should be installed with -g
              Traceback (most recent call last):
                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>import gyp.input
                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
                File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/__init__.py", line 29, in <module>File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/transformer.py", line 29, in <module>ImportError: No module named parser
              gyp ERR! configure error
              gyp ERR! stack Error: `gyp` failed with exit code: 1
              gyp ERR! stack     at ChildProcess.onCpExit (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
              gyp ERR! stack     at emitTwo (events.js:106:13)
              gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              gyp ERR! System Linux 4.2.8
              gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
              gyp ERR! node -v v6.11.1
              gyp ERR! node-gyp -v v3.4.0
              gyp ERR! not ok
              Traceback (most recent call last):
                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>import gyp.input
                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
                File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/__init__.py", line 29, in <module>File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/transformer.py", line 29, in <module>ImportError: No module named parser
              gyp ERR! configure error
              gyp ERR! stack Error: `gyp` failed with exit code: 1
              gyp ERR! stack     at ChildProcess.onCpExit (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
              gyp ERR! stack     at emitTwo (events.js:106:13)
              gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
              gyp ERR! System Linux 4.2.8
              gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
              gyp ERR! node -v v6.11.1
              gyp ERR! node-gyp -v v3.4.0
              gyp ERR! not ok
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: `node-gyp rebuild`
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
              Non-critical error: EISDIR: illegal operation on a directory, open '/share/CACHEDEV1_DATA/.qpkg/iobroker'
              /share/CACHEDEV1_DATA/.qpkg
              └─┬ iobroker@1.0.8
                └─┬ yargs@7.1.0
                  ├── camelcase@3.0.0
                  ├─┬ cliui@3.2.0
                  │ ├─┬ strip-ansi@3.0.1
                  │ │ └── ansi-regex@2.1.1
                  │ └── wrap-ansi@2.1.0
                  ├── decamelize@1.2.0
                  ├── get-caller-file@1.0.2
                  ├─┬ 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.11
                  │   │ ├─┬ parse-json@2.2.0
                  │   │ │ └─┬ error-ex@1.3.1
                  │   │ │   └── is-arrayish@0.2.1
                  │   │ ├── pify@2.3.0
                  │   │ └─┬ strip-bom@2.0.0
                  │   │   └── is-utf8@0.2.1
                  │   ├─┬ normalize-package-data@2.4.0
                  │   │ ├── hosted-git-info@2.5.0
                  │   │ ├─┬ is-builtin-module@1.0.0
                  │   │ │ └── builtin-modules@1.1.1
                  │   │ ├── semver@5.5.0
                  │   │ └─┬ validate-npm-package-license@3.0.1
                  │   │   ├─┬ spdx-correct@1.0.2
                  │   │   │ └── spdx-license-ids@1.2.2
                  │   │   └── spdx-expression-parse@1.0.4
                  │   └── 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.2
                  │ ├── code-point-at@1.1.0
                  │ └─┬ is-fullwidth-code-point@1.0.0
                  │   └── number-is-nan@1.0.1
                  ├── which-module@1.0.0
                  ├── y18n@3.2.1
                  └── yargs-parser@5.0.0
              
              npm WARN enoent ENOENT: no such file or directory, open '/share/CACHEDEV1_DATA/.qpkg/package.json'
              npm WARN .qpkg No description
              npm WARN .qpkg No repository field.
              npm WARN .qpkg No README data
              npm WARN .qpkg No license field.</module></module></module></module></module></module></module></module></module></module> 
              

              Und das hier hab ich leider noch nicht verstanden, was ich da genau machen muss:

              > wenn man Adapter installiert die node_gyp aufrufen

              1 Reply Last reply Reply Quote 0
              • F
                foxthefox Developer last edited by

                Ich glaube du hast vergessen ins iobroker Verzeichnis zu wechseln und es wurde allesin .qpkg/ installiert.

                (Mein Fehler, habs nicht explizit hingeschrieben)

                Da scheint einiges an aufräumarbeit zu sein.

                Diverse Warnungen sind glaube ich normal.

                Wenn der link nach einem reboot gelöscht ist, dann wird in /Root/.node_gyp die Dateien abgelegt und da ist nicht genug Platz.

                Gesendet von iPhone mit Tapatalk

                1 Reply Last reply Reply Quote 0
                • coyote
                  coyote Most Active last edited by

                  Hab ich mir schon fast gedacht.

                  Sieht jetzt so aus:

                  [~] # cd /share/CACHEDEV1_DATA/.qpkg
                  [/share/CACHEDEV1_DATA/.qpkg] # ls
                  CloudLink/          iobroker-data/  Octoprint/    QsyncServer/
                  container-station/  killall.sh      package.json  reinstall.sh
                  etc/                log/            Python/       SurveillanceStation/
                  helpdesk/           nodejsv6/       QJDK8/        Unifi/
                  iobroker/           node_modules/   QKVM/         VirtualHere/
                  [/share/CACHEDEV1_DATA/.qpkg] # cd ioboker
                  -sh: cd: ioboker: No such file or directory
                  [/share/CACHEDEV1_DATA/.qpkg] # cd iobroker
                  [/share/CACHEDEV1_DATA/.qpkg/iobroker] # ls
                  iobroker@1.0.8  node
                  [/share/CACHEDEV1_DATA/.qpkg/iobroker] #
                  
                  

                  Habe aber auch danach versucht in das iobroker Verzeichnis zu installieren, ging aber auch nicht.

                  > Wenn der link nach einem reboot gelöscht ist, dann wird in /Root/.node_gyp die Dateien abgelegt und da ist nicht genug Platz.
                  Ok, heißt ich muss nach nem Reboot immer das hier ausführen:

                  ln -s /share/homes/root/.node-gyp /root/.
                  ln -s /share/homes/root/.npm /root/.
                  

                  Und das kommt wenn ich versuche in das iobroker Verzeichnis zu installieren:

                  [/share/CACHEDEV1_DATA/.qpkg] # cd iobroker
                  [/share/CACHEDEV1_DATA/.qpkg/iobroker] # npm install iobroker --unsafe-perm
                  
                  > unix-dgram@0.2.3 install /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
                  > node-gyp rebuild
                  
                  Traceback (most recent call last):
                    File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
                    File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>import gyp.input
                    File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
                    File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/__init__.py", line 29, in <module>File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/transformer.py", line 29, in <module>ImportError: No module named parser
                  gyp ERR! configure error
                  gyp ERR! stack Error: `gyp` failed with exit code: 1
                  gyp ERR! stack     at ChildProcess.onCpExit (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
                  gyp ERR! stack     at emitTwo (events.js:106:13)
                  gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                  gyp ERR! System Linux 4.2.8
                  gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                  gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
                  gyp ERR! node -v v6.11.1
                  gyp ERR! node-gyp -v v3.4.0
                  gyp ERR! not ok
                  
                  > ursa@0.9.4 install /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
                  > node-gyp rebuild
                  
                  Traceback (most recent call last):
                    File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
                    File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>import gyp.input
                    File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
                    File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/__init__.py", line 29, in <module>File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/transformer.py", line 29, in <module>ImportError: No module named parser
                  gyp ERR! configure error
                  gyp ERR! stack Error: `gyp` failed with exit code: 1
                  gyp ERR! stack     at ChildProcess.onCpExit (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
                  gyp ERR! stack     at emitTwo (events.js:106:13)
                  gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                  gyp ERR! System Linux 4.2.8
                  gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                  gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
                  gyp ERR! node -v v6.11.1
                  gyp ERR! node-gyp -v v3.4.0
                  gyp ERR! not ok
                  
                  > iobroker@1.0.8 install /share/CACHEDEV1_DATA/.qpkg/node_modules/iobroker
                  > node lib/setup.js
                  
                  NPM version: 2.15.12
                  
                  npm install iobroker.discovery --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                  npm install iobroker.admin --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                  npm install iobroker.js-controller --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                  Non-critical error: EISDIR: illegal operation on a directory, open '/share/CACHEDEV1_DATA/.qpkg/iobroker'
                  iobroker.inst@1.0.8 /share/CACHEDEV1_DATA/.qpkg
                  └── iobroker@1.0.8
                  
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: `node-gyp rebuild`
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  [/share/CACHEDEV1_DATA/.qpkg/iobroker] # iobroker add admin --port 8089
                  -sh: iobroker: command not found</module></module></module></module></module></module></module></module></module></module> 
                  
                  1 Reply Last reply Reply Quote 0
                  • F
                    foxthefox Developer last edited by

                    Ich versuche es heute Abend mal nachzuvollziehen und melde mich.

                    Es scheint immer noch bei manchen aufrufen das falsche Verzeichnis zu benutzen.

                    Gesendet von iPhone mit Tapatalk

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

                      Die USB-Ports kannst du im Docker allerdings auch durchreichen. Das kannst du in den Containersettings einstellen.

                      Gruß

                      Matze

                      1 Reply Last reply Reply Quote 0
                      • F
                        foxthefox Developer last edited by

                        @coyote:

                        Hab ich mir schon fast gedacht.

                        Sieht jetzt so aus:

                        [~] # cd /share/CACHEDEV1_DATA/.qpkg
                        [/share/CACHEDEV1_DATA/.qpkg] # ls
                        CloudLink/          iobroker-data/  Octoprint/    QsyncServer/
                        container-station/  killall.sh      package.json  reinstall.sh
                        etc/                log/            Python/       SurveillanceStation/
                        helpdesk/           nodejsv6/       QJDK8/        Unifi/
                        iobroker/           node_modules/   QKVM/         VirtualHere/
                        [/share/CACHEDEV1_DATA/.qpkg] # cd ioboker
                        -sh: cd: ioboker: No such file or directory
                        [/share/CACHEDEV1_DATA/.qpkg] # cd iobroker
                        [/share/CACHEDEV1_DATA/.qpkg/iobroker] # ls
                        iobroker@1.0.8  node
                        [/share/CACHEDEV1_DATA/.qpkg/iobroker] #
                        
                        

                        Habe aber auch danach versucht in das iobroker Verzeichnis zu installieren, ging aber auch nicht. `

                        Hier sollte im .qpkg Verzeichnis ein npm uninstall iobroker helfen, es aufzuräumen.

                        @coyote:

                        > Wenn der link nach einem reboot gelöscht ist, dann wird in /Root/.node_gyp die Dateien abgelegt und da ist nicht genug Platz.
                        Ok, heißt ich muss nach nem Reboot immer das hier ausführen:

                        ln -s /share/homes/root/.node-gyp /root/.
                        ln -s /share/homes/root/.npm /root/.
                        ```` `  
                        

                        Ja. allerdings war hier bei meiner schnellen Tipperei heute früh ein Fehler drin, so muß es sein:

                            	ln -s /share/homes/root/.node-gyp /root/.node-gyp
                            	ln -s /share/homes/root/.npm /root/.npm
                        

                        Somit dürften die links bei dir auch nicht richtig gesetzt sein und u.U. ist dein root Verzeichnis voll.

                        D.h. die links müssen auf jeden Fall neu angelegt werden.

                        Hast du die qnap Oberfläche aufgehabt? Falls dort Fehlermeldungen bzgl. Speicherknappheit sind, dann ist das root-verzeichnis die Ursache.

                        @coyote:

                        Und das kommt wenn ich versuche in das iobroker Verzeichnis zu installieren:

                        [/share/CACHEDEV1_DATA/.qpkg] # cd iobroker
                        [/share/CACHEDEV1_DATA/.qpkg/iobroker] # npm install iobroker --unsafe-perm
                        
                        > unix-dgram@0.2.3 install /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
                        > node-gyp rebuild
                        
                        Traceback (most recent call last):
                          File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
                          File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>import gyp.input
                          File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
                          File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/__init__.py", line 29, in <module>File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/transformer.py", line 29, in <module>ImportError: No module named parser
                        gyp ERR! configure error
                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                        gyp ERR! stack     at ChildProcess.onCpExit (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
                        gyp ERR! stack     at emitTwo (events.js:106:13)
                        gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                        gyp ERR! System Linux 4.2.8
                        gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
                        gyp ERR! node -v v6.11.1
                        gyp ERR! node-gyp -v v3.4.0
                        gyp ERR! not ok
                        
                        > ursa@0.9.4 install /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
                        > node-gyp rebuild
                        
                        Traceback (most recent call last):
                          File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
                          File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>import gyp.input
                          File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
                          File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/__init__.py", line 29, in <module>File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/transformer.py", line 29, in <module>ImportError: No module named parser
                        gyp ERR! configure error
                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                        gyp ERR! stack     at ChildProcess.onCpExit (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
                        gyp ERR! stack     at emitTwo (events.js:106:13)
                        gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                        gyp ERR! System Linux 4.2.8
                        gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
                        gyp ERR! node -v v6.11.1
                        gyp ERR! node-gyp -v v3.4.0
                        gyp ERR! not ok
                        
                        > iobroker@1.0.8 install /share/CACHEDEV1_DATA/.qpkg/node_modules/iobroker
                        > node lib/setup.js
                        
                        NPM version: 2.15.12
                        
                        npm install iobroker.discovery --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                        npm install iobroker.admin --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                        npm install iobroker.js-controller --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                        Non-critical error: EISDIR: illegal operation on a directory, open '/share/CACHEDEV1_DATA/.qpkg/iobroker'
                        iobroker.inst@1.0.8 /share/CACHEDEV1_DATA/.qpkg
                        └── iobroker@1.0.8
                        
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: `node-gyp rebuild`
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                        [/share/CACHEDEV1_DATA/.qpkg/iobroker] # iobroker add admin --port 8089
                        -sh: iobroker: command not found</module></module></module></module></module></module></module></module></module></module> 
                        ```` `  
                        

                        Die Errors und Warnings kann ich noch nicht erklären, dazu muß ich es mal selbst neu aufsetzen.

                        Der letzte Befehl braucht ein "./" da man als root den befehl absetzt.

                        Was passiert den bei ./iobroker start ?

                        Stoppen wäre ./iobroker stop.

                        1 Reply Last reply Reply Quote 0
                        • coyote
                          coyote Most Active last edited by

                          @Matzebhv:

                          Die USB-Ports kannst du im Docker allerdings auch durchreichen. Das kannst du in den Containersettings einstellen.

                          Gruß

                          Matze `

                          Wenn du mir sagst wie, mache ich das gerne. Ich hab es nicht hinbekommen.

                          > Hier sollte im .qpkg Verzeichnis ein npm uninstall iobroker helfen, es aufzuräumen.
                          Das geht leider nicht, command not found

                          Ok, die links hab ich neu gesetzt.
                          > Hast du die qnap Oberfläche aufgehabt? Falls dort Fehlermeldungen bzgl. Speicherknappheit sind, dann ist das root-verzeichnis die Ursache.
                          Nein, waren keine Fehlermeldungen.

                          > Was passiert den bei ./iobroker start ?

                          ./iobroker: No such file or directory

                          1 Reply Last reply Reply Quote 0
                          • F
                            foxthefox Developer last edited by

                            @coyote:

                            .

                            > Hier sollte im .qpkg Verzeichnis ein npm uninstall iobroker helfen, es aufzuräumen.
                            Das geht leider nicht, command not found `
                            war bei mir auch nicht so erfolgreich, allerdings sollte der Befehl npm immer gefunden werden.

                            @coyote:

                            Ok, die links hab ich neu gesetzt.
                            > Hast du die qnap Oberfläche aufgehabt? Falls dort Fehlermeldungen bzgl. Speicherknappheit sind, dann ist das root-verzeichnis die Ursache.
                            Nein, waren keine Fehlermeldungen. `
                            Das keine Fehlermeldungen da sind, ist schon einmal gut.

                            @coyote:

                            > Was passiert den bei ./iobroker start ?

                            ./iobroker: No such file or directory `
                            Das ist auch widerrum komisch, denn es wurde ja am Ende doch etwas installiert.

                            Ich habe es mal bei mir nachvollzogen und bei mir kommen die gleichen errors und warnings.

                            Lediglich gibt es bei mir keine "npm WARN optional SKIPPING OPTIONAL DEPENDENCY" und die Installation ended etwas anders.

                            Evtl. liegt es daran.

                            Im Verzeichnis iobroker geht bei mir der Aufruf ./iobroker da ja auch eine gleichartige Datei im verzeichnis vorhanden ist.

                            Bin jetzt etwas ratlos, warum bei dir die Installation kein Ergebnis bringt.

                            1 Reply Last reply Reply Quote 0
                            • coyote
                              coyote Most Active last edited by

                              Sorry, mit deinstallieren war mein Fehler, hatte das "npm" überlesen.

                              Funktioniert dann auch mit mäßigem Erfolg, wie du auch schon sagst.

                              Habe nochmal alles von Anfang probiert, das kommt dabei raus. Verstehe aber nicht warum.

                              [/share/CACHEDEV1_DATA/.qpkg/iobroker] # npm install iobroker --unsafe-perm
                              
                              > unix-dgram@0.2.3 install /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
                              > node-gyp rebuild
                              
                              Traceback (most recent call last):
                                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
                                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>import gyp.input
                                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
                                File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/__init__.py", line 29, in <module>File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/transformer.py", line 29, in <module>ImportError: No module named parser
                              gyp ERR! configure error
                              gyp ERR! stack Error: `gyp` failed with exit code: 1
                              gyp ERR! stack     at ChildProcess.onCpExit (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
                              gyp ERR! stack     at emitTwo (events.js:106:13)
                              gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                              gyp ERR! System Linux 4.2.8
                              gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                              gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
                              gyp ERR! node -v v6.11.1
                              gyp ERR! node-gyp -v v3.4.0
                              gyp ERR! not ok
                              
                              > ursa@0.9.4 install /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
                              > node-gyp rebuild
                              
                              Traceback (most recent call last):
                                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
                                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>import gyp.input
                                File "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
                                File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/__init__.py", line 29, in <module>File "/root/daily_build/64_26/4.3.4/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/compiler/transformer.py", line 29, in <module>ImportError: No module named parser
                              gyp ERR! configure error
                              gyp ERR! stack Error: `gyp` failed with exit code: 1
                              gyp ERR! stack     at ChildProcess.onCpExit (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
                              gyp ERR! stack     at emitTwo (events.js:106:13)
                              gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                              gyp ERR! System Linux 4.2.8
                              gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                              gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
                              gyp ERR! node -v v6.11.1
                              gyp ERR! node-gyp -v v3.4.0
                              gyp ERR! not ok
                              
                              > iobroker@1.0.8 install /share/CACHEDEV1_DATA/.qpkg/node_modules/iobroker
                              > node lib/setup.js
                              
                              NPM version: 2.15.12
                              
                              npm install iobroker.discovery --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                              npm install iobroker.admin --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                              npm install iobroker.js-controller --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                              Non-critical error: EISDIR: illegal operation on a directory, open '/share/CACHEDEV1_DATA/.qpkg/iobroker'
                              iobroker.inst@1.0.8 /share/CACHEDEV1_DATA/.qpkg
                              └── iobroker@1.0.8
                              
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: `node-gyp rebuild`
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                              
                              [/share/CACHEDEV1_DATA/.qpkg/iobroker] # ./iobroker start
                              -sh: ./iobroker: No such file or directory</module></module></module></module></module></module></module></module></module></module> 
                              

                              Die Datei ./iobroker ist auch gar nicht vorhanden.

                              1 Reply Last reply Reply Quote 0
                              • F
                                foxthefox Developer last edited by

                                hab nochmal etwas herumprobiert.

                                Nach dem Neustart war im Verzeichnis erwartungsgemäß kein .node-gyp und .npm,

                                somit die links neu gesetzt.

                                Bei mir liegt Python 2.t im Verzeichnis …/.qpkg/Python

                                Da scheinbar die Warnings und Errors von nicht gefundenen python herrühren, hab ich Umgebungsvariable wie folgt gesetzt:

                                npm config set python /share/CACHEDEV1_DATA/.qpkg/Python/src/bin/python

                                dann das Verzeichnis iobroker gelöscht und neu angelegt

                                chmod 777 iobroker

                                danach in iobroker Verzeichnis wechseln

                                und npm install iobroker --unsafe-perm

                                -> Installation ohne warnings und errors von node-gyp

                                da dieQNAP-Oberfläche und iobroker auf port 8081 wären, habe ich die instanz admin.0 gelöscht

                                ./iobroker del admin.0

                                und mit

                                ./iobroker add admin --port 8085

                                auf neuen port 8085 wieder installiert

                                ./iobroker start war erfolgreich und im browser aufrufbar

                                1 Reply Last reply Reply Quote 0
                                • coyote
                                  coyote Most Active last edited by

                                  Guten morgen,

                                  habe nochmals probiert, leider ohne Erfolg. Ist es richtig dass er die Ordner node-modules,iobroker-data usw. nicht im erstellten iobroker Verzeichnis installiert? Das wundert mich etwas, sollte das nicht alles unter "iobroker" liegen?

                                  [~] # npm config set python /share/CACHEDEV1_DATA/.qpkg/Python/src/bin/python
                                  [~] # cd /share/CACHEDEV1_DATA/.qpkg
                                  [/share/CACHEDEV1_DATA/.qpkg] # rm -r iobroker
                                  [/share/CACHEDEV1_DATA/.qpkg] # mkdir iobroker
                                  [/share/CACHEDEV1_DATA/.qpkg] # chmod 777 iobroker
                                  [/share/CACHEDEV1_DATA/.qpkg] # cd iobroker
                                  [/share/CACHEDEV1_DATA/.qpkg/iobroker] # npm install iobroker --unsafe-perm
                                  
                                  > unix-dgram@0.2.3 install /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
                                  > node-gyp rebuild
                                  
                                  gyp ERR! build error
                                  gyp ERR! stack Error: not found: make
                                  gyp ERR! stack     at getNotFoundError (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                  gyp ERR! stack     at F (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                  gyp ERR! stack     at E (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                  gyp ERR! stack     at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:90:16
                                  gyp ERR! stack     at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                  gyp ERR! stack     at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                  gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
                                  gyp ERR! System Linux 4.2.8
                                  gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                  gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
                                  gyp ERR! node -v v6.11.1
                                  gyp ERR! node-gyp -v v3.4.0
                                  gyp ERR! not ok
                                  
                                  > ursa@0.9.4 install /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
                                  > node-gyp rebuild
                                  
                                  gyp ERR! build error
                                  gyp ERR! stack Error: not found: make
                                  gyp ERR! stack     at getNotFoundError (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                  gyp ERR! stack     at F (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                  gyp ERR! stack     at E (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                  gyp ERR! stack     at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:90:16
                                  gyp ERR! stack     at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                                  gyp ERR! stack     at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                                  gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
                                  gyp ERR! System Linux 4.2.8
                                  gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                  gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
                                  gyp ERR! node -v v6.11.1
                                  gyp ERR! node-gyp -v v3.4.0
                                  gyp ERR! not ok
                                  
                                  > iobroker@1.0.8 install /share/CACHEDEV1_DATA/.qpkg/node_modules/iobroker
                                  > node lib/setup.js
                                  
                                  NPM version: 2.15.12
                                  
                                  npm install iobroker.discovery --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                                  npm install iobroker.admin --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                                  npm install iobroker.js-controller --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
                                  Non-critical error: EISDIR: illegal operation on a directory, open '/share/CACHEDEV1_DATA/.qpkg/iobroker'
                                  iobroker.inst@1.0.8 /share/CACHEDEV1_DATA/.qpkg
                                  └── iobroker@1.0.8
                                  
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: `node-gyp rebuild`
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                  [/share/CACHEDEV1_DATA/.qpkg/iobroker] # ./iobroker del admin.0
                                  -sh: ./iobroker: No such file or directory
                                  [/share/CACHEDEV1_DATA/.qpkg/iobroker] # ls
                                  [/share/CACHEDEV1_DATA/.qpkg/iobroker] # iobroker start
                                  -sh: iobroker: command not found
                                  [/share/CACHEDEV1_DATA/.qpkg/iobroker] # cd ..
                                  [/share/CACHEDEV1_DATA/.qpkg] # ls
                                  CloudLink/          iobroker/       nodejsv6/      QDMS/         qusbcam2/             Unifi/
                                  container-station/  iobroker-data/  node_modules/  QJDK8/        reinstall.sh
                                  etc/                killall.sh      package.json   QKVM/         SurveillanceStation/
                                  helpdesk/           log/            Python/        QsyncServer/  ubuntu-hd/
                                  
                                  

                                  EDIT: Genau daran lag es, habe jetzt alles von Hand über WinSCP in das iobroker Verzeichnis verschoben und schon läuft das Ding 8-)

                                  EDIT2: Leider doch noch nicht so ganz, wollte gerade einen Adapter installieren. Da kommt dann auch der Error:

                                  iobroker	2018-02-16 11:29:34.854	info	npm install iobroker.amazon-dash --production --prefix "/share/CACHEDEV1_DATA/.qpkg/iobroker" (System call)
                                  iobroker	2018-02-16 11:29:34.714	info	host.NAS1C16C2 install adapter amazon-dash
                                  iobroker	2018-02-16 11:29:34.694	info	npm ERR! Please include the following file with any support request:npm ERR! /share/CACHEDEV1_DATA/.qpkg/npm-debug.log
                                  iobroker	2018-02-16 11:29:34.693	info	
                                  iobroker	2018-02-16 11:29:34.634	info	npm ERR! There is likely additional logging output above.
                                  iobroker	2018-02-16 11:29:34.634	info	npm ERR! npm owner ls socketwatcher
                                  iobroker	2018-02-16 11:29:34.634	info	npm ERR! Or if that isn't available, you can get their info via:
                                  iobroker	2018-02-16 11:29:34.634	info	npm ERR! npm bugs socketwatcher
                                  iobroker	2018-02-16 11:29:34.634	info	npm ERR! You can get information on how to open an issue for this project with:
                                  iobroker	2018-02-16 11:29:34.634	info	ERR! Tell the author that this fails on your system:npm ERR! node-gyp rebuild
                                  iobroker	2018-02-16 11:29:34.631	info	npm
                                  iobroker	2018-02-16 11:29:34.631	info	npm ERR! not with npm itself.
                                  iobroker	2018-02-16 11:29:34.631	info	npm ERR! If you do, this is most likely a problem with the socketwatcher package,
                                  iobroker	2018-02-16 11:29:34.631	info	npm ERR! Make sure you have the latest version of node.js and npm installed.
                                  iobroker	2018-02-16 11:29:34.631	info	npm ERR! Failed at the socketwatcher@0.3.0 install script 'node-gyp rebuild'.
                                  iobroker	2018-02-16 11:29:34.631	info	npm ERR!
                                  iobroker	2018-02-16 11:29:34.631	info	npm ERR! Exit status 1
                                  iobroker	2018-02-16 11:29:34.631	info	npm ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`
                                  iobroker	2018-02-16 11:29:34.631	info	npm ERR! code ELIFECYCLE
                                  iobroker	2018-02-16 11:29:34.624	info	npm ERR! npm v3.10.10
                                  iobroker	2018-02-16 11:29:34.624	info	npm ERR! argv "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/usr/local/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/share/CACHEDEV1_DATA/.qpkg/iobroker"npm ERR! node
                                  iobroker	2018-02-16 11:29:34.623	info	npm ERR! Linux 4.2.8
                                  iobroker	2018-02-16 11:29:34.216	info	ERR! node-gyp -v v3.4.0gyp ERR! not ok
                                  iobroker	2018-02-16 11:29:34.215	info	gyp
                                  iobroker	2018-02-16 11:29:34.215	info	gyp ERR! node -v v6.11.1
                                  iobroker	2018-02-16 11:29:34.215	info	gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/iobroker/node_modules/socketwatcher
                                  iobroker	2018-02-16 11:29:34.215	info	gyp ERR! System Linux 4.2.8gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
                                  iobroker	2018-02-16 11:29:34.214	info	gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
                                  iobroker	2018-02-16 11:29:34.214	info	ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5gyp ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/li
                                  iobroker	2018-02-16 11:29:34.213	info	gyp
                                  iobroker	2018-02-16 11:29:34.213	info	gyp ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:90:16
                                  iobroker	2018-02-16 11:29:34.213	info	gyp ERR! stack at E (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:81:29)
                                  iobroker	2018-02-16 11:29:34.213	info	gyp ERR! stack at F (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:69:19)
                                  iobroker	2018-02-16 11:29:34.213	info	ERR! stack Error: not found: makegyp ERR! stack at getNotFoundError (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:14:12)
                                  iobroker	2018-02-16 11:29:34.212	info	gyp
                                  iobroker	2018-02-16 11:29:34.208	info	ERR! build error
                                  iobroker	2018-02-16 11:29:34.207	info	
                                  iobroker	2018-02-16 11:29:34.203	info	gyp
                                  iobroker	2018-02-16 11:29:32.381	info	npm WARN lifecycle iobroker.amazon-dash@0.2.8~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.8 apt-get install libpcap-dev -y || true /share/CACHEDEV1_DATA/.qpkg/iobroker
                                  
                                  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

                                  940
                                  Online

                                  31.9k
                                  Users

                                  80.1k
                                  Topics

                                  1.3m
                                  Posts

                                  4
                                  21
                                  2872
                                  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