Skip to content

Install on Synology NAS

To work, you will need Docker, you can install it via additional packages Synology.

Manual installation

Log in to the NAS via ssh.

When upgrading to a new version, first stop the server

sudo initctl stop yucca

Run arch to find out your architecture

Output arch Notation in the documentation
x86_64 amd64
armv7l arm
aarch64 arm64

Create a directory for installation and go to it, download the latest version of Yucca:

sudo mkdir -p /opt/yucca/ffmpeg
cd /opt/yucca
sudo wget -O /opt/yucca/yucca
sudo chmod +x /opt/yucca/yucca
sudo mkdir -p /opt/yucca/ffmpeg
cd /opt/yucca
sudo wget -O /opt/yucca/yucca
sudo chmod +x /opt/yucca/yucca
sudo mkdir -p /opt/yucca/ffmpeg
cd /opt/yucca
sudo wget -O /opt/yucca/yucca
sudo chmod +x /opt/yucca/yucca

Installing ffmpeg and ffprobe:

For correct operation, you need a version of FFmpeg not lower than 4.0

You can use the static assembly proposed by us, or any other one, provided that ffmpeg and ffprobe are used in the environment by the standard name

cd /opt/yucca/ffmpeg
sudo wget
sudo wget
md5sum -c ffmpeg-4.3.1-amd64-static.tar.xz.md5
sudo tar -xJvf ffmpeg-4.3.1-amd64-static.tar.xz ffmpeg-4.3.1-amd64-static/ffmpeg --strip-components 1
sudo tar -xJvf ffmpeg-4.3.1-amd64-static.tar.xz ffmpeg-4.3.1-amd64-static/ffprobe --strip-components 1
sudo rm -f ffmpeg-4.3.1-amd64-static.tar.xz*
cd /opt/yucca/ffmpeg
sudo wget
sudo wget
md5sum -c ffmpeg-4.3.1-armhf-static.tar.xz.md5
sudo tar -xJvf ffmpeg-4.3.1-armhf-static.tar.xz ffmpeg-4.3.1-armhf-static/ffmpeg --strip-components 1
sudo tar -xJvf ffmpeg-4.3.1-armhf-static.tar.xz ffmpeg-4.3.1-armhf-static/ffprobe --strip-components 1
sudo rm -f ffmpeg-4.3.1-armhf-static.tar.xz*
cd /opt/yucca/ffmpeg
sudo wget
sudo wget
md5sum -c ffmpeg-4.3.1-arm64-static.tar.xz.md5
sudo tar -xJvf ffmpeg-4.3.1-arm64-static.tar.xz ffmpeg-4.3.1-arm64-static/ffmpeg --strip-components 1
sudo tar -xJvf ffmpeg-4.3.1-arm64-static.tar.xz ffmpeg-4.3.1-arm64-static/ffprobe --strip-components 1
sudo rm -f ffmpeg-4.3.1-arm64-static.tar.xz*

Generating the default configuration file:

sudo /opt/yucca/yucca server --config emtpy --show-config | sed 's|data_dir = ""|data_dir = "/opt/yucca/data"|' > /opt/yucca/yucca.toml

Also specify your path to save the archive by defining the parameter [alloc_dir] (/en/Configuration/#alloc_dir), pre-create the desired directory, example:

In your case, the path may be different!

sudo mkdir -p /volume1/yucca/alloc_dir
sed -i 's|alloc_dir = ""|alloc_dir = "/volume1/yucca/alloc_dir"|' /opt/yucca/yucca.toml
Make sure everything is correct:
cat /opt/yucca/yucca.toml

Creating an autorun script Upstart init:

sudo tee /etc/init/yucca.conf <<EOF
description "Yucca Stream"
author "Yucca Stream"

start on filesystem or runlevel [2345]
stop on runlevel [!2345]

respawn limit 10 10

    exec /opt/yucca/yucca server --config /opt/yucca/yucca.toml
end script


Updating the Upstart configuration

sudo initctl reload-configuration

Check that yucca has appeared in the list

sudo initctl list | grep yucca

Now you can start the server and check the operation:

sudo initctl start yucca

After launch, the Web interface will be available at http://ip-your-server:9910