You probably have to mount the "configuration store" of the QNAP Appliance. Have a look
here.
This is for a TS-509.
# Mount the config file system:
mount /dev/sdx6 /tmp/config
# Create the autorun.sh script that will ensure that the persistent subsonic configuration is made available through symlinks. The autorun.sh will be run at every reboot:
cat > /tmp/config/autorun.sh <<__EOF
#!/bin/sh
rm -Rf /var/subsonic
ln -s /mnt/HDA_ROOT/subsonic /var/subsonic
ln -s /var/subsonic/transcode/lib/libfaad.so.0 /usr/lib/libfaad.so.0
ln -s /var/subsonic/transcode/lib/libfaad.so.0.0.0 /usr/lib/libfaad.so.0.0.0
ln -s /var/subsonic/transcode/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /var/subsonic/transcode/lib/libmp3lame.so.0.0.0 /usr/lib/libmp3lame.so.0.0.0
__EOF
Now, you need to download flac, lame and faad to be able to play basic mp3, flac and apple formats. Furthermore you can add other decoders if you like. I've chosen to download packages for i386 Fedora Core (rpm format) for lame and faad. Flac is available from sourceforge as tgz.
The rpms were converted to tgz within an Ubuntu installation with the alien command (alien -t {name of rpm file}, then copied to the QNAP appliance.
The tgz files were extracted to the /tmp folder.
The executables (flac, faad and lame) were copied directly to /var/subsonic/transcode, and the libraries were copied to the /lib subfolder of transcode. Further I've symlinked them in the autorun.sh script.
Now, before rebooting the QNAS, you need to copy the folder /var/subsonic to /mnt/HDA_ROOT/subsonic /var/subsonic. Also, chmod -R 777 the folder on /mnt/HDA_ROOT/subsonic to ensure that Subsonic has write/execute permissions. If you are paranoid, and security aware, you'll figure out how to harden this, but to make things work, 777 is fine.
This description is based on reconstruction of a recent config, and may be missing a few elements. If anyone second this, please post correct info in the forum to help others.
