Synology the Account or Password Is Invalid. Please Try Again

If you take Unifi network gear yous also need the Unifi Controller. And it is all-time to keep the controller running 24/7, so where are you lot going to install it? If you have a Synology Nas then y'all could use a Docker Epitome to run the Unifi Controller. In this article, I will guide you through the installation of Docker and Unifi on your Synology in v minutes.

Before we can start we need to brand sure that your Synology supports Docker. You tin cheque this in two easy ways:

  1. Login to your Synology and get to the Package Eye, search in the summit left corner for Docker. If it doesn't return any results, then Docker isn't supported for your model
  2. On the website of Synology, you will observe information nearly the add-on Docker and which models back up information technology. Bank check if your model is listed in that location nether the practical model's section.

If y'all Synology isn't supported you tin also go for the Raspberry Pi solution or check out the Unifi Cloud Central

Installing Docker on your Synology

First, we are going to install Docker. Docker allows you to run applications in containers. The advantage of containers is that a developer can create a package, in this case, the Unifi Controller, with all the parts it needs (like Java and MongoDB). Leaving the user with only downloading and starting the image upwardly within the container. This way other awarding on the same car won't be harmed.

Install Docker on Synology NAS
  1. Login to your Synology Nas with an admin user.
  2. Open up the Package Middle
  3. Search in the height left corner for Docker
  4. Install Docker (blueish whale icon)

Installing the Unifi Controller

Installing the Unifi Controller is only a few mouse clicks. We are going to download the Unifi Controller image (700Mb) and configure the Docker Container for information technology.

Downloading the epitome

Docker starts upward afterward you installed it. Get the register on the left side and search for Unifi.

Installing Unifi Controller on Synology

Starting the Unifi Container Paradigm

Select jacobalberty/unifi and click on download. It may take a few minutes to download the image, you can see the progress on the Paradigm tab. When the download is consummate, select the image and click on Launch

Launch Unifi Controller Docker on Synology

Configure the Unifi Container

Later yous clicked on Launch, the container configuration wizard will get-go. We demand to change some settings so nosotros can achieve the Unifi Controller from another computer (then only from the Synology), shop the files somewhere and limit the resources.

General Settings

Configuring Unifi Controller for Synology
  1. Requite the Container a name, like Unifi-Controller. Something you will recognize later.
  2. Enable resource limitation, this way the Unifi Controller tin can't use all the resource of the Synology. This is really recommended if you are running more applications on your NAS.
  3. Click on Advanced Settings

Avant-garde Settings

Unifi Controller Docker Auto Restart

On the side by side screen, enable Motorcar-restart. This way the Unifi Controller will exist restarted when your Synology turns is rebooted (later on an update for case)

Set up Disk Volume

Create Volume on Synology for Unifi Controller

Click on the tab Volume. We need to map the file storage of the Docker to the disk of the Synology.

  1. Click on Add Folder
  2. Select docker
  3. Click Create Folder
  4. Name it Unifi
  5. Click on Select

Side by side, we need to map the newly created folder. In the cavalcade, Mountain Path enter /unifi

Network Settings

Unifi Controller Same Network as Synology

Click on the network tab and select Utilise the same network as Docker Host. This way nosotros tin reach the Unifi Controller on the aforementioned IP Address as our Synology NAS.

Environment Settings

Advanced Unifi Controller settings for Synology
  1. Click on the last tab, Environment.
  2. Scroll all the way downwardly and alter the post-obit values:
    BIND_PRIV False
    RUNAS_UID0 FalseClick on Apply
  3. Click on Side by side and Apply again.

The Unifi Controller volition now start and is accessible on your Synology address on port 8443. So if y'all tin open up your NAS on https://192.168.1.2 then you tin can find the Unifi Controller on https://192.168.one.ii:8443. Make certain y'all put https in front of it.

Configure your Synology Firewall

By default, the Synology firewall is turned on. This will prevent y'all from accessing and using the Unifi Controller. You don't demand to turn the firewall off, you only need to open up some ports to permit traffic to the Unifi Controller. You can exercise this as follows

  1. Open the Control Panel
  2. Select Security
  3. Select Firewall
Open Synology Firewall for Unifi Controller

Here you will meet the Enable Firewallis turned on. Below that you will find the Firewall Profile. Click on Edit Rules to open the ports for the Unifi Controller.

Adding Unifi Controller Ports to Synology Firewall
  1. Click on Create to add a Firewall Dominion
  2. Select under Ports > Custom and once more Custom (button)
  3. Protocol is TCP
  4. Ports (Carve up with commas):8080,8443,8843,8880,6789
  5. Click Ok and Ok
  6. Click on Create again
  7. Select under Ports > Custom and again Custom (push button)
  8. Protocol is UDP
  9. Ports (Separate with commas): 3478,10001
  10. Click Ok (3x times)

You should now exist able to access the Unifi Controller. If this controller is yet not accessible and then it might be necessary to restart your Synology NAS. The Unifi Controller will start automatically later the reboot.

Updating the Unifi Controller Container

Updating the Unifi Controller on the Synology is a little bit different compared to a Linux/Windows/Rasberry Pi installation. You lot tin can't just download the latest version and run the installer inside the Docker container. At that place is no auto-update feature either, so when a new version comes out, yous will need to download a new version of the Docker Unifi Image. Tip: subscribe to my email list in the sidebar to receive a notification when a new version is available!

Download Unifi Controller Backup

Before you start with updating yous should always make and download a backup of your Unifi Controller. Log in to the controller and select Maintenance. Scroll down to Backup and download the fill-in file.

Likewise, I really recommend to fill-in your Unifi Controller to cloud storage, like Dropbox. This way you can ever restore your controller. You tin read everything about information technology in this article.

Downloading the latest version

To update the controller you need to follow these steps:

  1. Open up Docker on the Synology
  2. Click on Registry and search again for Unifi (just like nosotros did during the installation)
  3. Select the jacobalbert/unifi and click download.
  4. Await until the download is completed (bank check the image tab or wait for the notification)

Updating the container

When the download is finished we can start with updating or actually replacing, the Docker paradigm. In Docker select Container:

Turn Unifi Container off
  1. Stop the Unifi Controller container past flipping the on-off switch. Wait until the status is changed to cease
  2. Select the Unifi Controller container again
  3. Click on Activeness and select Clear
  4. Acknowledge that all the data in the container will be lost. (Settings and data are saved in the mapped folder)
  5. Start the container again past filliping the on-off switch

You can now log in again on your Unifi Controller.

Alternatives

If y'all Synology doesn't support Docker or you are planning to purchase a new Synology NAS, then make certain yous bank check the Docker Addition page at the Synology website to see if it back up Docker. For home networks, the Synology NAS DS218+ is a good and affordable choice. Information technology will price around $ 300 on Amazon for the diskless version. Don't be tempted to go for the cheaper version, they don't support Docker.

A cheaper alternative to run the Unifi Controller is a Rasberry Pi or the Unifi Cloud Key. The Deject key cost only a third on Amazon of the Synology NAS and you only need to power information technology upwards to use the controller software.

Conclusion

If yous have any questions just driblet a comment beneath. Brand certain you sign up for the newsletter to stay up-to-date with the Unifi Controller software.

Run across also:

  • Best Practices for setting upwardly the Unifi Controller
  • Backup your Unifi Controller to the Cloud
  • Unifi Protect Review
  • How to create a fast and stable dwelling house network
  • Monitor your home network for complimentary

auldwhicard.blogspot.com

Source: https://lazyadmin.nl/home-network/unifi-controller-on-a-synology-nas-with-docker/

0 Response to "Synology the Account or Password Is Invalid. Please Try Again"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel