From eff3995625d89ce73a19e78177e7665821137c58 Mon Sep 17 00:00:00 2001 From: TRaSH Date: Thu, 19 Nov 2020 19:55:21 +0100 Subject: [PATCH] Revert "Revert "Fixed: Formatting"" This reverts commit d1771d4814fe894f5e3bbb297119f4ce1b950699. --- Installation-Synology.md | 73 ++++++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/Installation-Synology.md b/Installation-Synology.md index d28457f..b5f95f3 100644 --- a/Installation-Synology.md +++ b/Installation-Synology.md @@ -1,12 +1,12 @@ ->For now it's only possible to run Bazarr when you are able to run Docker on your Synology. ->We will try to explain the basics how to setup Bazarr on Synology with Docker. +# Installation Synology -**NOTE:** - ->Depending if you're smart and decide switch everything to Docker then you're done after this guide. ->If you decide to mix packages with docker you will need to mess with [Path Mappings](/Settings#path-mappings-for-shows). +For now it's only possible to run Bazarr when you are able to run Docker on your Synology. +We will try to explain the basics how to setup Bazarr on Synology with Docker. +## NOTE +> Depending if you're smart and decide switch everything to Docker then you're done after this guide. +> If you decide to mix packages with docker you will need to mess with [Path Mappings](/Settings#path-mappings-for-shows). ### PUID and PGID @@ -16,7 +16,7 @@ For this we need to figure out the PUID and the PGID of the user having access t You will need to SSH into your Synology. If you didn't already enable it you need to do that first -![](images/image-20200126134857716.png) +![control-panel](images/image-20200126134857716.png) Then use a program like Putty and SSH to your Synology. @@ -25,7 +25,7 @@ Just press `OK` or `ACCEPT` Enter the login information of your main Synology user account. -![](images/image-20200127170839957.png) +![id](images/image-20200127170839957.png) Once logged in type `id`. This will show your UID (aka PUID). @@ -35,16 +35,18 @@ Remember these values for later use. >(*yes we know it's not recommended to use the admin account but if you already know this then you wouldn't need to read this*) ;) -### Now you got 2 options to install Bazarr. +### Now you got 2 options to install Bazarr + 1. [Install Bazarr with the GUI in the Synology interface (Takes longer)](#install-bazarr-with-the-gui-in-the-synology-interface-takes-longer) -2. [Install Bazarr using SSH](#install-bazarr-using-ssh) +2. [Install Bazarr using SSH](#install-bazarr-using-ssh) ------ #### Install Bazarr with the GUI in the Synology interface (Takes longer) + Install(if you didn't do that already) and open docker. -![](images/image-20200126135742435.png) +![docker-registery](images/image-20200126135742435.png) Select `Registry` and type `bazarr` in the search bar. We recommend to use one of the following 2 images. @@ -52,69 +54,73 @@ We recommend to use one of the following 2 images. For this example I will use the `hotio/bazarr`. Then you will get a popup asking which Tag you want to use. select `latest` for the stable build. -![](images/image-20200126140136647.png) +![choose-tags](images/image-20200126140136647.png) or select `nightly` if you want to use the dev version. ![image-20201008184855337](images/image-20201008184855337.png) - In this example I will use the dev build. Then on the left select `Image` and wait till it's loaded you can see when it's done where the arrow is pointed and it stops building. - ![image-20201008185018153](images/image-20201008185018153.png) + ![docker-image](images/image-20201008185018153.png) Then double click on the created image. -##### General Settings -![image-20201008185252513](images/image-20201008185252513.png) +#### General Settings + +![create container](images/image-20201008185252513.png) 1. Give the container a friendly name (e.g. `bazarr`). 2. Enable this (not sure if it's needed but you can test that later yourself) 3. Then select `Advanced Setttings` ##### Advanced Settings -![](images/image-20200126141208906.png) + +![advanced-settings](images/image-20200126141208906.png) Select `Enable auto-restart` if you want Bazarr to autostarts. -###### Advanced Settings - Volume -![](images/image-20200126142312749.png) +##### Advanced Settings - Volume + +![volume](images/image-20200126142312749.png) Click on `Add Folder` -![](images/image-20200126143233044.png) +![add-folder](images/image-20200126143233044.png) Create a folder named `config` and create in that folder a folder called `bazarr`. This will be used for the database, config and log files. -![image-20201008190452024](images/image-20201008190452024.png) +![volume-result](images/image-20201008190452024.png) Also add your `tv` and your `movies` folder locations, -In this Guide we used the preferred path setup that's why we used `/data/media`. +In this Guide we used the preferred path setup that's why we used `/data/media`. -###### Advanced Settings - Port Settings -![](images/image-20200126143706699.png) +##### Advanced Settings - Port Settings + +![port-settings](images/image-20200126143706699.png) Change the `local port` from `automatic` to the official port `6767`. -###### Advanced Settings - Environment. -![](images/image-20200126143849817.png) +##### Advanced Settings - Environment + +![environment](images/image-20200126143849817.png) Now we need to add the `PUID` and `PGID` that we wrote down earlier. If you don't have the `PUID` and `PGID` option as variable then add it yourself. Then click `Apply` and `Next`. -![](images/image-20200126144149241.png) +![summary](images/image-20200126144149241.png) Recheck your setting and click on `Apply`. -![](images/image-20200126144245763.png) +![docker-container](images/image-20200126144245763.png) Select on the left `Container` and you can see if it's running. Now you can access the Bazarr docker container by typing in your browser -http://your_synology_ip_or_your_synology_hostname:6767 + and then follow the [[Setup-Guide]]. ------ @@ -124,14 +130,16 @@ and then follow the [[Setup-Guide]]. First create a `config` folder in your `docker` folder and create a `bazarr` folder in it. Then you ssh into your Synology and you type one of the the following depending which image you want to use. -###### Stable build: +##### Stable build + hotio/bazarr >`sudo docker run -d --name bazarr -v /volume1/docker/config/bazarr:/config -v /volume1/data/media:/data/media -e PUID=1026 -e PGID=101 -p 6767:6767 hotio/bazarr:latest` linuxserver/bazarr >`sudo docker run -d --name bazarr -v /volume1/docker/config/bazarr:/config -v /volume1/data/media:/data/media -e PUID=1026 -e PGID=101 -p 6767:6767 linuxserver/bazarr:latest` -###### Development build: +##### Development build + hotio/bazarr >`sudo docker run -d --name bazarr -v /volume1/docker/config/bazarr:/config -v /volume1/data/media:/data/media -e PUID=1026 -e PGID=101 -p 6767:6767 hotio/bazarr:nightly` @@ -146,7 +154,7 @@ linuxserver/bazarr `-e PUID=1026` = Your PUID (*that we found earlier*). `-e PGID=101` = Your PGID (*that we found earlier*). `-p 6767:6767` = The ports Bazarr is going to use. -`hotio/bazarr:xxx` = Which image and build is going to be used. +`hotio/bazarr:xxx` = Which image and build is going to be used. ------ @@ -161,4 +169,3 @@ For his Wiki/Guide I used the following sources being that I don't have a Synolo [Docker Guide](https://wiki.servarr.com/Docker_Guide) (thnx to @fryfrog) Help from some Synology users on the [Discord Server](https://discord.gg/MH2e2eb). -