Synology usage series 25 – Upgrade DSM from 2.2 to 3.1

I’ve been sticked to DSM 2.2 for quite a long time, it is just stable and I’m satisfied at all. Everytime I performed an upgrade, some mod must be broken and need to be done again. Since admin rule’s no 1 is “If things not broken, not touch it”, so I never plan to upgrade the firmware anymore.

However, when Syno released fw 3.1, they announced that it would be the last upgrade for DS207 series. OMG, so even if things broken again, it would be a final fix.

So this is my last upgrade, and this article recorded what is broken and how I fix the mod after upgraded to fw 3.1.

SSH setting is restored

Hmm I need to edit the ssh config again.


– Port xxx
– AllowTcpForwarding yes
– TCPKeepAlive yes
– PubkeyAuthentication yes
– AuthorizedKeysFile .ssh/authorized_keys
– PasswordAuthentication no

Restart sshd, done.

ipkg list_installed is emptied.

This is another reason why I refused to perform an upgrade for years. The list is emptied again 🙁

Dunno how to fix this, it is not affecting all the mod that I did anyway.

Apache config is restored (sys and user)

Add the certificate of

vi /usr/syno/apache/conf/extra/httpd-ssl.conf-user
vi /usr/syno/apache/conf/extra/httpd-ssl.conf-sys

Add the lines below

SSLCertificateChainFile /usr/syno/etc/ssl/ssl.root/
SSLCACertificateFile /usr/syno/etc/ssl/ssl.root/ca.pem

Add one entry to mimes.types for auto proxy config script

# vi /usr/syno/apache/conf/mime.types

Add the following lines to the end of the file

application/x-ns-proxy-autoconfig pac dat

phpPgAdmin not working

Ha! The phpsrc folder is totally restored. So the phpPgAdmin package and setting is lost! Need to setup all over again for phpPgAdmin.

wget no longer working

This suck!! I need the wget command for the ddns script working! Luckily it is not hard to fix.

First download the following ipkg package and upload to the diskstation

– libidn
– openssl
– wget-ssl

Then install it again by ssh to the diskstation as root

# ipkg install libidn_1.21-1_arm.ipk
# ipkg install openssl_0.9.7m-5_arm.ipk
# ipkg install wget-ssl_1.12-2_arm.ipk

Leave a Reply

Your email address will not be published. Required fields are marked *