NEWS
Instalation auf einem Orange pi zero Probleme
-
Danke das du so schnell mit den Antworten bist
root@orangepizero:/opt/iobroker# sudo iobroker list instances
Da tat sich leider gar nichts deswegen hab ich mal eine alten Dos Befehl eingegeben und der schmeist das raus:
root@orangepizero:/opt/iobroker# dir
etc iobroker killall.sh node_modules reinstall.sh
install.sh iobroker-data log package.json
Gruß
SNO
-
Dann hat die Installation nicht geklappt!
Einzelne Verzeichnisse sind angelegt, nur was da drin ist ist unbekannt.
Was sagen denn
free df -h
Gruß
Rainer
-
root@orangepizero:/opt/iobroker# free
total used free shared buff/cache available
Mem: 245764 45676 58856 4208 141232 174592
Swap: 122864 256 122608
root@orangepizero:/opt/iobroker# df -h
Filesystem Size Used Avail Use% Mounted on
udev 85M 0 85M 0% /dev
tmpfs 25M 2.5M 22M 11% /run
/dev/mmcblk0p1 7.1G 1.3G 5.7G 19% /
tmpfs 120M 0 120M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 120M 0 120M 0% /sys/fs/cgroup
tmpfs 120M 0 120M 0% /tmp
log2ram 50M 1.7M 49M 4% /var/log
tmpfs 25M 0 25M 0% /run/user/0
so sieht es aus
Gruß SNO
-
Dann hast du den zero mit nur 256 MB RAM.
Ist aber noch einiges an RAM available.
SD-Card hat auch noch genug Reserven.
Was mich dann irritiert ist dass iobroker anscheinend startet, aber KEINE Instanzen existieren. Also auch kein admin.
Gruß
rainer
-
Und was mach ich da jetzt?
Hatte auch schon mal neu instaliert war aber das gleiche Ergebnis
Gruß
SNO
-
-
Nein nichts außergewöhnliches
root@orangepizero:~# sudo mkdir /opt/iobroker mkdir: cannot create directory ‘/opt/iobroker’: File exists root@orangepizero:~# sudo chmod 777 /opt/iobroker root@orangepizero:~# cd /opt/iobroker root@orangepizero:/opt/iobroker# sudo npm install iobroker --unsafe-perm > iobroker@1.0.8 install /opt/iobroker/node_modules/iobroker > node lib/setup.js NPM version: 2.15.12 npm install iobroker.discovery --production --save --prefix /opt/iobroker npm install iobroker.admin --production --save --prefix /opt/iobroker npm install iobroker.js-controller --production --save --prefix /opt/iobroker Write "./iobroker start" to start the ioBroker 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. iobroker.inst@1.0.8 /opt/iobroker └── iobroker@1.0.8 root@orangepizero:/opt/iobroker#
Oder siehst du da irgendetwas was von der Norm abweicht?
Gruß SNO
-
Ich sehe npm 2.x.
Wie ist denn die nodejs version?
node -v nodejs -v
Gruß Rainer
-
6.13.0
Installation Node.js Diese Anleitung bezieht sich auf nodejs 6.x
Gruß
SNO
-
cd /opt/iobroker sudo iobroker restart
Und bitte den output posten
Gruß Rainer
-
root@orangepizero:~# cd /opt/iobroker root@orangepizero:/opt/iobroker# sudo iobroker restart iobroker controller daemon is not running Starting iobroker controller daemon... iobroker controller daemon started. PID: 3933
oh sorry hat es falsch interpretiert
Gruß SNO
-
Ja leider konnte Ich das Problem nicht lösen und habe mir einen Pi3 gegönnt.
Da ging alles Problemlos
Danke für die Hilfe
Gruß SNO