Why won't my NAS boot after a firmware update?
Applicable Products
All NAS series
Symptom
Your QNAP NAS won't successfully boot up after you perform a firmware update.
Solution
This is likely caused by either an issue with the storage drives or the NAS itself. To clarify the cause, remove the storage drives and attempt to boot the NAS again. For information on this process, see the user guide for your specific QNAP device in the QNAP Download Center.
The following sections additional direction depending on the boot status of the NAS:
Your NAS still doesn't boot
If the NAS doesn't emit a long beeping sound within 4 minutes, it likely indicates an issue with the NAS itself. You may attempt a firmware recovery using the process outlined in the Firmware Recovery Guide.
Your NAS now boots
If the NAS is now able to boot successfully, the issue is likely related to the storage drives. In this case, you can attempt to manually update the firmware.
- Connect to the NAS via SSH. For information, see How do I access my QNAP NAS using SSH?
- List all disks to confirm the name of any available disks.
# qcli_storage -dThe terminal returns the system name for the drives. For example, /dev/sda and /dev/sdb.
- Assemble an md9 from the first partition of all disks using the disk name.
# mdadm -AfR /dev/md9 /dev/sd[ab]1 - Mount the md9 to /mnt/HDA_ROOT.
# mount /dev/md9 /mnt/HDA_ROOT - Use the qck tool to generate a new .conf file to /mnt/HDA_ROOT/.conf_restore.
# wget https://download.qnap.com/Storage/tsd/utility/qck # chmod +x qck # ./qck restore_conf # cp /mnt/HDA_ROOT/.conf_restore /mnt/HDA_ROOT/.conf - Create a directory to mount tmpfs.
# mkdir -p /mnt/update # mount -t tmpfs -o size=50% none /mnt/update # cd /mnt/update - Identify the URL to the firmware for your NAS model in the QNAP Download Center.
- Download the firmware file to the NAS.
[/mnt/update] # wget https://download.qnap.com/Storage/TS-XXX/TS-XXX_2022YYYY-5.0.1.YYYY.zip - Unzip the firmware file.
[/mnt/update] # unzip TS-XXX_2022YYYY-5.0.1.YYYY.zip - Run the update script.
[/mnt/update] # /etc/init.d/update.sh /mnt/update/TS-XXX_2022YYYY-5.0.1.YYYY.img - Reboot the NAS.
# reboot