How do I update a QNAP's firmware from the console (SSH) when the panel does not work?
Update in the panel or with Qfinder Pro as long as you can. SSH remains for the case where the NAS runs but the panel does not. You need the unpacked .img file for exactly your model. Run the commands themselves from QNAP's guide, because where the update folder leads depends on the NAS.
Topic: System and sign-in
Steps
- Read the model from the sticker on the NAS (the system file gives only the platform's name). These show the current version:
getcfg System Version -f /etc/default_config/uLinux.conf getcfg System "Build Number" -f /etc/default_config/uLinux.conf - firmware, oprogramowanie sprzętowe
QNAP's word for the system of the NAS, QTS or QuTS hero. It updates automatically or from an image you upload; the NAS restarts to finish the update.Download the firmware for this model from QNAP and unpack the.zipfile on a computer. Keep a copy of the.img: the script deletes the file it accepts. - Try the usual way first: Control Panel → System → Firmware Update → Manual Installation, the file, Update System and the confirmation. Qfinder Pro on the local network is the second way.
- shared folder, folder udostępniony
A folder of a volume that users open over the network.Only if both failed: copy the.imgfile to the Public shared folder and connect over SSH as root. ls -ld /mnt/update /mnt/HDA_ROOT/update df -h /mnt/HDA_ROOT- If the link is right and the file fits in the free space, run the commands of QNAP's SSH guide (link below) in the order given there. Restart the NAS only when the script has reported no error.
Check that it worked
If the NAS does not start after the update
Turn it off, take the drives out and start it without them. QNAP usually attributes this to the drives or the NAS itself; the rest is in My QNAP NAS does not start and Qfinder does not see it. What do I do?.
What not to do
- App Center
The app store of QTS and QuTS hero.Do not mount a RAM disk over/mnt/update, as old instructions did. It would cover a folder that App Center may be using. - certificate, certyfikat
A signed file that confirms the key of a domain for HTTPS.Do not usewget --no-check-certificate. It turns off the check of the server's certificate. The script checks the firmware's signature separately. - Do not add
forcewhen the script rejects a file. It rejects a wrong model and a bad signature, among others. - Do not go back to an older version without QNAP's instructions for the model.