EDIT: Please note since QNAP QTS 4.1.x and ownCloud 7.0.2 the following steps aren’t working anymore. A new post will follow. This post comes as a following to the original Installing and using ownCloud on QNAP hardware post, and serves to users in the process of doing both clean installs and upgrades.  First of all, I need to explain the need for this post: Live was peachy, until someones decided to upgrade ownCloud to version 6.x on any QNAP hardware, both ARM or x86 based. When this upgrade is performed, the user is presented with a white screen, caused by the server …

This is a quick guide for those needing to debug web apps, such as ownCloud, on QNAP hardware. QNAP systems only come with an Apache error log by default, which only logs apache service errors, not page errors, which make impossible to debug problems on sites. The only way to get more detailed logs is to add a few new config files to Apache, as follows: Login to the QNAP device through SSH Enable .htaccess usage on Apache. To do this you need to create a new Apache configuration file: vi /etc/config/apache/extra/apache-myconfig.conf And add the following commands: CustomLog logs/main_log combined …

Let’s imagine you work on an organization which uses Active Directory (just kidding, is there anyone who doesn’t …?) and on which people are forced to comply with draconian security policies, such as changing you strong password every N days (replace N for any number less than 30… why don’t people understand that it is harder for people to memorize a new strong password, than machines to brake them). Anyways, having a central location for all authentication purposes is, from any point of view, a good idea, even if coming from Microsoft :). If your organization already has in place …