Installing on QNap NAS?

There have been a couple of issues in the past, especially the libxml libraries were too old:

Make sure that your OS provides a more recent version. Qnap itself did provide some packages but they were a lot behind providing current packages, so perhaps it is better to install it manually.

If you can run a 64-bit debian/ubuntu image in a VM, that would be my preferred solution. It quite a default setup, many people use it, everything works and if there are problems, solutions are quickly available (bug fixes, security updates, …).