Install uses /tmp


#1
  • Device & model you are using (Ex: Pi 2 Model B or Arduino Uno with W5100 ethernet shield)

any Raspberry Pi

  • What dashboard are you using? (Web, iOS, Android)

ssh

  • Please describe the bug / issue as detailed as possible. Attaching the code and any relevant screenshots would be very helpful!

(0%)
Di 25. Okt 13:06:23 CEST 2016 Installing myDevices agent
0
(-1%)
Di 25. Okt 13:06:29 CEST 2016 Installing myDevices agent
Setup requires at least 200Mb for install

I run installer from /usr/src, but the install setup.sh checks /tmp for avail. space?
All my Raspberrys have /tmp in RAM …

Quick fix works for me

/usr/src/myDevices-1.0/setup.sh

Change location to check:

- availableSize=`df -k /tmp | tail -1 | awk '{print $4}'`
+ availableSize=`df -k / | tail -1 | awk '{print $4}'`