NEWS
Iobroker auf synology ds-214play
-
Hardware:
CCU2
Synology ds-214play
Samsung Tab A 10.1
Hallo erstmal,
als Jahrelanger Homematic CCU2 Nutzer
möchte mich nach langen einlesen endlich an IoBroker ran trauen,
Anleitungen habe ich eine mit dem Synology Docker gefunden, die geht bei der 214Play nicht da kein Docker für die verfügbar ist.
Nun hab ich die hier gefunden:
https://www.youtube.com/watch?v=qP9BiuHrQRQ
node v4 geladen
angemeldet mit ZOC (Wie Putty) aufm Mac als Root
und bei mkdir hakt es schon !
habe einfach mal von Hand unter Homes/admin ein verzeichnis erstellt opt/iobroker
und dann ochmal mit der konsole mkdir erneut eingegeben, dachte das er nun sagt das er das Verzeichnis nicht anlegen kann da vorhanden….aber es kommt die gleiche Fehlermeldung!
würde mich über eure Hilfe freuen
Danke
Jonny
3375_capturfiles_4.png -
Hallo,
mit etwas Hilfe bin ich schon weiter,
musste jedes Directory einzeln anlegen
mkdir /opt
cd /opt
mkdir /iobroker
nun hängt es hier :
[CODE
[SSH] Server Version OpenSSH_6.8p1-hpn14v6
[SSH] Logged in (password)
admin@DS214play:~$ sudo -i
Password:
root@DS214play:~# cd /opt/iobroker/
-ash: cd: /opt/iobroker/: No such file or directory
root@DS214play:~# cd ..
root@DS214play:/# cd /opt/iobroker/
-ash: cd: /opt/iobroker/: No such file or directory
root@DS214play:/#
Dann kommen diese Befehle :
npm install iobroker
Verständnisfrage, er soll also ein file installieren , woher kennt der den Pfad Bzw sonst muss ich es wohl runterladen und in ein Verzeichnis kopieren oder ?
die download section habe ich schon.
http://www.iobroker.net/docu/?page_id=2279&lang=de
meine ds-214play hat doch einen intel atom an board
nur was nehme ich da ?
tolle Anleitung in dem Video :-((
gruß
Jonny
-
OMG
nur Fehler und wenn ich das darin richtig lese hat er sich mit sudo selbst berichtigt ?
weil starten ging!
Bin auf dem webinterface .
LÄUFT :-))
Nur der neugier halber was lief da ab ?
Kann das jetzt so bleiben wie das Installiert ist ?
drwxr-xr-x 2 root root 4096 Aug 26 00:03 iobroker root@DS214play:/opt# cd iobroker root@DS214play:/opt/iobroker# npm install iobroker npm WARN cannot run in wd iobroker@1.0.1 node lib/setup.js (wd=/opt/iobroker/node_modules/iobroker) iobroker@1.0.1 node_modules/iobroker └── yargs@7.1.0 (get-caller-file@1.0.2, decamelize@1.2.0, y18n@3.2.1, camelcase@3.0.0, which-module@1.0.0, set-blocking@2.0.0, yargs-parser@5.0.0, require-main-filename@1.0.1, require-directory@2.1.1, cliui@3.2.0, os-locale@1.4.0, string-width@1.0.2, read-pkg-up@1.0.1) root@DS214play:/opt/iobroker# ./iobroker start -ash: ./iobroker: No such file or directory root@DS214play:/opt/iobroker# cd /opt/iobroker root@DS214play:/opt/iobroker# node node_modules/iobroker/lib/setup.js setup first npm install iobroker.discovery --production --prefix /opt/iobroker npm install iobroker.admin --production --prefix /opt/iobroker npm install iobroker.js-controller --production --prefix /opt/iobroker gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.8.4" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.js-controller/node_modules/winston-syslog/node_modules/unix-dgram/.node-gyp" gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12) gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19) gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29) gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15) gyp ERR! System Linux 3.2.40 gyp ERR! command "/volume1/@appstore/Node.js_v4/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/winston-syslog/node_modules/unix-dgram gyp ERR! node -v v4.8.4 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN optional dep failed, continuing unix-dgram@0.2.3 gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.8.4" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/rsa-compat/node_modules/ursa/.node-gyp" gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12) gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19) gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29) gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15) gyp ERR! System Linux 3.2.40 gyp ERR! command "/volume1/@appstore/Node.js_v4/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/rsa-compat/node_modules/ursa gyp ERR! node -v v4.8.4 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN optional dep failed, continuing ursa@0.9.4 Cannot write file. Not critical: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../killall.sh' fs.js:794 return binding.mkdir(pathModule._makeLong(path), ^ Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../iobroker-data/' at Error (native) at Object.fs.mkdirSync (fs.js:794:18) at mkpathSync (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:23:24) at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:145:13) at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:601:27 at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:633:15) at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2993:5) at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:100) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) npm ERR! Linux 3.2.40 npm ERR! argv "/volume1/@appstore/Node.js_v4/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.js-controller" "--production" "--prefix" "/opt/iobroker" npm ERR! node v4.8.4 npm ERR! npm v2.15.11 npm ERR! code ELIFECYCLE npm ERR! iobroker.js-controller@1.1.3 install: `node iobroker.js setup first` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.js-controller@1.1.3 install script 'node iobroker.js setup first'. npm ERR! This is most likely a problem with the iobroker.js-controller package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node iobroker.js setup first npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.js-controller npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls iobroker.js-controller 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 Cannot install as normal user. Try sudo... sudo npm install iobroker.js-controller --production --prefix /opt/iobroker gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12) gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19) gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29) gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15) gyp ERR! System Linux 3.2.40 gyp ERR! command "/volume1/@appstore/Node.js_v4/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/winston-syslog/node_modules/unix-dgram gyp ERR! node -v v4.8.4 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN optional dep failed, continuing unix-dgram@0.2.3 gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:14:12) gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:69:19) gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:81:29) gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:90:16 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15) gyp ERR! System Linux 3.2.40 gyp ERR! command "/volume1/@appstore/Node.js_v4/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/rsa-compat/node_modules/ursa gyp ERR! node -v v4.8.4 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN optional dep failed, continuing ursa@0.9.4 Write "./iobroker start" to start the ioBroker root@DS214play:/opt/iobroker# ./iobroker start Starting iobroker controller daemon... iobroker controller daemon started. PID: 19738 root@DS214play:/opt/iobroker#</anonymous>
danke im Voraus
Jonny
-
Hallo Jonny ind Willkommen im Forum!
Verständnisfrage, er soll also ein file installieren `
Nein, er lädt sich bei npm (=Node Packet Manager) die nozwendigen Pakete runter.Ob du mit der DS214play glücklich wirst kann ich nicht sagen. Der Atom müsste reichen, aber mit 1GB RAM wirst du evtl. nicht auskommen. Die DS braucht ja auch noch was.
Gruß
Rainer
-
Guten Morgen
danke für Deine Antwort!
…jetzt hab ich den npm verstanden :idea:
Wusste nicht das iobroker so Ressourcen hungrig ist, werde wen mir der iobroker nach einer testzeit zusagt meine Hardware upgraden,
entweder
ein paar Fragen hätte ich noch:
ds-716+II (2gb Ram) oder wird das eng ?
ds-916+ wäre schon fast Oversize oder
die Alternative auf einen Rasp 3 ist dann besser ? Wo dann nur iobroker läuft ?
ist die Installation soweit i.o. trotz der ganzen Fehlermeldungen ? Gruß
Jonny 8-)
-
So Ressourcen fressend ist iobroker auch wieder nicht. Im Durchschnitt werden etwa 35 MB je Adapter benötigt.
Ich weiß allerdings nicht, was die DS davon benötigt. Könntest du ja mal im WebUI der DS nachsehen.
Die "Fehlermeldungen" im log sehen auf die Schnelle nicht zragisch aus.
Gruß
Rainer
-
Hallo zusammen,
ich bin neu im Forum - Hallo zusammen! - und auch neu was das Thema iobroker angeht - aber "in freudiger Erwartung", dass ich iobroker auf meiner Synology DS214play zum Laufen bekomme. Die Installation scheitert aber aktuell daran, dass eine node.js in einer Version 8.12 erwartet wird, die mir aber auf der DS214play nicht angeboten wird. Hier gibt es nur die Version 8.9.4. Wie bekomme ich die 8.12er über "manuelle Installation" auf die Synologie? Welches File muss ich da von Node runderladen? Ich oute mich hiermit auch als Synology-Novice und hoffe auf Eure Unterstützung - Danke!
Gruß,
Markus