Categories for Synology

How to monitor your Synology NAS Health DIY-Style

While working on my Sensorium monitoring website for the Sensoduino, it occurred to me that i can monitor much more than just the plant moisture level. Why not (ab)use the system for monitoring the server health?

(more…)

Fixing Crashplan update on Synology DSM 5.1

UPDATE: There is also a fix for DSM 5.2: http://chrisnelson.ca/2015/05/12/fixing-crashplan-4-2-0-on-synology-after-dsm-5-2-update/

Yesterday my Crashplan installations suddenly stopped working. Thanks to the guys at pcloadletter.com they came up with a fix to get it back up.

Source: http://pcloadletter.co.uk/2012/01/30/crashplan-syno-package/comment-page-22/#comment-103566

telnet into your Syn as root and execute the following commands:

unzip /var/packages/CrashPlan/target/upgrade/1388728800370.jar *.jar -d /var/packages/CrashPlan/target/lib/
unzip /var/packages/CrashPlan/target/upgrade/1388728800370.jar run.conf -d /var/packages/CrashPlan/target/bin/
unzip /var/packages/CrashPlan/target/upgrade/1388728800370.jar lang/* -d /var/packages/CrashPlan/target/

mv /var/packages/CrashPlan/target/upgrade/1388728800370.1420851880338/upgrade.sh /var/packages/CrashPlan/target/upgrade/1388728800370.1420851880338/upgrade.sh.old

Note that for the second set of commands, the second part of the 1388728800370 file name will be randomized each time.

Remark: the above content was quoted literally from the site.

Block anonymous users on Photo Station 6

Synology’s photo station is a nice app, but there’s no way to block unauthenticated users out of the box. A simple patch will help this. What the patch does, is present an authentication dialog box on the default page when the user is not authenticated. Very effective and no messing around with redirect url’s. To apply the patch, go to /volume1/@appstore/PhotoStation/Photo/  and edit index.php . You’ll probably have to SSH in as root to be able to write the file.

vi /volume1/@appstore/PhotoStation/photo/index.php

Then scroll down a little where you find the end of the php header (just before the DOCTYPE), and insert the following code:

...

if (GetLoginUsername() === 'Guest')
{
    include 'login.php';     
    exit();                  
}
...

 A bit of warning though. You just patched an file from the original distribution. You will probably need to apply the patch again after an update has been applied. This would cause your albums to become visible if your security wasn’t tight.

Good luck.