Apple Event: May 7th at 7 am PT

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

Finder search results are broken aliases

When I use finder search in High Sierra to search files on remote volumes ( I have tried AFP, SMB and NFS), the search results seem to be broken aliases.

When I double click on one of the results I get a popup with the error "The alias “Filename.txt” can’t be opened because the original item can’t be found.".


When I select "Fix Alias" button and select the original file I get an error popup :The operation can’t be completed.

An unexpected error occurred (error code -8060).


This used to work fine on Sierra.


Paul

iMac, iOS 11

Posted on Oct 6, 2017 5:41 AM

Reply
75 replies

Dec 12, 2017 4:19 PM in response to paulz42

I have a Mac that is having the same issue with seeing search results from a brand new Windows server. The OS. on the iMac is. 10.13.1.


Not updating to 10.13.2 because another client is having issues moving folders on the server via SMB with 10.13.2. Finder crashes and has to be hard restarted to get the computer to work again.


Let me know if anyone finds a solution.

Jan 23, 2018 9:35 AM in response to paulz42

Ugh :-( Just discovered I have the same problem after moving all my documents and files to a Synology NAS, connected via SMB. Will try if the suggested tool works. Don't know why Apple doesn't repair this, it's asked around all over the internet. Also I notice that SMB is way slower then AFP; both are slower then using SMB from Windows or Linux machines. Oh well, I guess I have to learn to live with it... :-/

Jan 23, 2018 3:00 PM in response to paulz42

I had the exact same problem and I could fix it by erasing and rebuilding the spotlight index for all network shares affected.


What I did was:


1 - Rebooted my mac.

2 - After a clean boot, I connected to one of my network shares.

3 - Launched Terminal and checked the spotlight indexing status for the share using "mdutil -s /Volumes/networksharename".

If it's on, proceed to step 4.

If it's off, you have to enable it using "mdutil -i on /Volumes/networksharename". Once you do so, it'll start indexing, but I recommend performing the next step anyway.

4 - Still in Terminal, executed "mdutil -E /Volumes/networksharename" to erase and rebuild the spotlight index for that share.

5 - Launched Activity Monitor to check the indexing processes (mds, mdworker, etc). Once they were done, the problem was solved.


Hope it helps 😉

Feb 7, 2018 5:31 AM in response to paulz42

Hi,


I have High Sierra and a Synology connected via iSCSI using globalSAN. The LUN is formatted NTFS using Paragon NTFS for Mac. When I search even for a file that is displaying in finder (I'm in that folder) the resulting search is just a broken alias. The error message is as everyone else. Trying to repair the alias fails with an error -8060 code.


I think it is an error with searching in an NTFS file system and not an SMB issue. I'm using an iSCSI drive so it is not presented as SMB. I think iSCSI has it's own networking connection, right?


Please help the community and fix this bug.

Feb 7, 2018 1:07 PM in response to felpzrj

Hi,


I have High Sierra and a Synology connected via iSCSI using globalSAN. The LUN is formatted NTFS using Paragon NTFS for Mac. When I search even for a file that is displaying in finder (I'm in that folder) the resulting search is just a broken alias. The error message is as everyone else. Trying to repair the alias fails with an error -8060 code.


I think it is an error with searching in an NTFS file system and not an SMB issue. I'm using an iSCSI drive so it is not presented as SMB. I think iSCSI has it's own networking connectionPlease help the community and fix this bug.

Feb 9, 2018 3:02 AM in response to felpzrj

This is working for me. I had to use:

"sudo mdutil -E /Volumes/sharedvolumename", instead of "mdutil -E /Volumes/sharedvolumename", but this has now indexed the shared drive.


Also, the index is updating itself for files created since I performed the original indexing command files - the Search Results are including these new files. This indicates to me that indexing is now ongoing.


Hope this helps anyone else experiencing this issue.


All the best.

Feb 9, 2018 3:37 AM in response to JakemeisterGeneral

I am not a IT guy just a user, I have this issue myself: when you say run this: "sudo mdutil -E /Volumes/sharedvolumename" is that the thing to run in terminal or is there a name that I replace "sharedvolumename" with, because I get "

Michaels-MBP:~ EwingWorks$ "sudo mdutil -E /Volumes/sharedvolumename"

-bash: sudo mdutil -E /Volumes/sharedvolumename: No such file or directory

Michaels-MBP:~ EwingWorks$


so I ahve not idea waht this means or if I am doing it right.

Feb 9, 2018 4:16 AM in response to EWINGWORKS

Sorry I am going to ask one more question of you if it is okay: did it and this is result:

/Volumes/BIGDADDY:

2018-02-09 07:05:43.519 mdutil[37936:1089482] mdutil disabling Spotlight: /Volumes/BIGDADDY -> kMDConfigSearchLevelFSSearchOnly

Indexing disabled.

Michaels-MBP:~ EwingWorks$


Is says indexing disabled, will it dtart itself or do i need to do something to make it index again?

Feb 9, 2018 4:30 AM in response to EWINGWORKS

I followed these steps (but added in "sudo" before mdutil) - from further up the discussion thread:


1 - Rebooted my mac.

2 - After a clean boot, I connected to one of my network shares.

3 - Launched Terminal and checked the spotlight indexing status for the share using "mdutil -s /Volumes/networksharename".

If it's on, proceed to step 4.

If it's off, you have to enable it using "mdutil -i on /Volumes/networksharename". Once you do so, it'll start indexing, but I recommend performing the next step anyway.

4 - Still in Terminal, executed "mdutil -E /Volumes/networksharename" to erase and rebuild the spotlight index for that share.

5 - Launched Activity Monitor to check the indexing processes (mds, mdworker, etc). Once they were done, the problem was solved.


I'm no expert, so if this doesn't work for you, I don't know what else to suggest.


Cheers.

Feb 9, 2018 5:56 AM in response to EWINGWORKS

No, if you look at the full instructions as given by felpzrj, the member that originally found this solution, you will realize there are a few variations on the mdutil command given. The one with the -E is to erase the index and is recommend to have a "clean slate" and avoid some possible corruption. It is harmless as you are going to create a new, fresh index executing the following step

"mdutil -i on /Volumes/networksharename" without the quotation marks and replacing networksharename with the actual name of your share.


This command turns indexing on and if no index exist, it creates and starts a new one.


The original member that found the solution is felpzrj and he recommended (not necessary, just in case you are a bit OCD) that as a final step #5, and I quote, "


5 - Launched Activity Monitor to check the indexing processes (mds, mdworker, etc). Once they were done, the problem was solved."

Finder search results are broken aliases

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