Nas Install

Synology NAS #

DSM 6 #

Download Synology package

Prior to installation:

If necessary, install Java 8. This can be done from Package Center: search for Java and install the Java8 package and follow instructions. You may have to download the JRE from Oracle which requires a free Oracle account. It is a good idea to make sure the Java 8 revision is not too old: the full Java 8 version number is something like 8u281. If the number after 8u (revision) is below 200, download and install a newer version via the Java8 package interface.

Make sure ‘User Home Services’ is enabled (in DSM: Control Panel > User > Advance, ‘Enable user home services’). Without this, BubbleUPnP Server will not start.

If you get error “This package does not contain a digital signature” after selecting the .spk package, open Package Manager, click Settings. In ‘General’, set the Trust Level to ‘Any Publisher’

It is highly recommended to install the FFmpeg community package. BubbleUPnP Server will detect it and automatically make use of its ffmpeg binaries.

DSM 7 #

Synology changed the format of package for DSM 7. There is no plan for a DSM 7 package at this time. However, if your Syno NAS supports it, you can run BubbleUPnP Server via Docker.

It is recommended to use the bubbleupnpserver/bubbleupnpserver-openj9 docker image, as the standard one may crash.

If you create the docker image with the web Synology interface, make sure to enable host networking with the “Use the same network as Docker Host” setting.

QNAP NAS #

First, make sure you have Java 8 or higher installed and working.

If you are running QTS 4.1 or higher, download the QTS 4.1+ package.

Otherwise, install one of these packages and read detailed instructions:

Alternatively, or if you have issue with these packages, you can use Docker if possible.

It is recommended to manually get ffmpeg binaries for your architecture via ssh.

ARM processors #

In wget command line below, replace <arch> with arm64, armhf or armel:

  • arm64 is for ARM 64-bit
  • armhf is for ARM 32-bit hard-float
  • armel is for ARM 32-bit soft float
cd $(/sbin/getcfg BubbleUPnPServer Install_Path -d "" -f /etc/config/qpkg.conf)
mkdir custom_ffmpeg
cd custom_ffmpeg
wget https://bubblesoftapps.com/bubbleupnpserver/ffmpeg_binaries/linux/<arch>/{ffmpeg,ffprobe}
chmod +x ffmpeg ffprobe

Intel/AMD 64 bit processors #

cd $(/sbin/getcfg BubbleUPnPServer Install_Path -d "" -f /etc/config/qpkg.conf)
mkdir custom_ffmpeg
cd custom_ffmpeg
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
tar xvf ffmpeg-release-amd64-static.tar.xz
mv ffmpeg-4.3.2-amd64-static/{ffmpeg,ffprobe} .
rm -rf ffmpeg-release-amd64-static*

Once done, verify that ffmpeg is running fine:

./ffmpeg

If it does, restart BubbleUPnP Server to make the change effective.

Other NAS and alternate method #

If you NAS supports Docker, see Docker instructions.