2022 Developer Survey is open! Take survey.

Questions tagged [synology]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

Backup NAS to an external drive on a connected computer

I found some options to backup the Synology NAS to an external drive, that is directly connected to the NAS. But is it possible to backup to a computer's external harddisk? For example, userX starts ...
user avatar
0 votes
0 answers
25 views

Command for bulk renaming of a fixed file extension in a folder and its subfolders

Complete Linux noob here. I'm just trying to find a script that changes all *.TIFF in a folder (/volume1/home) and its subfolders into .ARW. I'm running it on my Synology so a one line command that I ...
user avatar
0 votes
0 answers
85 views

Recovery of Synology drives

Following a power cut last week, my Synology DS712+ (dual drive in Synology Hybrid Raid) no longer fires up and just has a blinking blue light. I have tried everything to get it to boot, but it's just ...
user avatar
  • 1
0 votes
3 answers
53 views

Where is the undo button in Linux? If I created an SSH key and copied the public key to a NAS, how would I undo or delete it?

I created an SSH key using ssh-keygen -t rsa. Then I copied the key to the NAS, so I wouldn't have to enter a password using ssh-copy-id. I realized that I did it for the wrong user, so now I need to ...
user avatar
  • 1
2 votes
1 answer
249 views

Unable to print with lp "No such file or directory"

I have a setup that worked fine (on Synology NAS), until a recent update. lp can apparently not print, even though the printer seems to exist okay: $ lpstat -p -d printer HP8210 is idle. enabled ...
user avatar
3 votes
2 answers
281 views

`ls` behaving differently inside and outside of bash script

I am working on a Synology NAS. I have a list of files I want to delete, listed with full path in a file called Myfiles.txt.  The file has circa 3000 lines like this: "/volume2/NBU/Downloads/...
user avatar
2 votes
1 answer
90 views

SSH /osync Escape "@" character in remote file path

I needed to write a script which syncs multiple directories from local to remote server (bi-directionally). This script currently uses osync.sh which uses ssh to perform the synchronization. The exact ...
user avatar
2 votes
1 answer
116 views

Different directory size after rsync and using du [duplicate]

I migrated some special directories (not supported by common migration tools) from one Synology NAS volume (ext4) to another (btrfs). After checking if the synchronization was successful I found that ...
user avatar
  • 123
0 votes
1 answer
277 views

Cannot delete folder on Synology NAS?

I logged in as root and tried to recursively delete the folder /volume2/Name using rm -rf It started and deleted all the files/directories inside this folder Name, but it cannot remove the folder ...
user avatar
  • 111
1 vote
0 answers
32 views

Viewing Pictures via SMB much slower than copying the picutre

I have an NAS in my local network that I connect to via SMB from my laptop. When I try to view a single picture that is stored on my NAS via feh or nomacs, it takes 30s sometimes longer. Copying over ...
user avatar
  • 123
1 vote
0 answers
718 views

Download file via SFTP one line CLI command with password containing special character (no ssh key)

I've got a Synology that needs to download and archive a file from SFTP server. I used to use WGET when FTP protocol was being used, but the file owner changed the protocol to SFTP. wget -m ftp://...
user avatar
0 votes
0 answers
97 views

Run Multiple Commands on Docker Container Startup on Synology NAS

Due to the way the existing folder permissions are structured via ACL I need to assign additional groups to the user inside several Docker containers I'm running. Unfortunately the containers by ...
user avatar
  • 2,087
3 votes
1 answer
153 views

Synology ipkg nano - line numbers are wrong, and sometimes appear on the wrong side of the file

update I submitted a bug report and the conclusion is that the nano version that's available through ipkg is 3 years outdated, and has been incorrectly modified or a dependency is broken. ...
user avatar
  • 131
0 votes
0 answers
20 views

RAID Superblock 0.90 Structure Breakdown

I'm trying to figure out what is located in the following RAID superblock (version 0.90) bytes (created by mdadm): 155 156 3972 3980 3984 Does anyone know of a break down of the superblock version 0....
user avatar
  • 2,087
0 votes
0 answers
20 views

Synology External HDD Sleeping

Maybe someone can help with this question. When I have my WD Elements 10tb hdd attached to my Synology, the USB hdd goes to sleep after about 20 mins. I have USB hibernation turned off in the Synology ...
user avatar
  • 1
0 votes
1 answer
27 views

Rsync archive not copying permissions

I'm running this command to synchronize files on my NAS and internal hard drive (MBP 2018 Big Sur) zsh. I'm running rsync -avi --delete /Volumes/DRIVENAME/ /Volumes/NAS/folder/DRIVENAME/ where /...
user avatar
0 votes
1 answer
606 views

Try to mount SMB share on NAS and get "Operation not supported"

I have several Synology NAS, running DSM 6.2.2-24922 Update 5, which I successfully mount on Ubuntu 18.04 with: sudo mount -t cifs //192.168.x.y/folder_name -o username=user,password=???????,uid=1000,...
user avatar
  • 143
1 vote
0 answers
74 views

Install Steam games on a Synology network disk

Recent Microsoft news have convinced me to switch to Linux. I have a Synology NAS on which I used to install Steam games (and any applications really), it wasn't too complicated to do on Windows, once ...
user avatar
  • 163
1 vote
1 answer
267 views

Recover data from Synology JBOD/Linear RAID disks

I have a two disk synology where I had a JBOD setup (4TB and 3TB). One of the drives started becoming erratic and failed. So I pulled both of them out. I had an automated daily backup task that would ...
user avatar
0 votes
1 answer
193 views

Unable to log into Synology NAS using new SSH key [closed]

I've been using SSH to connect to my Synology for ages. Recently, I've generated a new id_rsa key and copied the pubkey to the Synology's .ssh/authorized_keys. Unfortunately, the new key always ...
user avatar
  • 205
0 votes
2 answers
57 views

Rename files in any deep subfolder like the parent folder and move after to a central folder

I have a problem where I need to rename just certain files after the parent folder and afterwards move these to a central folder. Is there a way to do this? I would like to run this on a Synology NAS. ...
user avatar
1 vote
2 answers
180 views

Find command in linux and delete, but test with print, give no results

I'm trying to find some files on my NAS and then delete the files/folders that's more then 5 days old. I can use the find command as: find /volume1/docker/UV/videos -type f -print And then i get all ...
user avatar
2 votes
0 answers
122 views

How secure if automount of ecryptsfs in Synology NAS

I'm using automount for my ecryptfs folders in the Synology NAS. I'm wondering where the Key Manager stores the keys and how easy it is to read my encrypted folders in case of theft of the NAS. I ...
user avatar
0 votes
2 answers
153 views

Debian on Synology NAS keeps changing timezone

I have a Debian setup running on Synology NAS Virtual Machine Manager and it keeps changing the timezone. At the top of the screenshot above you can see that the timezone was GMT -4. then, at the ...
user avatar
0 votes
1 answer
162 views

descript synology folder from backup

Last week my Synology diskstation had a crash of its volume. I was able to recover all files from a backup and my VMs by offloading the VDMK files, but one of the directories I only have in encrypted ...
user avatar
  • 111
1 vote
0 answers
145 views

Checksum comparison file too large

I am trying to run a checksum comparison task on a large folder that I rsync from one Synology server to another. What I am trying to get is an output that shows me any differences between the ...
user avatar
  • 11
0 votes
1 answer
301 views

Updating DS918+ to DSM 6.2.3-25426 seems to have broken network connection

I updated to DSM 6.2.3-25426 last night and since then my DS918+ drops off the network after 30-60mins. Sometimes I can ping it, sometimes not. WebUI goes down, cannot even SSH. Tried via LAN1 (...
user avatar
  • 101
0 votes
1 answer
40 views

Tracing SSH/login process and properly isolating filesystem from unauthorized access

For some context, I am dealing with a Synology RackStation unit running a near-fully updated version of DSM. The specifics of that are nice to know if you're familiar with Synology but not necessary, ...
user avatar
  • 1,330
4 votes
0 answers
2k views

How can I install visudo on Synology DSM?

I want to edit the sudoers file on my Synology Disk Station (specifically, to enabled password-less shutdown), however my version of Synology DSM does not have visudo installed. How can I install it ...
user avatar
  • 141
0 votes
2 answers
55 views

How to verify that files in A folder are also in B folder

I use my synology DS1515+ and DSM 6.2.2. First of all, please refer to the picture as below; First, I download some video files. Examples of filenames are as above. And second step is that copying ...
user avatar
  • 23
1 vote
2 answers
292 views

Is it possible to make a loop that creates a variable out of each directory name within a directory when the directories are not always the same?

I am working on a script to run on my Synology DS 1019+ that takes all the subfolders within a certain directory, creates the subfolders in another directory, then creates hard links of all the .mkv ...
user avatar
  • 13
0 votes
2 answers
92 views

How to keep only one largest size file and delete all other files

There are 3 or 4 files in same directory as below; AAA.360p.mp4 AAA.450p.mp4 AAA.720p.mp4 AAA.1080p.mp4 Filenames of those files are almost the same except expression of frame resolution. (AAA is ...
user avatar
  • 23
0 votes
1 answer
127 views

Synology - `du -sh .` takes forever on the NAS but no time when mounted on Mac

My NAS has seemed slow and I'm not sure what tests to run to prove this. But this example I'm about to describe has happened and something has really gone bad. I'm hoping for answers for what I need ...
user avatar
  • 101
0 votes
1 answer
107 views

zipcmp in Synology NAS?

I want to compare a large zipped file in my Synology NAS to a copy of it I made that is on an external hard drive. I have heard zipcmp is good for this. However, if I am downloading zipcmp or ...
user avatar
  • 11
0 votes
2 answers
1k views

Which OS can I install on my old Synology DS107?

I have an old Synology DS107 (whose CPU is a Freescale PowerQUICC II MPC8241 PPC SATA, 64-bit) that I would like to recycle. I cannot find a list of the OS I can install on it. I would like to have a ...
user avatar
  • 101
2 votes
1 answer
1k views

Non-root SSH key authentication problems with DSM 6

With Synology DSM 6 it seems that SSH requires users to be members of the admin group. However, even in this case there seem to be problems with file/directory permissions that prevent key-based ...
user avatar
  • 121
0 votes
1 answer
2k views

I'm trying to install apt-get onto an ARM64 using DPKG

I have a Synology NAS - and I'm attempting to install docker onto it. To do that I need apt-get as my package manager, and nothing is panning out. It seems like because I have ARM the methods I've ...
user avatar
1 vote
1 answer
25 views

Help me understand the recovered file system

So I had a Synology machine that went bottoms up (motherboard). I built a debian system myself and installed the hard disks today. After some twiddling with mdadm I was able to mount the both hard ...
user avatar
  • 111
0 votes
0 answers
170 views

rsync folder size discrepancy

I'm running rsync between two Synology NAS machines. However, after running, there is a huge size discrepancy between the source and destination folders - as in, the source folder reads as 6.64 TB/...
user avatar
  • 11
1 vote
1 answer
516 views

Shrink JBOD/linear Raid on synology

I had 2x6TB drive and a JBOD volume because the data isn't really critical and couldn't afford to lose half the space for a raid 1. Now (a couple years later) I bought 2x8TB new drives for my 4 -bay ...
user avatar
  • 11
2 votes
0 answers
109 views

Figure out reason for wakeup

So I have this Synology NAS (DS213+) at home, which apparently uses a rather limited custom Linux (2.6.32.12). For quite some time now I noticed it starting up frequently, even though I'm not ...
user avatar
  • 121
0 votes
1 answer
729 views

Docker IP forwarding for bridged container with Apache

I am using LAMP image for my DOCKER container and in my apache access.log all of the requests are from same ip address: 172.17.0.1. This is bridge ip. My question is: is there a possibility to forward ...
user avatar
0 votes
0 answers
29 views

Is it posible to automatic change password for a synology user everyday?

So my question is if its possible to change a password for a user/ftp user every day and save it or email it out. We have an FTP public user that we want to have dynamic password change every day so ...
user avatar
0 votes
1 answer
95 views

.sh Script to find and delete folders of a variable name

I have a very unique issue whereby when I have certain Macs accessing our Synology NAS the Mac (Via Office 2016) create temporary files like in the screenshot. These files are related to the Office ...
user avatar
3 votes
1 answer
203 views

Host unreacheable from laptop but reacheable from desktop

I have a Synology NAS at home (let's call it ananas), it is attached to my router via ethernet. I also have a desktop (let's call it Aero), it is connected to the same router via wifi. I configured in ...
user avatar
  • 167
0 votes
0 answers
95 views

GitLab Container Not Accepting WAN Connection

Been dealing with this issue for a couple hours now and hit a bit of a standstill as far as my experience and google abilities. Got the most recent version of gitlab installed, after having a similar ...
user avatar
1 vote
1 answer
1k views

How to access Synology nas available hard disk space through ssh?

I recently bought a Synology nas server and installed a 4TB HDD. Now when accessing the nas through ssh, I checked how much space I have on my root account, and I found out it was only 1.5 GB. But ...
user avatar
  • 13
0 votes
1 answer
284 views

Synology NAS insmod unknown symbol

I'm trying to follow this guide to setup NAT on my Synology NAS. It worked great for me! I had everything working perfectly. But when I came back the next morning, the NAS had done a system update [...
user avatar
  • 101
7 votes
3 answers
2k views

Command to Search for Filenames Exceeding 143 Characters?

So some background first: I am attempting to convert a non-encrypted shared folder into an encrypted one on my Synology NAS and am seeing this error: So I would like to locate the offending files so ...
user avatar
  • 173
4 votes
1 answer
588 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 ...
user avatar
  • 51