Synology Inc. is Network Attached Storage manufacturer.
Questions tagged [synology]
568 questions
30
votes
6 answers
How can I work with command line on synology?
How do I access the command line interface on a Synology NAS.
Specifically, I am trying to access the command line on a Synology DS1520+, running DSM 7.1, so I can enter the command:
sudo shutdown -h,
so I can power down the NAS remotely.
I am…

gamo
- 1,549
- 7
- 24
- 36
28
votes
4 answers
Set up GIT on a NAS with Synology's official package
I bought 2-3 months ago a Synology 213air NAS for programing purpose.
Then before trying to set up git manually on my NAS, I heard that DSM4.3 will propose Synology's official package. So I decided to wait.
The DSM4.3 with Git package is now out :…

FR073N
- 2,011
- 4
- 29
- 42
21
votes
3 answers
Failed building wheel for typed-ast
While trying to install requirements for a program (pip install -r requirements.txt) pip fails with the following full output:
superadmin@diskstation:/volume1/scripts/movies/trakt.plex.scripts-master$ sudo /volume1/@appstore/py3k/usr/local/bin/pip3…

donzmat
- 435
- 1
- 4
- 12
16
votes
5 answers
Installing pip on a DSM/Synology
I've been working on a program using python 3 for the last few months. I've been testing it for some time now and it seems to work as it should. So I've tried to get it up and running on a DSM/Synology(Model: DS209+, Version: DSM 4.2-3259). Sadly I…
user8357325
16
votes
1 answer
Nginx + PHP-FPM 7.1 - 504 Gateway Time-out
I'm running a nginx 1.12 and a php-fpm 7.1 as seperate docker containers on a synology nas and i get a 504 Gateway error if the php-script runs longer than 60s. I've tried already several nginx configuration parameters but the error still exists.…

liquidmotion
- 163
- 1
- 1
- 4
13
votes
6 answers
Enable SSL on GitLab with Docker on Synology NAS
I have a working installation of GitLab via the official GitLab Package on my Synology NAS (DSM 5.2) in a Docker container.
I now like to access the Webinterface via https instead of just http. I have seen in several posts that it is possible to do…

Crami
- 406
- 1
- 4
- 11
11
votes
1 answer
How to pass command parameters with arguments (for e.g --param1=arg1) to Docker container run command in Synology DSM
I need to pass a command parameter with arguments in the style of --param1=arg1 to the run command of a docker container in Synology DSM. The docker application version in the package center is 17.05.0-0401.
On choosing a docker image and opening…

Wai Keung Yiu
- 471
- 4
- 10
10
votes
3 answers
Stop Synology notification "Docker container stopped unexpectedly"
I have a container with one Node.js script which is launched with CMD npm start. The script runs, does some work, and exits. The node process exits because no work is pending. The npm start exits successfully. The container then stops.
I run this…

Ben Jackson
- 90,079
- 9
- 98
- 150
10
votes
5 answers
How do I use a private Dockerhub image from my Synology NAS
Usually I have a public Dockerfile that I build with public DockerHub repository (songkong/songkong), then I can run it on my Synology by just searching for the tag in the registry
but I am making some changes in my private DockerHub repo…

Paul Taylor
- 13,411
- 42
- 184
- 351
10
votes
2 answers
Synology Scheduler .sh java command not found
I have a bash script thats only task is to execute a jar file.
sms.sh
java -jar /volume1/homes/jar/smssender.jar
Using my Synology NAS I set up a task.
Adding the command to execute bash script. Adding log output.
Executing my new Task.
Checking…

piguy
- 516
- 3
- 10
- 30
10
votes
3 answers
Can I install Docker on arm8 based Synology Nas
I have a Synology Disk Station 118 (appears it is using Arm8 processor)
There is no Docker package found by searching within Package Manager
I found this article but the link to Synology packages only has X64 packages and article says Docker does…

Paul Taylor
- 13,411
- 42
- 184
- 351
9
votes
1 answer
Adding ghcr (Github Docker Regustry) to Synology docker results in "Registry returned bad result"
When trying to add the Github Registry to Synology Docker, I always get a prompt saying "Registry returned bad result".
The URL I try to connect to is: https://ghcr.io

MrMaxM
- 91
- 1
- 2
9
votes
3 answers
Prevent default redirection from port 80 to 5000 on Synology NAS (DSM 5)
I would like to use a nginx front server on my Synology NAS for reverse-proxying pruposes. The goal is to provide a facade for the non-standard port numbers used by diverse webservers hosted the NAS. nginx should be listening on port 80, otherwise…

Backslash36
- 755
- 1
- 13
- 28
9
votes
2 answers
How to set up Tomcat 7 on Synology
I installed Tomcat 7 on Synology DS414. I cannot find any info on how to set it up and get it running. The NAS comes with a Web server app, and that is the one serving up its index.html file. I cannot find any config file for Tomcat, nor can I find…

R B
- 91
- 1
- 1
- 3
8
votes
1 answer
check IPs if they exist in /etc/hosts
I am trying to create a .sh script that checks if some IP/Domain like "teamspeak.com" exists in /etc/hosts and if it does not then I want to add something to the hosts file.
Right now I am trying this with:
if ! grep -q "teamspeak.com ==…

JonathanNet
- 1,637
- 3
- 15
- 17