Configuration NAS Wolverine: Difference between revisions

From miki
Jump to navigation Jump to search
Line 39: Line 39:
;Task scheduler
;Task scheduler
* Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.
* Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.
* Schedule 'CloudStation On' task, everyday, 01:45am.
* Schedule 'CloudStation Off' task, everyday, 03:00am.
:* '''{{red|NOTE}}''': Because of this, we '''CANNOT DELETE''' files on Wolverine. When deleting, the files will be restored at next resync. This is somewhat a nice effect. To have permanent deletion, first START the CloudStation service in the '''Package Center'''.


== Troubleshooting ==
== Troubleshooting ==

Revision as of 16:22, 5 April 2020

Reference information

  • Device: Synology NAS DS118 (one bay).
  • Name: Wolverine.
  • Web interface: http://wolverine:5000, then log in with admin account admin.
  • SSH: ssh admin@wolverine, then sudo -i to get root access.
Or use any other member of the administrator group.
  • Static address 192.168.1.98.
  • Specification:
  • Synology DS118
  • Seagate IronWolf 4 TB
Hard drive 3.5" 4 To 5900 RPM 64 Mo Serial ATA 6 Gb/s for NAS (bulk)

Installation

Issue: Must use chromium (requires java)
  • Enable QuickConnect.
Must visit http://QuickConnect.to/immie-wolverine
  • Recommended packages: Moments, Video Station, Media Server, Audio Station, Hyper Backup, Drive, Download Station.
  • Don't share device location for find.synology.com.

From now on, we must use to connect to the NAS.

File Service
  • SMB, change workgroup name from WORKGROUP to HELL.
  • Disable AFP.
Miscellaneous
  • Set user only permission in /homes:
  • Login with ssh using admin account.
  • Become root sudo -i
  • Set acccess rights with chmod 700 /volume1/homes/admin /volume1/homes/baddreams /volume1/homes/borg
Question: Should we instead enable option Hide sub-folders and files from users without permissions?
  • Remove #recycle folder from share /volume1/borg.
  • Otherwise borg init complains there is already something there.
Network
  • Use static address 192.168.1.98.
Task scheduler
  • Schedule 'Recycle Bin' task, every wednesday, delete 28-day old or older files.
  • Schedule 'CloudStation On' task, everyday, 01:45am.
  • Schedule 'CloudStation Off' task, everyday, 03:00am.
  • NOTE: Because of this, we CANNOT DELETE files on Wolverine. When deleting, the files will be restored at next resync. This is somewhat a nice effect. To have permanent deletion, first START the CloudStation service in the Package Center.

Troubleshooting

Login failure and "because the encryption key is invalid..."

Symptoms:

  • Login fails.
  • Message Because the encryption key is invalid the password has been transmitted in the clear

Cause:

Solution: