Firmware update doesen't apply...

Share your own product reviews, suggestions, and tips and tricks of using QNAP products. Show off your products.

Firmware update doesen't apply...

Postby PEJA-SE » Sun Aug 05, 2012 8:07 pm

Hi!

Need som help! Have a TS-219P withe firmware 3.2.5 and have downloaded the latest firmware 3.7.3.

I start the firmwareupdate and all worksfine - system reboots as usualy and the log shows: [Firmware Upgrade] Start to update the firmware. as well as System updated successfully.

When I login to the system it still tell that the firmaware is: 3.2.5 Build 0409T
Kind regards
//Peter Jansson
User avatar
PEJA-SE
Starting out
 
Posts: 11
Joined: Sat Jul 21, 2012 12:30 am
Location: Klockrike Village @ Sweden
NAS Model: TS-409U

Re: Firmware update doesen't apply...

Postby PEJA-SE » Sun Aug 05, 2012 9:51 pm

I've now downloaded the follwing firmware:
version 3.6.1 and version 3.7.1 and tried the manual firmware update.

The log show the time for the firmware update start as well as the update successfully in both cases - but after system restart
there is no change - the system still run the version 3.2.5.

Any sugestion would be highly appreciated :D
Kind regards
//Peter Jansson
User avatar
PEJA-SE
Starting out
 
Posts: 11
Joined: Sat Jul 21, 2012 12:30 am
Location: Klockrike Village @ Sweden
NAS Model: TS-409U

Re: Firmware update doesen't apply...

Postby schumaku » Sun Aug 05, 2012 11:48 pm

Hi Peter,

The direct update is possible - however, you need to use the manual installation from the NAS Linux shell, together with a small workaround:

The update script on earlier firmware vesions can't handle firmware images larger than 99'999'999 bytes without some user intervention. Of course - ensue your have the essential data on a backup media, and disable any QPKG installed before. Remind you - some QPKG requirre an updte anyway.

Please do the manual update from the Linux shell - this is most safe for your NAS - and the only one allowing to copy-pater the transcript of the update process to the forum here in case, so we can see what might have failed.

Login on the NAS by SSH from your computer (Windows: PuTTY http://www.chiark.greenend.org.uk/~sgtatham/putty/ or OS X Terminal app: ä ssh admin@[NAS-IP-address]) using the admin credentials. Then you can enter the commands (the [~] shows just the currecnt directory, the # is the prompt.

The update process shown here http://wiki.qnap.com/wiki/Manually_Updating_Firmware - just the 1-2-3 should be enough, add in between step two and three:

...
2. Create a link to the /mnt/update location:
# ln -sf /mnt/HDA_ROOT/update /mnt/update

# echo NIL > /mnt/update/newver

3. Run the update script:
# /etc/init.d/update.sh /mnt/HDA_ROOT/update/TS-xxxxxxxx.img
...

This is the only verbose update, permitting the community members to help in case something goes mad..

Regards,
-Kurt.
User avatar
schumaku
Guru
 
Posts: 22155
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Firmware update doesen't apply...

Postby PEJA-SE » Mon Aug 06, 2012 2:00 am

Thanks kurt!

You are my rescuer :!: here on QNAP NAS Community Forum :)

What would we do without you :!: :?:

Wishes you a pleasent evening! :)
Kind regards
//Peter Jansson
User avatar
PEJA-SE
Starting out
 
Posts: 11
Joined: Sat Jul 21, 2012 12:30 am
Location: Klockrike Village @ Sweden
NAS Model: TS-409U

Re: Firmware update doesen't apply...

Postby xiaozhuang » Wed Aug 29, 2012 2:04 pm

Hi,Kurt

I have tried to update to latest firmware but failed every time. And I have used your procedures for manual firmware update above but failed as well.

system log shows the error message: "System update failed. Maybe system is rebooting or another update is processing" and the same time red light on the front panel continuously flashing for about 5 -10 minutes and then disappear.

My current firmware is 3.7.1 and since I have updated to this firmware, I have error message in the system log "Re-launch process [bcclient]" generated every 30 seconds. From time to time, Samba stops so I have to reapply microsoft network to reestablish network service.

So I am stuck. Please help!!
xiaozhuang
Starting out
 
Posts: 10
Joined: Sat Jun 26, 2010 1:31 pm
NAS Model: TS-219P

Re: Firmware update doesen't apply...

Postby schumaku » Wed Aug 29, 2012 5:01 pm

Web-accessible system log message is of no use here I'm afraid.

Would you mind posting the transcript of the Linux shell session with the update please? Jut copy-paste the text is perfectly enough from Terminal resp. PuTTY.
User avatar
schumaku
Guru
 
Posts: 22155
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Firmware update doesen't apply...

Postby xiaozhuang » Wed Aug 29, 2012 6:59 pm

Hi, Kurt

Pls see error message below

/sbin/lock_system_update: symbol lookup error: /sbin/lock_system_update: undefined symbol: lock_system_update
xiaozhuang
Starting out
 
Posts: 10
Joined: Sat Jun 26, 2010 1:31 pm
NAS Model: TS-219P

Re: Firmware update doesen't apply...

Postby xiaozhuang » Wed Aug 29, 2012 7:07 pm

Here is the full script

[~] # mkdir /mnt/HDA_ROOT/update
mkdir: Cannot create directory `/mnt/HDA_ROOT/update': File exists
[~] # rm -rf /mnt/update
[~] # mv /share/Public/TS-210_3.7.3.img /mnt/HDA_ROOT/update/
[~] # ln -sf /mnt/HDA_ROOT/update /mnt/update
[~] # echo NIL > /mnt/update/newver
[~] # /etc/init.d/update.sh /mnt/HDA_ROOT/update/TS-210_3.7.3.img
/sbin/lock_system_update: symbol lookup error: /sbin/lock_system_update: undefined symbol: lock_system_update
xiaozhuang
Starting out
 
Posts: 10
Joined: Sat Jun 26, 2010 1:31 pm
NAS Model: TS-219P

Re: Firmware update doesen't apply...

Postby schumaku » Wed Aug 29, 2012 7:40 pm

User avatar
schumaku
Guru
 
Posts: 22155
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Firmware update doesen't apply...

Postby xiaozhuang » Wed Aug 29, 2012 8:26 pm

Hi, Kurt

thanks for such a quick response. I will try your procedure in the link and revert back to you if it is successful or not. BTW, am I safe to apply 3.7.3 firmware or just stay with 3.7.1?

thanks again for your coaching on this.
xiaozhuang
Starting out
 
Posts: 10
Joined: Sat Jun 26, 2010 1:31 pm
NAS Model: TS-219P

Re: Firmware update doesen't apply...

Postby schumaku » Wed Aug 29, 2012 8:39 pm

Hey, no problem - I want your NAS operating correct. You can go straight to the latest firmware, no problem - the workaround referenced is still required, because your NAS came to a bad status from a previous bad update in the ealry 3.7 versions.

Should you see a "newver" not existing or not defined message - search the forum for "echo newver" 8)
User avatar
schumaku
Guru
 
Posts: 22155
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Firmware update doesen't apply...

Postby xiaozhuang » Thu Aug 30, 2012 6:24 pm

Hi, Kurt

I followed your procedure and successfully updated to latest firmware. The annoying message, Re-launch process [bcclient], disappeared as well.

Thank you so much for your help on this.
xiaozhuang
Starting out
 
Posts: 10
Joined: Sat Jun 26, 2010 1:31 pm
NAS Model: TS-219P


Return to Users' Corner

Who is online

Users browsing this forum: No registered users and 1 guest