Firmware Upgrade Disaster Recovery - QNAP NAS Community Forum (2024)

I have a QNAP TS-412, and have been using it since 2013. Last year, I had to remove it from the site where it was used, and it went to storage for about twelve months.
It was joined to a domain, and the network ports had static IPs assigned to them.
When I powered it up, after a year in storage, I could no longer connect to the device using the IP addresses that I knew was assigned to it. The domain to which it was joined, also no longer existed. I tried absolutely everything to gain access, but I could not even figure out what the current IPs were, and if they had somehow changed in the meantime.
I downloaded and installed QFinder, but not event QFinder could find the device.

So I decided to start with a Reset. https://www.it-support-singapore.com/it ... -function/
The 3 second reset allowed the device to get an IP from my DHCP server. Now QFinder found it, but because the drives were not plugged in, I could not access the web interface to log in.
So I decided to plug the drives in. Still no luck. So I decided to use QFinder to upgrade the Firmware, but QNAP, in their infinate wisdom, only has the firmwares released during 2019-2020 on their website. There is no firmware that predates that, and absolutely nowhere to download it. If only somebody at QNAP had the foresight to keep the old firmware versions in an archive somewhere.

So I downloaded the latest firmware, and used QFinder to apply it. It failed. I restarted the device, and once again, it's not accessible. I shut it down, unplug the drives, and restart. Still nothing. I do a three second reset again, and QFinder finds it, but now it shows that the firmware is version 4.0.1, the original firmware.

I go through this process probably four more times, each time, hoping that the upgrade will work. But it fails each time.

In pure frustration, I do the 10 second reset. Now the device does not start up at all. All the drive and the status light remains red. So I find this link https://wiki.qnap.com/wiki/Firmware_Recovery and I follow the VMare Player route. Once the update is complete, I restart the device, and once again it is not available. Great!!!
I do another 3 second reset and try the firmware update again. Nothing....the thing is as dead as a door nail. While going through all the menu items in QFinder, I notice that SSH is available. I try the SSH connect and it fails....no surprise there. So I search the internet, and find a few article talking about SSH connections using Putty rather than QFinder's SSH client.

I download Putty, and do the three second reset again. Qfinder finds the device and I use Putty to connect to it using admin/admin as the login. Now I have access to the internal system drive in the device. I spend a whole afternoon trying to figure out how to update the firmware using SSH, and I find this link https://www.it-support-singapore.com/it ... -recovery/. I try that, but after a reboot, the device is dead again.

3 second reset -> QFinder -> Putty : I'm in again. I do the first few steps of https://www.it-support-singapore.com/it ... -recovery/ again, but stop short of the reboot. I use the # df command in SSH, and notice that the drives were mounted, but I cannot see if the data on them are still in tack. I go back to QFinder, and double click the device. The web page opens, but tells me that the device has not yet been initialized, and that the firmware needs to be loaded. I don't read the message properly, and miss the part where it says that ALL THE DRIVES WILL BE INITIALIZED as part of the firmware update. Guess what, the firmware update fails again, but now....oh now....I have four freshly initialized drives, with probably no data left on them.

At this point I decide that I have been beaten, and decide to just try and get the device running again, so that I can reformat the drives and setup RAID5 again.

In the mean time, I found this link https://wiki.qnap.com/wiki/Manually_Updating_Firmware which describes how to manually update the firmware, but it relies on the fact that I can copy the firmware to one of the shares on the device. How freaking stupid is that!!!?? Why on earth would I be at the point where I feel the need to do a manual firmware update, if I still had access to the shares on the device???

So I copy the firmware IMG file to a USB stick and plug it into the device......but for some reason, I cannot get it to mount. So I go searching on how to copy files using Putty, and I discover PSCP on the Putty web site. I download PSCP, and install it. I have the required firmware image file sitting on my computers hard drive. I decide to try and copy the file to the device, so in the end, here are the steps that I followed to manually install the latest firmware on a bricked QNAP:

From <link removed>
(1) Please make sure there is /mnt/HDA_ROOT/update folder.
If it does not exist, create it using

Code: Select all

# mkdir /mnt/HDA_ROOT/update

(2) Confirm no /mnt/update file or folder.
If it exists, you need to delete it using:

Code: Select all

# rm -rf /mnt/update

if you get a message saying:
“rm: unable to remove ‘/mnt/update’: Device or resource busy”, unmount the folder and try the rm line above again. To unmount use:

Code: Select all

# umount /mnt/update

Then I used PSCP on my local computer to copy the IMG file to the device using this command:

Code: Select all

pscp -scp -P 22 C:\IMG\TS-412_20201006-4.3.3.1432.img admin@NASCF91B8:/mnt/HDA_ROOT/update/TS-412_20201006-4.3.3.1432.img

Once the file was copied to the device, I went back to Putty and ran this command:

Code: Select all

/etc/init.d/update.sh /mnt/HDA_ROOT/update/TS-412_20201006-4.3.3.1432.img

The firmware installed successfully, but complained at the end about not being able to make a backup. I ignored that, and restarted the device with the hard drives plugged in. I figured that the drives were initialized anyway, so there was now no more harm that can come to them.

The device took forever to boot, and as luck would have it, I left it over night to do whatever it needed to do.

When I looked at it again the next morning, QFinder showed that it was alive and well, and I could access the web interface. I immediately logged in, and went to the File Manager. My data that was on the drives were gone. I went to the Control Panel and took and look at the storage. Storage showed me that the drive size was 8Tb, but it also showed me that there was 3Tb worth of something on the drives. So I figured that there must be something there. I logged into the device with Putty again, and checked the mounted drives. The drives were all there, and using the # ls command, I finally established that my data was ALL STILL THERE!!! Absolutely amazing.

But why could I not see them in the File Manager. I found a link on the internet that spoke about just recreating the shares again, and pointing them to the same drives. I did that, and to my utter amazement, all my data showed up again in the File Manager.

So even after resetting the device multiple times, initializing the drives as part of the failed firmware updates, and manually updating the firmware, my data survived the journey, so if anybody else ever find themselves in this position, this is how I fixed it.

Last edited by OneCD on Sat Apr 10, 2021 4:31 am, edited 1 time in total.
Reason: removed automangled link

Firmware Upgrade Disaster Recovery - QNAP NAS Community Forum (2024)

References

Top Articles
1 Samuel 1 | LSG Bible | YouVersion
1 Samuel - BibleEnLigne.com
Spasa Parish
Rentals for rent in Maastricht
159R Bus Schedule Pdf
Sallisaw Bin Store
Black Adam Showtimes Near Maya Cinemas Delano
Espn Transfer Portal Basketball
Pollen Levels Richmond
11 Best Sites Like The Chive For Funny Pictures and Memes
Things to do in Wichita Falls on weekends 12-15 September
Craigslist Pets Huntsville Alabama
What's the Difference Between Halal and Haram Meat & Food?
R/Skinwalker
Rugged Gentleman Barber Shop Martinsburg Wv
Jennifer Lenzini Leaving Ktiv
Justified - Streams, Episodenguide und News zur Serie
Epay. Medstarhealth.org
Olde Kegg Bar & Grill Portage Menu
Cubilabras
Half Inning In Which The Home Team Bats Crossword
Amazing Lash Bay Colony
Juego Friv Poki
Dirt Devil Ud70181 Parts Diagram
Truist Bank Open Saturday
Water Leaks in Your Car When It Rains? Common Causes & Fixes
What’s Closing at Disney World? A Complete Guide
New from Simply So Good - Cherry Apricot Slab Pie
Drys Pharmacy
Ohio State Football Wiki
FirstLight Power to Acquire Leading Canadian Renewable Operator and Developer Hydromega Services Inc. - FirstLight
Webmail.unt.edu
2024-25 ITH Season Preview: USC Trojans
Restored Republic December 1 2022
12 30 Pacific Time
Jami Lafay Gofundme
Litter-Robot 3 Pinch Contact & Dfi Kit
Greenbrier Bunker Tour Coupon
No Compromise in Maneuverability and Effectiveness
Paper Io 2 Unblocked Games Premium
Black Adam Showtimes Near Cinemark Texarkana 14
Teamnet O'reilly Login
U-Haul Hitch Installation / Trailer Hitches for Towing (UPDATED) | RV and Playa
Wie blocke ich einen Bot aus Boardman/USA - sellerforum.de
Craigslist Pets Inland Empire
Infinity Pool Showtimes Near Maya Cinemas Bakersfield
Hooda Math—Games, Features, and Benefits — Mashup Math
Dermpathdiagnostics Com Pay Invoice
How To Use Price Chopper Points At Quiktrip
Maria Butina Bikini
Busted Newspaper Zapata Tx
Latest Posts
Article information

Author: Jeremiah Abshire

Last Updated:

Views: 5573

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Jeremiah Abshire

Birthday: 1993-09-14

Address: Apt. 425 92748 Jannie Centers, Port Nikitaville, VT 82110

Phone: +8096210939894

Job: Lead Healthcare Manager

Hobby: Watching movies, Watching movies, Knapping, LARPing, Coffee roasting, Lacemaking, Gaming

Introduction: My name is Jeremiah Abshire, I am a outstanding, kind, clever, hilarious, curious, hilarious, outstanding person who loves writing and wants to share my knowledge and understanding with you.