How to update DSM 4.3-3827

Once you have successfully installed DSM 4.3-3827, you must update it to fix all the security vulnerabilities.

1st Step – make sure SSH is enabled

Open Control Panel and select the Terminal icon
1

2

Select “Apply” and return to Control Panel

2nd Step – The Update Check

Select “DSM Update”
2a

Select “Update Settings”
3

Choose “Important Updates Only”
4

Select “OK”

It will now check and show there is an “Update 2 Available for download”
5

Select the “Download Button” and wait for it to arrive

BUT DO NOT SELECT “Update Now”
BUT DO NOT SELECT “Update Now”
BUT DO NOT SELECT “Update Now”

6

7

BUT DO NOT SELECT “Update Now”

Now we have to SSH into our Xpenology box and run 2 commands to enable the update to work

Step 3 – Login to SSH

Open up PuTTY and enter your NAS IP address. Port: 22, Connection type: SSH. Click Open.

Login user: root

Now we can have a look at what the Update package contains, by changing to the hidden @smallupd@te_deb Directory stored on your volume1

cd /volume1/@smallupd@te_deb/

ls

Now we make sure we are in the root directory (Top Level Directory)

cd /

Having a look we can see there is an autoupd@te.info file

ls -asl

We need to change this file to allow the update to work properly

To change the file all we need is to run two simple commands

sed ‘s/flashupdateDeb/flashupdateDeb1/’ /autoupd@te.info > /autoupd@te.info1

Then

mv /autoupd@te.info1 /autoupd@te.info

Be warned, the system will reboot once we perform the next step… so make preparations in case you are in the middle of a file copy etc.

Step 4 – Final step

So now back in Xpenology web interface we can select the Update Button

Once the system have rebooted, you can check if all went ok by once again selecting “DSM Update” inside control panel

Which should show (if all went correctly)

8

 

Content taken and improve from http://xpenology.com/forum/viewtopic.php?f=15&t=2999