Lenovo recently updated the firmware on their IX4-300d NAS due to hacker vulnerabilities. It’s recommended to update your NAS however we are using a custom startup script which will “break” after updating. In this guide, I will explain how to update your NAS without losing custom server functionality.
Tested with all firmware up to 4.1.110.33149
Login to your NAS settings, click “All Features” and click the “Software Updates’ icon. Now there will be a table with your current version and status containing the link to the newest firmware update. Download this firmware or if already downloaded, click the icon in the “Action” bar.
Select your firmware file and click Upload. This will start uploading the update file to your NAS. After uploading you will be redirected to the same page again.
the status has changed in “Version 4.0.6.19294 is ready to apply Apply”, Click Apply to start updating, The updating will take about 9 to 10 minutes. After the update is completed, SSH should still be enabled (If not, follow this guide).
The update has overwritten the “Startup Process” file, so to restore your servers we have to insert our custom startup script in the new startup script… Login via SSH (as root, soho+password) :
/opt/editconfig.sh
now a (nano) editor will open, scroll down and add following lines inside group 1 before the </Group>:
<Program Name="init-opt.sh" Path="/opt/init-opt.sh"> <SysOption Restart="-1"/> </Program>
To save the file, hit Escape, then hit CTRL+X, then ENTER to write the file (nano should say “wrote 2xx lines”). If you are a 100% sure your file is correct, restart your NAS. !!!Only restart your NAS when 100% sure the file is correct, pasting this code wrong or editing anything else in this file may/will break your NAS!!!
Login to your NAS settings, click “All Features” and click the “Software Updates’ icon. Now there will be a table with your current version and status containing the link to the newest firmware update. Download this firmware or if already downloaded, click the icon in the “Action” bar.
Select your firmware file and click Upload. This will start uploading the update file to your NAS. After uploading you will be redirected to the same page again.
the status has changed in “Version 4.0.6.19294 is ready to apply Apply”, Click Apply to start updating, The updating will take about 9 to 10 minutes. After the update is completed, SSH should still be enabled (If not, follow this guide).
The update has overwritten the “Startup Process” file, so to restore your servers we have to insert our custom startup script in the new startup script… Login via SSH :
/opt/editconfig.sh
now a (nano) editor will open, scroll down and add following lines inside group 1 under mozzyclient like in the screenshot below. you may have to scroll a while:
<Program Name="init-opt.sh" Path="/opt/init-opt.sh"> <SysOption Restart="-1"/> </Program>
To save the file, hit Escape, then hit CTRL+X, then ENTER to write the file (nano should say “wrote 2xx lines”). If you are a 100% sure your file is correct, restart your NAS. !!!Only restart your NAS when 100% sure the file is correct, pasting this code wrong or editing anything else in this file may/will break your NAS!!!
31 Responses
Anyone upgraded to Firmware Version 4.1.102.29716 for ix4-300d yet?
If so did you have any issues?
not updated yet but i did all the updates for the last 1 or 2 years and never had any problems
I was thinking about trying to upgrade both mine this weekend.
Not sure where should add this command. Looks like Mozy has been removed now.
4.1.102.29716 Changelog:
Atmos and Mozy Backup are no longer included as built-in LifeLine applications. seems like they deleted the mozy app, I will update mine soon and try to find a new way to enable servers again, thanks for letting me know.
I added it to last line. Rebooted and now it’s stuck at 70%. I can’t get it running. Kinda a brick right now. Not sure how I can undo the change since not booting up completely.
not smart of just trying to paste the line at the end, The warning messages in the post are not for decoration. The best solution probably is to bring it back for warranty and hope they fix it for you. Or you could try restoring the firmware over USB
Let me know what you figure out. I am replacing this NAS anyways due to some other issues with it.
Yes; I have attached / called this HDD into Symantec BE2014 but after upgrade FW 4.1xxxxxx its not able to attach. Tried almost everything
My replacement NAS is coming tomorrow. I was having issues anyways so glad they replaced it. It’s the Diskless version with firmware on chip. I am guessing can still hack this one for SABnzbd, Sick Beard and Couchpotatoe?
yes, the guides will also work on the diskless version, no difference here.
So my question is on the diskless version since firmware is on the eprom are you editing it or does it also put OS on drives and that was your really using/editing?
The firmware will probably run from the chip since you should be able to get in the webGUI without any disks installed. However if the webGUI is not the full firmware but only a “setup” firmware that copies the full firmware to the driven your firmware will still run from the drives… Let me know how they do it 🙂
Steven I got the imager program to reimage my drives or might just switch the diskless version tonight when get home. I was hoping that the newest firmware would work but guessing no luck?
sry no time yet, check back in a few hours 🙂
Edit:
Updated 🙂
So looks like you got it running?
Nothing changed, just paste it where the mozy client was first. before the tag
I will be doing it tonight when I get home and replace NAS or reimage it. Not sure if should keep the diskless version or the other since have this option now.
So if boot the diskless version and access web interface tells you to add drives. So I put my drives in from bricked NAS and boots fine into older firmware. So now I can backup my files. Still not sure how all works as far as adding programs.
Steven thx for the update, just to be clear, do I have to downgrade my firmware?
Right now I’m on 4.1.102.29716
Or do I just have to add
in level 1?
you don’t have to downgrade, i added a new guide “Updating to firmwares from 4.1.102.29716 and up”, this guide works for the new firmware
Yes it works, thx for that – sorry I didn’t updated my comment
But I have problem with ipkg. I.m doing it right now and some times I have error 22 sometimes error 1 (different after nas restart)
Plus maybe You can write a tutorial for NZB Drone?
i will try to find a solution for your problem, also i did not know NZBdrone but it seems like a very handy app… i’ll give it a try
Steven, if You need any testing please fell free to contact me directly via email and I will help as much as I can.
thank you for this info however does the installing optware still work? my ix400-3d seems to never save the packages once i do it. Again thanks for the great tips! i’m running the latest firmware as of aug 1, 2014 v 4.1.102.29716.
One thing i’m having an issue figuring out is how can i get Twonky to rebuild the video thumbnail cache. my 500+ movies no longers how the movie folder.jpg thumbnail art and i have yet been able to figure out RPC command or file to clear to get these to generate. Worked great prior to the firmware updates. TIA!
Hi Steven
Thanks for the great guide. With the help of these guides and others I found, I was able to get sabnzbd, sickrage and couchpatato installed on my ix4-300d, offloading it from my N5550. What I do miss is nzbdrone, which runs beautifully on my N5550. My goal is to have the ix4-300d do the heavy lifting and the N5550 act as my XBMC media center.
Have you had a look at nzbdrone yet? It does have one vital prerequisite, mono (mono project), .net libraries.
Hi Steven,
I’m running firmware 4.1.104.31360, optware packages are not saved after a reboot. Any suggestions on how to fix this?
Thanks!
I have the same problem, who can tell me if I solved this problem? Why is the data not saved after a reboot? What can you think of?
Hi, i have the same issue…..
I have the same problem, who can tell me if I solved this problem? Why is the data not saved after a reboot? What can you think of?
Hello, does anyone know how to return to the factory firmware of the PX4-300d? With the update “Milestone Arcus” was installed and the native App for “video surveillance” webcams was lost, which was free and had a lot of compatibility with my cameras. I appreciate the support as I have searched all known websites and this is my last resort.