gilesknap / gphotos-sync

Google Photos and Albums backup with Google Photos Library API
Apache License 2.0
1.97k stars 163 forks source link

Symbolic links not supported - Again yes Again! #327

Closed bamsnow closed 2 years ago

bamsnow commented 2 years ago

I am receiving the following symlinks errors:

11-03 13:xx:xx ERROR Symbolic links not supported 11-03 13:xx:xx ERROR Albums are not going to be synced - requires symlinks

The setup is running in pipenv on 20.04, saving databases and logs locally, with the /storage a local directory mounted to a Synology NAS. I think I have checked every box to allow symlinks on the Synology, but perhaps I am missing something? Is there some hidden linux setting to allow symlinks on a mounted SMB share?

gilesknap commented 2 years ago

can you make a symlink in /storage manually from the command line?

bamsnow commented 2 years ago

No, attempting to create a symoblic link from the command line results in error:

ln: failed to create symbolic link 'symlinkedfile.txt': Operation not supported

I am not sure where the permission issue is here.

gilesknap commented 2 years ago

Is your client windows or linux? Windows needs policy changes to support this. Otherwise I don't know - SMB is supposed to support symlinks.

gilesknap commented 2 years ago

I'm going to close this as not a gphotos issue as such. Happy to continue to discuss here if you wish.

bamsnow commented 2 years ago

The client is Ubuntu 20.04 mounting a shared SMB folder from a Synology NAS.

gilesknap commented 2 years ago

I use the same client but nfs for the file server and that works well.

bamsnow commented 2 years ago

Wow @gilesknap based upon your comment I switched the mount to NFS instead of SMB and now symlinks work perfectly. Thank you for you help!

gilesknap commented 2 years ago

no worries


From: bamsnow @.> Sent: 03 November 2021 16:22 To: gilesknap/gphotos-sync @.> Cc: Knap, Giles (DLSLtd,RAL,LSCI) @.>; Mention @.> Subject: Re: [gilesknap/gphotos-sync] Symbolic links not supported - Again yes Again! (Issue #327)

Wow @gilesknaphttps://github.com/gilesknap based upon your comment I switched the mount to NFS instead of SMB and now symlinks work perfectly. Thank you for you help!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/gilesknap/gphotos-sync/issues/327#issuecomment-959630156, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHLRWYDFXHV7S4QV32P6JDUKFVVZANCNFSM5HI4UMXQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom