Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [synology]

The tag has no usage guidance.

4
votes
1answer
32 views

Shrink MDADM Raid 5 containing LVM

The plan: I've been growing a Raid5 array in a personal server for some years, and the time has come to move to something more suited to this application. I've accumulated 6x 8tb drives containing ...
0
votes
1answer
22 views

What are .xsh files? How to see its contents?

The synology ipkg installer bootstraps with a file, with name ending .xsh. How can I see what is inside such file?
2
votes
0answers
168 views

How to recover data from synology Raid 5?

My old synology server (cs407s), died. So I'm trying to retrieve the data from the disk. I have tree disks from RAID 5. I tried to mount the disk on computer running grml. # lsblk sda 8:0 0 ...
0
votes
1answer
40 views

Renaming Multiple files in different directories [duplicate]

I have about 5TB of data stored on Synology NAS servers with a DSM of 6.1+, so bash should be available for use on these systems. The issue is that we are currently archiving this data to external ...
2
votes
2answers
771 views

“Command not found” when using ssh and non absolute commands

I want to use a command over ssh: ssh myuser@myhost mycommand but doing so I always get: sh: mycommand: command not found using following obviously works: ssh myuser@myhost /usr/local/bin/...
1
vote
0answers
333 views

LFTP Script to Download files and remember old downloads [closed]

I would like a script that downloads files every x minutes and remember which files it has downloaded. I found this similar question; LFTP Script to Download Files The problem is once the file has ...
0
votes
1answer
81 views

ssh to docker container breaks after 45 seconds

I have docker running on a synology nas. The nas has a private network (172.17.0.0/16) where docker places the containers. It also has a public facing interface on my lan, call it 10.11.12.10/24. ...
0
votes
1answer
103 views

Mounting unix to synology nas and special characters

I'm trying to mount my Synology NAS to Ubuntu with fstab, and I have some folders on the NAS containing '!' in the folder name, as well as spaces. The spaces I found out that I can escape with \040, ...
1
vote
2answers
303 views

Synology - USB TV tuner not recognised

I’ve got a DS218+ Synology NAS drive along with a Hauppauge ‘WinTV-dualHD’ USV tv tuner (model number is 1590). I’m trying to get the two working together, however I cannot get the Synology box to ...
1
vote
0answers
65 views

(Complicated) RAID hard drive issue

I have a (complicated) RAID hard drive issue: I have a Synology DS413j with 4 hds, hd 3 failed so I decided to replace them. The official support article says to replace them one by one, and being ...
1
vote
1answer
3k views

How can I run a VM on a diskstation DS218 from an external drive

The virtual machine manager package from synology (version 2.3.1-8926) does not allow me to run a VM from a USB drive. I would like to load the virtual machine image from a external disk so that the ...
1
vote
0answers
759 views

Remote copy via SCP doesn't work in background

The situation: I'm switching file servers at home. I want to copy tons of data from one Synology Disk Station to another. My Approach: #Via SSH on the new server: nohup scp -r ${old_server}:. . I ...
1
vote
0answers
150 views

Error installing ipkg on Synology NAS DS414

I have been trying to install ipkg on a Synology NAS according to the instructions available at https://github.com/basmussen/ds414-boostrap-dsm5 Here's the beginning part of the instructions: wget ...
2
votes
2answers
467 views

find + xargs - copy/move files from one subdir to another

My folder structure is like this: /volume1 /photoTest /folderA /@eaDir /eaDir_tmp /folderB /@eaDir /eaDir_tmp /folder with space /@eaDir /eaDir_tmp ...
0
votes
1answer
549 views

Why does Synology DSM's “USB Copy” skip Umlaut-named files?

Background I have a large number of files from my mac that I first copied to a FAT32 hard drive and now migrated to a Synology NAS (DS216 with DSM 6 in my case, using ext4 internally) with rsync. I ...
0
votes
1answer
373 views

PostgreSQL Remote Connection on NAS Synology DS216j

This is what I would like to achieve: I have postgreSQL database running on NAS Synology Diskstation DS216j connected to my router. I want to be able to connect and use the database from remote ...
1
vote
0answers
387 views

Using sshfs with Synology NAS results in connection reset

I use sshfs to mount a folder from a synology NAS (DS216+) locally to my Ubuntu machine. The command I use is sshfs -o uid=1234,gid=1234,allow_other,default_permissions mysynology.box.com: /mnt/local....
0
votes
1answer
480 views

PostgreSql port open on NAS Synology DiskStation (DS216j)

How is possible to check if the port 5432 of my NAS synology DiskStation (DS216j) (IP address 192.168.0.16 ) is open? I have (in the control panel of the NAS), enabled the firewall and created a rule ...
1
vote
1answer
7k views

PostgreSQL installation on a Synology DiskStation (DS216j) & pgAdminIII

I have a local postgreSQL database installed on my linux computer. I would like run this database on a NAS Synology DiskStation (DS216j) instead. I followed this guideline until step 2: http://...
1
vote
1answer
180 views

Add & execute package to Defrag a fragmented Ext3 Volume under BusyBox in Synology CS407? How?

Add & execute package to Defrag a fragmented Ext3 Volume under BusyBox in Synology CS407? How? Note: Debunking the myth of Linux Filesystems not getting fragmented. http://www.webupd8.org/2010/...
2
votes
2answers
1k views

How to sync bidirectionaly 2 folders between a Synology Nas and a Debian computer?

I found two starting solutions: use Unison, but I found no way to install this package on a Nas Synology via DSM. use Cloud Station Drive, but Synology only propose packages for Fedora and Ubuntu and ...
3
votes
0answers
385 views

How to install Linux 3.2.40 headers on Synology DS214 with DSM 6.1?

Since I'm tired of cross-compiling and already have a working (cross-compiled) gcc on my Synology DiskStation DS214 with DSM 6.1, I'd like to install the Linux headers of the Linux version running on ...
1
vote
2answers
534 views

Difference between dot and asterisk in find command

I have a Synology NAS, which uses a customised Linux for its OS. Using the find command, I am trying to list the files modified since about 25 days, with some exclusions, within a particular directory....
1
vote
1answer
369 views

Fix corrupt /bin/sh link

I used to access it via SSH but I wanted to connect to it with zsh instead of bash. I made a mistake with my Synology NAS: I deleted the /bin/sh symbolic link to /bin/bash to replace it with /bin/...
3
votes
1answer
874 views

Synology CloudStation Drive client for Ubuntu fails to start

I have a Synology NAS, and wanted to try out the CloudStation Drive client for Linux. Downloaded the current deb file for 64bit Ubuntu and installed it. Everything went fine until here. When I start ...
3
votes
2answers
1k views

How to redirect incoming traffic to a different port, on a Synology NAS (DSM5)

Should be simple using iptables, as for example described in this post by Richard Fergie, but my device, a Synology DS115j (Running DSM 5.0) is not able to do so apparently: iptables -t nat -A ...
5
votes
1answer
440 views

How to bind to a privileged port from a non-root process, on a Synology NAS

I want to run a custom DNS server (NxFilter to be precise) on a Synology DS115j NAS, which of course binds on port 53. This works when running as root, but I want to lock down the process now. This ...
3
votes
1answer
845 views

mv file/folder with blank-spaces in its name doesn't work - LFTP

I have 2 spaces: My Synology NAS. And my FTP. If we assume that some files on my local NAS are also in my FTP repository, I want to move some files on my local NAS AND on my FTP on different folders. ...
1
vote
0answers
23 views

Folder name changed when SCP from iPhone to Synology server

This is the first time I've posted here. I've used the scp command from iPhone ios 8.4 (jailbroken) Mterminal to transfer a folder over to my Synology NAS. scp -P "private port" -r "...
1
vote
1answer
107 views

SSH Cert Auth Synology/Ubuntu

i am tying to connect my Synology to my Webserver. I created all the needed Keyfiles, the rights of .ssh are 700 the rights of auth_keys 600 the connection is not possible, i get this verbose ...
2
votes
1answer
1k views

DAV to AVI conversion failed

I want to convert DAV format video clips from CCTV recorders to AVI using command as below (convert test - 1.dav to test - 1.avi) ffmpeg -y -i test\ -\ 1.dav -vcodec copy -movflags +faststart test\ -\...
1
vote
1answer
179 views

How to recover a raid5 on nas with a failure partition? [closed]

I have a RAID5 on SYnology nas system that has crashed. In first the system prevent to one disk has been removed from the raid with the degraded status. After a shudown to unplug the disk and restart ...
1
vote
1answer
611 views

Optimize find -exec {} with multiple conditions : specific files in a dir and specific subdirectories in this dir

My problem is related to music encoding on my NAS and optimisation of linux find command. I have write a script that is totally functionnal but I am sure this not the best way. To summarize: 1/ ...
1
vote
1answer
3k views

How do I find and list folders with a specific folder name, containing files modified recently?

I have a set of folders that are regularly updated, which I would like to regularly parse through and update to a simple text file list. This list gets used with rsync so I shorten the file names ...
4
votes
1answer
1k views

How to enable bash completion in vi mode on Synology DSM6

When I turned on vi mode in bash by setting set -o vi suddenly the tab completion was broken, and a literal tab was inserted. How can this be fixed?
4
votes
3answers
8k views

use SSHFS to mount Synology NAS

I want to mount my home folder on a Synology NAS. I can SSH to the NAS but when I try sshfs, I get this error 'read: Connection reset by peer'. I used the following command: sshfs john@146.32.56.78:/...
2
votes
0answers
1k views

Connect to WebDAV server with Nautilus 3.18

I want to access to my files stored in my Synology NAS using WebDAV. I enabled the WebDAV server on the NAS and I can establish a working connection in the CLI using cadaver. However, I want to be ...