Synology: 30 Seconds Unifi Controller 6 Install

Synology 30 Seconds Unifi Controller 6 Install

Do you want to install the latest Unifi Controller 6 via Docker without a terminal? Are you tired of complicated guides? Do you want something quick and easy? Well today I will teach you how to install Unifi Controller 6 on your Synology NAS in less than 30 seconds directly through the Task Scheduler option. It’ll be over in a couple of seconds and it’s essentially child’s play.

Note: This guide works perfectly with the latest Unifi Network Controller 6.2.17 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

Go to File Station and open the docker folder. Inside the docker folder, create a new folder and name it unifi. Follow the instructions in the image below.
Note: Be careful enter only lowercase, not uppercase letters.

Unifi Controller 6 Synology NAS Set up 1

  • STEP 4

Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the images below.

Unifi Controller 6 Synology NAS Set up 2

  • STEP 5

Once you click on User-defined script a new window will open. Follow the instructions below:

  1. General: In the Task field type in “Unifi Controller 6“. Uncheck “Enabled” option. Select root user.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
docker run -d --detach --name=unifi-controller6 --restart=always  --network=host --volume=/volume1/docker/unifi:/unifi --env=TZ=Europe/Bucharest --env=PUID=1026 --env=PGID=100 --env=RUNAS_UID0=false --env=BIND_PRIV=false jacobalberty/unifi:6.2

After you paste the code in the User-defined script area, change the value for TZ (Select your current Time Zone from this list).
After you paste the code in the User-defined script area, change the value numbers for PUID and PGID with your own values. (Follow my step by step guide on how to do this.)

Unifi Controller 6 Synology NAS Set up 3

Note: If you have your docker folder in a different volume, then change in the code above /volume1/docker/unifi according to your settings. For example: /volume2/docker/unifi or /volume3/docker/unifi etc.

  • STEP 6

After you click OK on STEP 5 a new warning pop up window will open. Click OK.

Unifi Controller 6 Synology NAS Set up 4

  • STEP 7

After you click OK on STEP 6, select your “Unifi Controller 6” Task then click the “Run” tab. You will be asked to run Unifi Controller 6 – click Yes. Follow the instructions in the image below.

Unifi Controller 6 Synology NAS Set up 5

  • STEP 8

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 9

The installation process can take up to a few minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:8080/

Unifi Controller 6 Synology NAS Set up 6

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update Unifi Controller 6 container with the latest image.
Note: The installation process can take up to a few minutes. It will depend on your Internet speed connection.
Note: How to Free Disk Space on Your NAS if You Run Docker.

This post was updated on Monday / June 21st, 2021 at 8:39 AM