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.

To install BubbleUPnP Server with Docker:

  • go into ‘Package Center’ and install Docker
  • Go into top-left corner menu and select Docker to launch its user interface
  • go into Registry tab, search for ‘bubbleupnp’ and double-click the first choice ‘bubblesoftapps/bubbleupnpserver’
  • go into the Images tab and double-click the ‘bubblesoftapps/bubbleupnpserver:latest’ entry
  • in the dialog, enable ‘Use same network as Docker host’ (this is very important for proper operation) and click Next to go to next page
  • click Next
  • click Next
  • click Done

You should then be able to connect to BubbleUPnP Server web config page from any web browser on your network on http://<NAS ip address>:58050. If you cannot connect, try instead the ‘bubbleupnpserver/bubbleupnpserver-openj9’ docker image in step 3 above.

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-*/{ffmpeg,ffprobe} .
rm -rf ffmpeg-*

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.