Synology

Índex

General

  • Synology
    • Synology Account
      • Devices
        • QuickConnect
          • https://quickconnect.to/<my_quick_connect_id>
          • s'estableix des de:
            • DSM 4
              • Control Panel -> Network Services -> QuickConnect
              • però no apareixerà a la pàgina de Synology Account
            • DSM 7
              • Control Panel -> Connectivity -> External Access -> QuickConnect
          • usos:
            • accés a l'administració des de fora (no cal obrir ports a l'encaminador)
            • ...
        • Synology DDNS
          • <my_synology_ddns_hostname>.synology.me
          • adreça dinàmica: actualitza l'adreça numèrica / dynamic address
          • s'estableix des de:
            • DSM 4
              • Control Panel -> Network Services ->DDNS
            • DSM 7
              • Control Panel -> Connectivity -> External Access ->DDNS
          • usos:
            • connexió des de fora de casa (cal obrir ports a l'encaminador)
            • ...
  • Cerca / Search
    • els noms acabats en .local utilitzen zeroconf / bonjour
    • http://find.synology.com/
      • si troba el NAS, s'hi connectarà fent servir l'adreça ip numèrica
      • NOTA: si heu canviat el nom del servidor (Control Panel -> Network -> General -> Server Name), aquest procediment potser no trobarà el NAS. Caldrà posar directament:
        • http://<my_server_name>.local:5000/
    • Default server name / hostname:
      • DSM 4: DiskStation / diskstation
      • DSM 6/7: SynologyNAS / synologynas
    • Synology Assistant


  • NAS client
    Application Description DSM 4 DSM 6 DSM 7 dir client PC client web mobile app TV app
    Administration





    Files
    (Shared Folders)
    Upload / download between devices (PC...) and NAS
    File Station


    Download Station Download from Internet to NAS






    Backup and sync Sync folders and files between:
    • NAS - PC
    • NAS - NAS
    • Network Backup (server)
    • Backup and Restore (client)
    • Cloud Station Server (server)
    • Cloud Station ShareSync (NAS client)
    Synology Drive whitepaper
    • Synology Drive Server (server) (help)
    • Synology Drive ShareSync (NAS client)

    • Synology Drive Client


    Backup


    • Hyper Backup (server)
    • Hyper Backup (server)





    Notes

    Note Station




    Photo Manage, view pictures
    Photo Station Synology Photos Personal space: /homes/.../Photo/
    Shared space: /volume1/photo/





    Synology Moments



    Audio Manage, view audios
    Audio Station




    Video Manage, view videos
    Video Station


    x
    Surveillance Surveillance cameras
    Surveillance Station




  • DSM
    • DSM 4
    • DSM 7.0
    • Release Notes for DS220+
    • Help
      • DSM
      • Package
        • Photo
          • ...

            DSM <7 DSM 7
            access Photo Station Synology Photos
            album / folder Album
            • folder name (dir in filesystem, cannot be modified)
            • album name (label, can be modified)
            Folder (dir in filesystem)
            album Smart Album (tag-like) Album (tag-like)

            Category
            shared space
            • web access:
              • http://disksation.local/photo/
            • storage:
              • /var/services/photo/
            • web access:
              • http://synologynas.local/photo/
                • Photos / Shared space
            • storage:
              • /var/services/photo/
            personal space
            • web access:
              • http://diskstation.local/~username/photo/
            • storage:
              • /var/services/homes/
                • <username>/
                  • photo/
            • web access:
              • http://synologynas.local/photo/
                • Photos / Personal space
            • storage:
              • /var/services/homes/
                • <username>/
                  • Photos/
                    • MobileBackup/
                      • <device_name>/
                    • PhotoLibrary/
                      • <year>/
                        • <month>/
        • Synology Photos (DSM 7)
        • Photo Station (DSM <7)
      • Utility
      • Mobile
  • Aplicacions
  • Photo Station
    • http://diskstation.home/photo
    • http://diskstation.local/photo
    • http://<server_ip_address>/photo/
    • Users
      • admin user can change Settings / General
        • Account system: DSM accounts (accounts from DSM will be used, instead of specific accounts for Photo Station)
    • Public / Private
      • Settings / Photos / Access Permission
    • Personal Photo Station
      1. from DSM dashboard
        • top right user icon: Options / Photo Station: Enable Personal Photo Station
      2. from Photo Station
        • Settings / General / Personal Photo Station
    • file structure
      • Personal Space: /volume1/homes/<username>/Photo/
        • PhotoLibrary/
          • <year>/<month>/
        • <my_folder_1>
      • Shared Space: /volume1/photo/ (owner: drwxr-xr-x nobody.nobody (DSM 4), drwxrwxrwx+ SynologyPhotos.SynologyPhotos (DSM 7))
        • album_1/ (owner: drwxrwxrwx nobody.nobody (DSM 4)) folder_1/ (owner: ... username.users (DSM 7))
          • im_1.jpeg
          • im_2.jpeg
          • @eaDir/
            • im_1.jpeg/
              • SYNOPHOTO:THUMB_B.jpg
              • SYNOPHOTO:THUMB_L.jpg
              • SYNOPHOTO:THUMB_M.jpg
              • SYNOPHOTO:THUMB_S.jpg
              • SYNOPHOTO:THUMB_XL.jpg
            • im_2.jpeg/
              • SYNOPHOTO:THUMB_B.jpg
              • SYNOPHOTO:THUMB_L.jpg
              • SYNOPHOTO:THUMB_M.jpg
              • SYNOPHOTO:THUMB_S.jpg
              • SYNOPHOTO:THUMB_XL.jpg
        • album_2/
        • @eaDir/
          • album_1/
            • SYNOPHOTO_ALBUM.sort
          • album_2/
            • SYNOPHOTO_ALBUM.sort
    • logs
      • /var/log/cstn/client.log
    • Problemes / Problems
      • When creating an album: "The system failed to perform the requested operation, there is an unknown error"
        • /var/log/cstn/client.log
          • [WARNING] worker.cpp(925): UploadLocal: '/volume1/photo/@eaDir/album_toto/SYNOPHOTO_ALBUM.sort' cannot be uploaded (blocked: -4)
        • ls -l album_toto
          • -rw-rw-rw-    1 nobody   nobody          21 Oct 12 18:07 SYNOPHOTO_ALBUM.sort
        • newly created album does not appear in the web page
    • thumbnail script
  • Synology wiki
  • Mertymade Synology Packages
  • Android apps
  • Usuaris / Users
  • ssh access
    • Synology
      • Control Panel -> Terminal -> Enable SSH service
    • client:
      • ssh root@diskstation.local
      • ssh myuser@diskstation.local
    • ssh for users other than admin (DSM 4):
      • Stage 1 of rsync work
      • ssh root@diskstation.local (or use Config File Editor)
        • edit /etc/ssh/sshd_config (don't put this line after a Macth User ...):
          • AllowUsers = root user1
        • edit /etc/passwd:
          1. for user1, change
          • /sbin/nologin
          • /bin/sh
        • # /usr/syno/sbin/sshd
    • ssh without password
  • ordres / commands
    • Synology Toolset


      • /bin
        • ...
        /sbin
        • blockdev
        • dhcp6c
        • dmsetup
        • e2fsck
        • fdisck ...
        /usr/bin
        • a2p ...
        /usr/sbin
        • statd
        • telnetd
        /usr/syno/bin
        • 7z
        • convert-thumb -> convert
        • SYNOClearTdb
        • syno_disck_ctl
        • syno_hdd_util
        • syno_poweroff_task
        • synoactltool
        • synoauth
        • synoautoblock
        • synoblog_backup
        /usr/syno/sbin
        • syno ...
        • synoservice
        • ...
    • Syno command documentation
    • services
      • synoservice --help
      • synoservice --list
      • Exemples / Examples
        • synoservice --start pgsl
        • synoservice --start synoindexd
    • base de dades / database
  • logs
    • ssh root@diskstation.local
    • Photo Station
  • Shared Folders
    • default shared folders
      • /volume1/
        • homes/
        • NetBackup/
        • photo/
    • sync
      • shared folder(s) can be synced using "Shared Folder Sync" to a destination server
  • Cloud Station
    • NOTE: replaced by Synology Drive Server
    • Install
      • DSM 4
        • Package Center
    • Components
      • Cloud Station Drive
      • Cloud Station Backup
      • Cloud Station ShareSync
      • DS Cloud
  • Synology Drive Server
    • Install
      • DSM 4
        • ?
      • DSM 7
        • Package Center
          • latest version: 3.0.2
    • Components
  • Backup and sync
  • rsync from PC
    • DSM 7
      • setup rsync for users
        • Control Panel -> File Services -> rsync
          • Enable rsync account
          • Edit rsync Account
            • add your user (password can be different from usual one)
    • DSM 4
      • Backup Linux desktop data using rsync
      • setup rsync for users others than admin, root, rsync
        1. ssh for users other than admin
        2. Control Panel -> Network backup -> Enable network backup service -> Use customised rsync configuration 
          • only enables modules defined in /etc/rsyncd.conf (e.g. NetBackup)
        3. ssh root@diskstation.local
          1. vi /etc/rsyncd.conf
            • pid file = /var/run/rsyncd.pid
              lock file = /var/run/rsync.lock
              use chroot = no

              [NetBackup]
              path = /var/services/NetBackup
              comment = Network Backup Share
              uid = root
              gid = root
              read only = no
              list = yes
              charset = utf-8
              auth users = root,rsync,user1
              secrets file = /etc/rsyncd.secrets
          2. /etc/rsyncd.secrets
      • list of available modules:
        • rsync admin@diskstation.local::
      • how to rsync over ssh as an unprivileged user
      • Synology: enable ssh user login other than root
      • Securing SSH
      • user
        rsync
        additional steps on Synology (as root)


        create user
        /etc/ssh/sshd_config
        /etc/passwd
        admin
        rsync -avvr ... admin@diskstation.local::homes/admin/
        rsync -avvr ... admin@diskstation.local::photo
        -
        -
        -
        rsync
        rsync -avvr ... rsync@diskstation.local::homes/rsync/
        x
        -
        -
        user1
        rsync -avvr ... user1@diskstation.local:/volume1/homes/user1/ x
        AllowUsers = ... user1 /bin/sh
    • ...
  • NFS
    • from NAS:
      • DSM 4
        • Control Panel -> Shared Folder -> (create or select item) -> Privileges -> NFS Privileges:
          • Hostname or IP: 192.168.0.0/16
          • Privilege: Read / Write
        • ssh root@diskstation.local
          • exportfs
    • from client:
      • DSM 4
        • mount -t nfs -o vers=3 192.168.0.50:/volume1/photo /mnt/photo
        • mount -t nfs 192.168.0.50:/volume1/photo /mnt/photo
        • mount -t nfs 192.168.0.50:/volume1/music /mnt/music
        • mount -t nfs 192.168.0.50:/volume1/homes /mnt/homes
  • UPnP / DLNA
  • Packages

http://www.francescpinyol.cat/synology.html
Primera versió: / First version: 29.VII.2021
Darrera modificació: 8 de gener de 2022 / Last update: 8th January 2022

Valid HTML 4.01!

Cap a casa / Back home.