First, I’m pretty sure the power adapter is fine.
My MyBookLive keep restarting Since I manually restored the firmware ( http://download.wdc.com/nas/apnc-024310-048-20150507.deb ).
The update.log shows that the upgrade failed:
updateFirmwareFromFile.sh:12/07/21 15:22:59:upgrade start: /CacheVolume/apnc-024310-048-20150507.deb updateFirmwareFromFile.sh:12/07/21 15:22:59:check_size= updateFirmwareFromFile.sh:12/07/21 15:22:59:version_current=024310048 updateFirmwareFromFile.sh:12/07/21 15:22:59:version_newfile=024310048 updateFirmwareFromFile.sh:12/07/21 15:22:59:package_newfile=apnc updateFirmwareFromFile.sh:12/07/21 15:22:59:master_package_name=apnc updateFirmwareFromFile.sh:12/07/21 15:22:59:master_package_new=apnc updateFirmwareFromFile.sh:12/07/21 15:22:59:update_container= (Reading database ... dpkg: warning: files list file for package `ramlog' missing, assuming package has no files currently installed.dpkg: warning: files list file for package `libparted0’ missing, assuming package has no files currently installed.
18711 files and directories currently installed.)
Preparing to replace apnc 02.43.10-048 (using …/apnc-024310-048-20150507.deb) …
preinst: currentRootDevice=/dev/md0
preinst: master_package_name=apnc
preinst: update_container=
Restore raid device: /dev/sda1
Restore raid device: /dev/sda2
Prepare for upgrade install to /dev/sda1 …
Stopping periodic command scheduler: crond.
Stopping itunes device: forked-daapd.
Kill Miocrawler Process…
Tue Dec 7 07:23:11 PST 2021 - %I - Communication Manager - Stop
Prepare for upgrade pkg install…
mdadm: /dev/sda1 appears to contain an ext2fs file system
size=1999808K mtime=Wed Dec 31 16:00:01 1969
mdadm: size set to 1999808K
mdadm: creation continuing despite oddities due to --run
mdadm: array /dev/md1 started.
preinst: current device=/dev/md0
preinst: upgrade device=/dev/md1
Unpacking…
Unpacking replacement apnc …
Setting up apnc (02.43.10-048) …
postinst: upgradeDevice=/dev/md1
postinst: currentRootDevice=/dev/md0
postinst: upgradePath=/mnt/rootfs
Copy image to upgrade device /dev/md1:
blockSize=64k blockCount=31247
Compare checksum
-: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
ok 1
Upgrade failed
mdadm: stopped /dev/md1
mdadm: added /dev/sda1
Since then, I’ve only been able to access the device for about 3 minutes at a time.
Seems the device keeps repeating the following process:
Power on -> Light[blue] -> Light[yellow] -> Light[green] -> Light[off/blue]
^ |
| |
+-----------------------<-------------------------+
The device can be accessed only in green light state, but for 3 minutes there is almost nothing can be done, not even trying to restore the firmware again.
I’ve write a script to monitor the device:
device=<IP>
while true
do
printf "[%s] %s" $(date +%H:%M:%S) "Waiting for device to be online"
while ! /sbin/ping -q -c 1 $device &> /dev/null
do
printf "."
done
printf "\n[%s] %s\n" $(date +%H:%M:%S) "Device is online"
printf "[%s] %s" $(date +%H:%M:%S) "Waiting for device to be offline"
while /sbin/ping -q -c 1 $device &> /dev/null
do
sleep 10
printf "_"
done
printf "\n[%s] %s\n" $(date +%H:%M:%S) "Device is offline"
done
Output:
⋊> [~/D/mybooklive] sh ~/.scripts/watch-mybooklive.sh
[10:08:17] Waiting for device to be online.........................................................................................................................
[10:30:30] Device is online
[10:30:30] Waiting for device to be offline________________________
[10:34:42] Device is offline
[10:34:42] Waiting for device to be online............................
[10:39:50] Device is online
[10:39:50] Waiting for device to be offline____________________________
[10:44:42] Device is offline
[10:44:42] Waiting for device to be online.............................................................................................
[11:01:46] Device is online
[11:01:46] Waiting for device to be offline_______________________
[11:05:48] Device is offline
[11:05:48] Waiting for device to be online..............................
[11:11:19] Device is online
[11:11:19] Waiting for device to be offline_______________________
[11:15:20] Device is offline
[11:15:20] Waiting for device to be online.............................
[11:20:40] Device is online
[11:20:40] Waiting for device to be offline________________________
[11:24:51] Device is offline
[11:24:52] Waiting for device to be online...........................
[11:29:49] Device is online
[11:29:49] Waiting for device to be offline________________________
[11:34:01] Device is offline
[11:34:01] Waiting for device to be online...................................................................................................
[11:52:11] Device is online
[11:52:12] Waiting for device to be offline_______________________
[11:56:13] Device is offline
[11:56:13] Waiting for device to be online...........................
[12:01:11] Device is online
[12:01:11] Waiting for device to be offline_______________________
[12:05:12] Device is offline
[12:05:12] Waiting for device to be online.....................................................................................................
[12:23:45] Device is online
[12:23:45] Waiting for device to be offline_______________________
[12:27:46] Device is offline
[12:27:47] Waiting for device to be online...........................
[12:32:44] Device is online
[12:32:44] Waiting for device to be offline________________________
[12:36:56] Device is offline
[12:36:56] Waiting for device to be online..........