I have my Roon Server running on a Synology DS220+ with 6GB of RAM. I know this is not recommended but I have not experienced any issues so far. I have around 30,000 tracks and do not use any DSP.
I am trying to add a backup drive on my old QNAP TS-509. I have read all the instructions to create the share drive. I can mount this share on my Mac using smb://sharename/directory using a user created just for this. I have also enabled SMB3 on my TS-509 using the smb3enable command and have confirmed it is running using the smb2status command.
I keep getting the unknown error each time I try with either with IP address or device name. I also tried different usernames, passwords, including one with full admin rights.
This is what I see in the log file:
11/30 10:22:31 Debug: [easyhttp] [91665] POST to https://discovery.roonlabs.net/1/query returned after 961 ms, status code: 200
11/30 10:22:39 Debug: [roon/cifs] tryremount, path: \\iguoh-nas01\RoonBackup, username: roon, password 8 chars
11/30 10:22:39 Debug: [roon/cifs] mounting \\iguoh-nas01\RoonBackup
11/30 10:22:39 Debug: [roon/cifs] alreadymounted? //iguoh-nas01/RoonBackup => false
11/30 10:22:39 Debug: [roon/cifs] alreadymounted? //iguoh-nas01/RoonBackup => false
11/30 10:22:39 Debug: [roon/cifs] cleaning mount points: /mnt/RoonStorage_*
11/30 10:22:39 Trace: [roon/cifs] Got exception trying to create mount directory, retrying with sudo mkdir. Exception message: System.UnauthorizedAccessException: Access to the path '/mnt/RoonStorage_7593effca72b60513ae8ed4e7f4d9ba80e915782' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.FileSystem.CreateDirectory(String fullPath)
at System.IO.Directory.CreateDirectory(String path)
at Roon.CIFS.CIFSUtil._CreateDirectory(String s)
11/30 10:22:39 Debug: [roon/cifs] domount: PASSWD="******" sudo -nE /sbin/mount.cifs "//iguoh-nas01/RoonBackup" "/mnt/RoonStorage_7593effca72b60513ae8ed4e7f4d9ba80e915782" -o guest,nounix,iocharset=utf8,user="roon",domain="WORKGROUP",vers=2.1,uid=177843,gid=177843
11/30 10:22:39 Debug: [roon/cifs] returned 1: sudo: a password is required
11/30 10:22:39 Debug: [roon/cifs] PASSWD="******" sudo -nE /sbin/mount.cifs "//iguoh-nas01/RoonBackup" "/mnt/RoonStorage_7593effca72b60513ae8ed4e7f4d9ba80e915782" -o guest,nounix,iocharset=utf8,user="roon",domain="WORKGROUP",vers=2.1,uid=177843,gid=177843 failed: (1): sudo: a password is required
11/30 10:22:39 Debug: [roon/cifs] domount: PASSWD="******" sudo -nE /sbin/mount.cifs "//iguoh-nas01/RoonBackup" "/mnt/RoonStorage_7593effca72b60513ae8ed4e7f4d9ba80e915782" -o guest,nounix,iocharset=utf8,user="roon",domain="WORKGROUP",vers=2.0,uid=177843,gid=177843
11/30 10:22:39 Debug: [roon/cifs] returned 1: sudo: a password is required
11/30 10:22:39 Debug: [roon/cifs] PASSWD="******" sudo -nE /sbin/mount.cifs "//iguoh-nas01/RoonBackup" "/mnt/RoonStorage_7593effca72b60513ae8ed4e7f4d9ba80e915782" -o guest,nounix,iocharset=utf8,user="roon",domain="WORKGROUP",vers=2.0,uid=177843,gid=177843 failed: (1): sudo: a password is required
11/30 10:22:39 Debug: [roon/cifs] domount: PASSWD="******" sudo -nE /sbin/mount.cifs "//iguoh-nas01/RoonBackup" "/mnt/RoonStorage_7593effca72b60513ae8ed4e7f4d9ba80e915782" -o guest,nounix,iocharset=utf8,user="roon",domain="WORKGROUP",vers=1.0,uid=177843,gid=177843
11/30 10:22:39 Debug: [roon/cifs] returned 1: sudo: a password is required
11/30 10:22:39 Debug: [roon/cifs] PASSWD="******" sudo -nE /sbin/mount.cifs "//iguoh-nas01/RoonBackup" "/mnt/RoonStorage_7593effca72b60513ae8ed4e7f4d9ba80e915782" -o guest,nounix,iocharset=utf8,user="roon",domain="WORKGROUP",vers=1.0,uid=177843,gid=177843 failed: (1): sudo: a password is required
11/30 10:22:39 Debug: [roon/cifs] Mount deleting: /mnt/RoonStorage_7593effca72b60513ae8ed4e7f4d9ba80e915782
11/30 10:22:39 Warn: [roon/cifs] failed to connect to CIFS storage: sudo: a password is required
I do not quite understand the part on unauthorised access as well as the part on “sudo: a password is required”. The user I created already has a password and I included it in the Roon app when creating the backup drive.
I have been trying to figure this out for days doing Google searches and all and just could not find a resolution. Has anyone encountered this and found a solution? Thank you very much.