Hi,
you shouldn't run ownCloud on a QNAP device as this devices are providing such ancient version of system libraries that they are now causing the issue you're currently facing. There is nothing what can be done here from ownCloud side. See the thread in [1] for a few background info.
[1]