How to Firmware Update via SSH

can someone link me to the post on how to update from SSH.  I tried updating from file but it get stuck at 0% for 24 hours using choogle chrome and IE.  Windows 8.1 

try search…

http://community.wd.com/t5/WD-My-Cloud/SSH-in-the-latest-firmware/m-p/807561/highlight/true#M22720

#cd /shares/Public
#wget wget http://download.wdc.com/nas/sq-040103-421-20150217.deb.zip
#unzip sq-040103-421-20150217.deb.zip
#rm -f sq-040103-421-20150217.deb.zip
#/usr/local/sbin/updateFirmwareFromFile.sh /shares/Public/sq-040103-421-20150217.deb
1 Like

I did search. This method above just hangs at 0% and never updates.

in the console, no action?

in the consol I see downloading instead of installing after I enter the last command.  The file gets downloaded and exctracted but hangs somwhere.  In the web UI should it show installing instead of downloading?   

#/usr/local/sbin/updateFirmwareFromFile.sh /shares/Public/sq-040103-421-20150217.deb

check the free space:

#df -h

script updateFirmwareFromFile.sh the does not load anything, usually it just checks a checksum

thanks for all your help man.  I would really like to get this thing working like it did out of the box.  

here is the output from exicuting that command, It looks like there is plenty of space but I guess the space is not where its needed somewhere??  

Filesystem Size Used Avail Use% Mounted on
rootfs 1.9G 725M 1.1G 40% /
/dev/root 1.9G 725M 1.1G 40% /
tmpfs 23M 436K 23M 2% /run
tmpfs 40M 4.0K 40M 1% /run/lock
tmpfs 10M 0 10M 0% /dev
tmpfs 5.0M 0 5.0M 0% /run/shm
tmpfs 100M 164K 100M 1% /tmp
/dev/root 1.9G 725M 1.1G 40% /var/log.hdd
ramlog-tmpfs 20M 4.2M 16M 21% /var/log
/dev/sda4 3.6T 1.6T 2.0T 44% /DataVolume
/dev/sda4 3.6T 1.6T 2.0T 44% /CacheVolume
/dev/sda4 3.6T 1.6T 2.0T 44% /shares
/dev/sda4 3.6T 1.6T 2.0T 44% /nfs/Movies
/dev/sda4 3.6T 1.6T 2.0T 44% /nfs/bob
/dev/sda4 3.6T 1.6T 2.0T 44% /nfs/Pictures
/dev/sda4 3.6T 1.6T 2.0T 44% /nfs/Public
/dev/sda4 3.6T 1.6T 2.0T 44% /nfs/Music
/dev/sda4 3.6T 1.6T 2.0T 44% /nfs/peter
/dev/sda4 3.6T 1.6T 2.0T 44% /nfs/admin
/dev/sda4 3.6T 1.6T 2.0T 44% /nfs/Portable
/dev/sda4 3.6T 1.6T 2.0T 44% /nfs/SmartWare
xxxxxxxmycloudxxxxxx:~#

there is enough space:

on /dev/sda4 - 2.0Tb free space.

You can try to reset the factory settings and try to upgrade. User data should not be affected.

Delays in updating may be caused by an external appeal to the cloud, for example, the media data cached or some large file copied.

 And check you current firmware:

#cat /etc/version

Thank you!!!

I recovered my router using the USB when blue light was flashing using the following procedure.

But the firmware did not upgrade in the last step. How can I upgrade the firmware ?

I am using WD clout Gen2. I am able to boot from USB and telnet to it. (SSH does not work yet). Unable to find /usr/local/sbin folder and also the scripts that you mentioned.

you can manually push the firmware from console…