Using Memcached on QNAP QTS 4.1.x

EDIT: For QTS 4.2 onwards use this guide which includes the right package.   For too long I’ve been struggling against my Semantic Mediawiki performance running on a QNAP machine. Pages were taking 10+ seconds be generated and new pages could take around 30s. Although those were certainly not the most simple of wikis, judging for the number of semantic properties and templates associated, those times were simply unacceptable, even for an Atom based hardware. After trying to improve QNAP’s Mysql performance, and upgrading to the latest available php 5.5 on QNAP (which already supports OPCache by default), all without …

QNAP VPN access on Owncloud 7

One of the changes Owncloud 7 brought was related to security. Unlike Owncloud 6, version 7 added a configuration items which allows to select which domains can access Owncloud. This configuration is not relevant if you only want to allow access from your local network, but if you have QNAP serving as VPN endpoint (ou router) things need to be changed. This is due to the different addressing used by VPNs. For instance, local domestic networks are usually 192.168.x.y, but VPNs are often on the range of 10.0.0.x. On QNAP default values are 10.0.0.x for PPTP VPN and 10.8.0.x for …

Owncloud database migration from SQLite to MySQL – QNAP specific

One of new few features on Owncloud 7 is the possibility to migrate databases. On my case, I originally installed Owncloud on SQLite, which is fine for a small number of files and one single user, but when going into the tens of thousands of files and multi user, SQLite is no longer a solution. Then, how do we get out of SQLite without having to start from scratch ? Set up QNAP to locally run Owncloud; Create a new mysql database; Migrate database.

Installing Owncloud 7 on QNAP hardware – upgrade from version 6

Edit: If you’re getting a blank screen after upgrading to ownCloud 7.0.2 or QNAP QTS 4.1, go to this post: View. Little more the 3 months ago I published the guide for Ownclod 6 on QNAP hardware, and Owncloud 7 is upon us. If you wan’t to see how history was made, feel free to have a look at all the previous posts on Owncloud: Installing Owncloud 6 on QNAP hardware – Additional Steps for version 6. For first time install, please make sure you follow the eaccelerator step Installing and using ownCloud on QNAP hardware Owncloud database migration, also on …

Activating Apache logs on QNAP hardware (EDIT: fix for QTS 4.1 onwards)

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 …

Installing and using ownCloud on QNAP hardware. EDIT1

Editor’s note: There is an issue with ownCloud 6 on QNAP. There is a new post with the extra steps here. As of lately, services such as Dropbox and Google Drive, are getting more and more attention, both on the cloud storage front and on file sharing and synchronization. For personal and non critical purposes, those are just fine, specially if you don’t mind the 5GB free capacity. Once you get used to it, either the 5GB storage limit, or the fact that the files are not hosted by a trusted 3rd party, might get on you nerves. On my …