You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Sierra / Issue with Synology network drives

Hi,


since Sierra is out I discovered some issues on Synology network drives. If I want to edit some JPG's on drive e.g. rotate them or what ever Finder will immediately freeze and con't not be restarted ! On Synology side always the latest relase is installed - On Yosemite / El Capitan it works fine !


Did somebody got the same issue ?

Mac Pro, macOS Sierra (10.12)

Posted on Sep 20, 2016 8:50 PM

Reply
48 replies

Oct 7, 2016 4:17 AM in response to spazio-keeper

First:

Apple contacted me regarding my question. The iWork team asked me to share system diagnostics and how to reproduce the issue. Hopefully this might help.


Second:

I found a workaround which helped me out of this situation.


Long story short:

Switch to SMB. It is the new standard of macOS.


Long story long:

I had trouble with just launching SMB because a lot of directories and files were named with special characters like a slash. And I had a lot of folders with a space at the end or a period at the end of the name. This caused SMB to show these files and directories with so called mangled names. (There are workarounds to disable name mangling, but this caused my affected folders to be empty.) The files were named via AFP, which didn't cause any issues at all so far.

Of course it is impossible to seek and change the Terrabytes of files and directories manually.

I reseachred like 3 entire days, tested a lot and finally learned a lot:

I created a bash script which lists all the files and directories with bad names. I ran it via SSH. The list is formatted and saved to a .csv file which allowed me as a human to catch the paths and names easily to get an overview of the situation.

After that I changed the script, that it actually created another bash script which sequentially replaced the characters in the file and directory names with underscores and added a random number at the end to prevent overwriting data.

I created a .csv file again to check whether my plan worked – with an empty result.


I now have AFP and SMB running.

AFP is used for Time Machine backups, there is one single share on the server for time machine backups only. Besides the admin accounts, only one time machine user has access to that share. The login data for that time machine user is saved on all Macs keychains. This is working perfectly.

All other network shares are accessed via SMB, the macOS default. I can just click the server in the Finder's sidebar. Login data are stored in keychain as well, but obviously only for smb://server.local.

Make sure to delete every login details related to the server from keychain to ensure that Finder is only connecting via SMB.


That's it. Numbers, Word, TextEdit, Preview and the others are working perfectly again via SMB without the problem of crashing Finder while the process of saving a file.

The irony:

Connected via SMB, files and folders named with the same special characters which drove me crazy days ago, are not shown mangled. No Problems at all now. (I guess its because smb uses another character coding ..., what ever)



I hope this helped anyone. If you are facing the same problems just ask me. I can describe the procedure more detailed.

Sep 29, 2016 2:31 PM in response to mindphunk

I also had the issue of the connection to my Synology NAS constantly being dropped after the update to Sierra. Finally, I managed to connect via SMB; however, I was unable to access my Photos library (on the NAS), receiving the error "you do not have the permissions to access this file," or something to that effect. Switching to CIFS finally fixed that problem, but now when attempting to access the Photos library via iTunea to sync to my iPhone, I get "Photos library is not yet available."


This is driving me crazy. I hope there's a fix, either from Apple and/or from Synology, ASAP!


Cheers,


Chris

Sep 30, 2016 7:51 AM in response to mindphunk

Cheers mate - this fixed the issue for me.


My problem was that I couldn't save stuff to my Synology NAS anymore (the corresponding app would crash and then the finder as well).


I removed all the NAS entries from the finder, from the user profile settings, and from the keychain, then re-connected everything using SMB - and voila, it worked like a charm. 🙂

Sierra / Issue with Synology network drives

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.