Synology WARNINGS

Although the Synology is a superbe box (mainly because it allows us full control), there are some miss-habits. You'll probably find this page when it's to late, but hey.. maybe there is something you haven't walked into and it saves you a day...

ROOT fs will be wiped during DSM upgrade

I have lost 10's of hours of nice scripting, because I had put them in /root. Found the explanation here


Binding other (encrypted) folders into PhotoStation

It's possible to have folders outside the /volumeX/photo bound into /photo. However take attention that PS might reset all your carefully set permissions!


Nice to know

Perform filesystem check using e2fsck

Find the volumes (like /dev/vg1/volume_1)

df -h

Set syno in debug mode to close usage of the volume

sudo syno_poweroff_task -d

Enable the volume 

sudo vgchange -ay

Perform the file system check

sudo fsck.ext4 -pvf -C 0 /dev/vg1/volume_1

OR
e2fsck -p -y -f -v /dev/vg1/volume_1

If you get the message "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY", try: fsck.ext4 -yvf -C 0 /dev/vg1/volume_1


Reboot the server:

reboot

Synology LDAP Server

If you can't seem to get a remote system working with your synology LDAP server using secured LDAP (LDAPS), you might have a certificate issue. Solving this is the best solution, however you might just disable the certificate checking on your client: 

add to \etc\ldap\ldap.conf:
TLS_REQCERT never

Synology Drive

'Clear version database' is a badly chosen name. What it does? remove all previously deleted files and their revisions. It should not affect you non-deleted files and their versions.

Debug ssmtp issues

just add parameter -d1 while executing

'cat emailheader emailbody | /usr/bin/ssmtp -d1 me@somewhere.com'