# Synology DSM6+ - Xibo Docker 1.8+ Installation

**URL:** https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697
**Category:** Guides
**Created:** [April 21, 2017, 6:32am UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697 "2017-04-21T06:32:16Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![cslaughter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/cslaughter/32/186_2.png) [@cslaughter](https://community.xibo.org.uk/u/cslaughter)
#### Post date: [December 29, 2017, 7:32am UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/21 "2017-12-29T07:32:44Z")

</div>

@Peter is correct. The username and password should be the default.

I am glad to hear that the guide worked well for you. Feedback is always welcomed.

I would add the the note to the end about the default username and password, but I still cannot edit the post anymore. Peter, a little help please.

---

<div class="post-metadata">

### Author: ![chidambar](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/c/ea666f/32.png) [@chidambar](https://community.xibo.org.uk/u/chidambar)
#### Post date: [December 29, 2017, 8:20am UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/22 "2017-12-29T08:20:17Z")

</div>

Hi,

Thank’s 😉

I confirm that the default identifiers work’s

---

<div class="post-metadata">

### Author: ![Peter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/peter/32/8154_2.png) [@Peter](https://community.xibo.org.uk/u/Peter)
#### Post date: [December 29, 2017, 9:27am UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/23 "2017-12-29T09:27:11Z")

</div>

@cslaughter I’ve edited your post and added a note about default login credentials.

---

<div class="post-metadata">

### Author: ![soundmiguel](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/soundmiguel/32/8802_2.png) [@soundmiguel](https://community.xibo.org.uk/u/soundmiguel)
#### Post date: [March 2, 2018, 1:06pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/24 "2018-03-02T13:06:36Z")

</div>

Hello cslaughter!  
I have this same problem, I reinstall again the containers and I can’t fix it. I don’t have MariaDB. If it’s permissions problem I don’t know where to carry on looking for.

Thanks!

---

<div class="post-metadata">

### Author: ![MichaelJvD](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/michaeljvd/32/4830_2.png) [@MichaelJvD](https://community.xibo.org.uk/u/MichaelJvD)
#### Post date: [March 3, 2018, 2:51pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/25 "2018-03-03T14:51:06Z")

</div>

Hi,

I tried the above installation many times allready on my DS218+, but I never get the mysql database running. It’s keeps restarting all the time. I plan to do a complete reinstall of the DS now. Which Synology packages I need to install minimal to run the above installation?

---

<div class="post-metadata">

### Author: ![Colin\_S](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/c/b38774/32.png) [@Colin\_S](https://community.xibo.org.uk/u/Colin_S)
#### Post date: [March 3, 2018, 9:05pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/26 "2018-03-03T21:05:40Z")

</div>

Does the System account have full access on the folders that needed to be created? I would scrap everything, meaning folders and containers and start fresh. I had to do that many times before I could everything to work correctly. Seems one little mistake renders everything useless.

When you say you don’t have MariaDB, I assume you mean installed under the standard packages of the Synology package manager. Either way it should not matter.

After starting fresh, if you still have an issue, can you please post some logging/error messages?

---

<div class="post-metadata">

### Author: ![cslaughter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/cslaughter/32/186_2.png) [@cslaughter](https://community.xibo.org.uk/u/cslaughter)
#### Post date: [March 3, 2018, 9:45pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/27 "2018-03-03T21:45:36Z")

</div>

I believe you only need the stock packages plus docker. As for which could be removed, I do not know.

As for the problem with the DB container restarting over and over, try this

If you are seeing the cms-db container start and stop, I saw that when I did not have the environment variables correct. I would delete your cms-db container, remove everything from the database folder, stop the cms-web container. Then rebuild the cms-db container, then start it. Look at the cmd-db log in docker and see if you see the main database being created. If that looks good and it is staying up, then I would start the cms-web containter. Look at the cms-db log again and see if you see that Xibo configured somethings. If that all looks good, then try to access the cms. If you cannot, please post back with any errors and screen shots of the docker info pages for the cms-db and cms-web containers.

I hope that helps, if not then can you please tell me the exact version of DSM is installed?

---

<div class="post-metadata">

### Author: ![MichaelJvD](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/michaeljvd/32/4830_2.png) [@MichaelJvD](https://community.xibo.org.uk/u/MichaelJvD)
#### Post date: [March 3, 2018, 10:05pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/28 "2018-03-03T22:05:53Z")

</div>

Thank you very much for your replys,

I discovered that when I set the web map authorisation to read/write for everyone, everything works fine.But I think that is not very safe configuration. Any suggestions?

---

<div class="post-metadata">

### Author: ![cslaughter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/cslaughter/32/186_2.png) [@cslaughter](https://community.xibo.org.uk/u/cslaughter)
#### Post date: [March 4, 2018, 1:35am UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/29 "2018-03-04T01:35:42Z")

</div>

When you say “web map”, I am not sure what you are referring to. If you mean the folders that are set and mapped to under web directory, I would try SYSTEM - full access, http (user) - Read, http (Group), and then your username - full access. If for some reason Docker is running under a different user, than that user might need full access on the folders.

---

<div class="post-metadata">

### Author: ![MichaelJvD](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/michaeljvd/32/4830_2.png) [@MichaelJvD](https://community.xibo.org.uk/u/MichaelJvD)
#### Post date: [March 4, 2018, 10:17am UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/30 "2018-03-04T10:17:29Z")

</div>

Thank you! The SYSTEM - full access works.

---

<div class="post-metadata">

### Author: ![cslaughter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/cslaughter/32/186_2.png) [@cslaughter](https://community.xibo.org.uk/u/cslaughter)
#### Post date: [March 4, 2018, 5:29pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/31 "2018-03-04T17:29:22Z")

</div>

😃 Nice. Glad to hear you got it working.

---

<div class="post-metadata">

### Author: ![MichaelJvD](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/michaeljvd/32/4830_2.png) [@MichaelJvD](https://community.xibo.org.uk/u/MichaelJvD)
#### Post date: [March 4, 2018, 6:29pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/32 "2018-03-04T18:29:57Z")

</div>

Now I have another problem. I try to access the Xibo-cms from another location, but I can’t get it to work. Which ports on my router should be opened to let Xibo-player work from another location, and to access the Xibo-cms.  
At this moment I only opened port 443 and direct it to my Synology NAS.

---

<div class="post-metadata">

### Author: ![cslaughter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/cslaughter/32/186_2.png) [@cslaughter](https://community.xibo.org.uk/u/cslaughter)
#### Post date: [March 4, 2018, 8:28pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/33 "2018-03-04T20:28:02Z")

</div>

@MichaelJvD

I think you may need to perform this part of the instructions.

> [@cslaughter](#):
>
> Since Xibo really wants you to use HTTPS, and you really should, I will show that route of gaining access to the cms from the internet. I will assume that you have a domain pointed to the DSM unit already. (I came from a working 1.8 install running under web station.)
> 
> A reverse proxy will need to be configured within DSM. That is found in the “Control Panel” under “Application Portal” and then the “Reverse Proxy” Tab.
> 
> Click “Create”, give it a description
> 
> Source:
> 
> Protocol - HTTPS
> 
> Hostname - YOURDOMAINNAME
> 
> Port - 443 (Assuming you don’t already have something on it)
> 
> Enabled HSTS, and HTTP/2
> 
> Destination:
> 
> Protocol - HTTP (The reverse proxy is taking care of the SSL endpoint)
> 
> Hostname - localhost (Yes really use that)
> 
> PORT - 8888 (we used that earlier on cms-web)
> 
> Click “ok”

---

<div class="post-metadata">

### Author: ![soundmiguel](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/soundmiguel/32/8802_2.png) [@soundmiguel](https://community.xibo.org.uk/u/soundmiguel)
#### Post date: [March 5, 2018, 11:07am UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/34 "2018-03-05T11:07:45Z")

</div>

Hello cslaughter! This is the key! SYSTEM didn’t have full permissions, now I have the three containers working, thank you so much!

Now I have another problem, i can’t enter to the cms, I try to connect to my domain but the page doesn’t load. I’ve configured the reverse proxy but I don’t know if I’m missing something.

Thanks!

---

<div class="post-metadata">

### Author: ![cslaughter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/cslaughter/32/186_2.png) [@cslaughter](https://community.xibo.org.uk/u/cslaughter)
#### Post date: [March 5, 2018, 7:46pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/35 "2018-03-05T19:46:59Z")

</div>

When you say the page doesn’t load, do you get any sort of error message? If so what does it say?

---

<div class="post-metadata">

### Author: ![soundmiguel](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/soundmiguel/32/8802_2.png) [@soundmiguel](https://community.xibo.org.uk/u/soundmiguel)
#### Post date: [March 6, 2018, 8:09am UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/36 "2018-03-06T08:09:36Z")

</div>

No worries! It’s solved, it was a problem with the password variables, now I can enter but I can’t from outside my pc and I did the reverse proxy step but I don’t know if I have problems with router ports o certs in my Synology or what ☹ . Thanks!

But now I have another question in mind, if I want to create other CMS in the same DSM, what should I do?

Thank you!

---

<div class="post-metadata">

### Author: ![soundmiguel](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/soundmiguel/32/8802_2.png) [@soundmiguel](https://community.xibo.org.uk/u/soundmiguel)
#### Post date: [March 9, 2018, 10:07am UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/37 "2018-03-09T10:07:34Z")

</div>

I have everything working now, I’ve had conflict with my router ports. Thank you so much for this awesome guide! Everything working fine!!!

---

<div class="post-metadata">

### Author: ![cslaughter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/cslaughter/32/186_2.png) [@cslaughter](https://community.xibo.org.uk/u/cslaughter)
#### Post date: [March 12, 2018, 5:38pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/38 "2018-03-12T17:38:48Z")

</div>

Glad to hear you got it working.

I tried to reply sooner, but the site kept telling me I was offline…

---

<div class="post-metadata">

### Author: ![jchristensen](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@jchristensen](https://community.xibo.org.uk/u/jchristensen)
#### Post date: [May 7, 2018, 5:47pm UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/39 "2018-05-07T17:47:43Z")

</div>

First I would like to thank you cslaughter and alex for getting this running on DSM. It has been great.

I am in the process of wanting to update from 1.83 to 1.89 and I have looked over the documents on “Upgrading with Docker” and making a full backup, and i guess i am just not understanding everything. it says:  
“Before starting the upgrade, it’s strongly recommended to take a full backup of your Xibo system. So stop your CMS by issuing the command  
docker-compose stop  
and then, backup config.env, your docker-compose files, and shared directory and keep them somewhere safe. On a Linux system, you will need to be the root user, or use sudo to make a copy of the shared directory.”

The problem I am having in where is the “config.env” file or the “docker-compose” files

I feel like the reset of the steps to update should be pretty straight forward and I am almost willing to continue without backing up those files.

---

<div class="post-metadata">

### Author: ![cslaughter](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/cslaughter/32/186_2.png) [@cslaughter](https://community.xibo.org.uk/u/cslaughter)
#### Post date: [May 8, 2018, 3:57am UTC](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697/40 "2018-05-08T03:57:55Z")

</div>

Open the docker control panel on the Synology and shutdown all the containers.

> [@cslaughter](#):
>
> If you followed my guide, you should look here for the files: /volume1/web/xibo-docker/web/backup.

Go to this directory, if you followed the guide. Backup everything in there. Then as the upgrade notes say, just rename the appropriate container and change the ports. This basically serves as the backup for the docker container should you need to go back. (In that event you would put the container’s name and port settings back, and would be back to where you started on that.)

I hope that answers everything and moves you forward. I myself have not upgraded in a while as we use the API heavily and have not had a need as of yet.

[Previous page](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697.md?page=1)

[Next page](https://community.xibo.org.uk/t/synology-dsm6-xibo-docker-1-8-installation/9697.md?page=3)
