I forget how to fix this iTunes issue

MotionMan

Lifer
Jan 11, 2006
17,124
12
81
I keep my iTunes stuff on an external drive. That drive started to have some issues, so I cloned it to a new drive. Now I have the dreaded "exclamation mark" on many songs.

I forget how do I fix this. How do I get iTunes to properly read the new external drive for all the songs? Anyone?

MotionMan
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
Would it be too much trouble just reimporting the songs?

Man! You run into a lot of problems :p
 

MotionMan

Lifer
Jan 11, 2006
17,124
12
81
Would it be too much trouble just reimporting the songs?

Man! You run into a lot of problems :p

Yeah, one bad HDD, and all hell breaks loose.

There are too many to import easily. I rather do it some other way, if possible.

MotionMan
 

Kadarin

Lifer
Nov 23, 2001
44,296
16
81
Shot in the dark here, but.. unix file permissions issue? Drop to terminal and "chmod -r 777 <directory>" from the root dir where the songs are. If that doesn't do it, try "chown -r <directory>", to take ownership. You may have to use sudo to do this.
 

MotionMan

Lifer
Jan 11, 2006
17,124
12
81
Shot in the dark here, but.. unix file permissions issue? Drop to terminal and "chmod -r 777 <directory>" from the root dir where the songs are. If that doesn't do it, try "chown -r <directory>", to take ownership. You may have to use sudo to do this.

I don't know Linux, though I could probably try what you suggested. Anything I need to know before I attempt this?

A couple questions

How do I get into the root directory?
What is sudo and how do I use it?

MotionMan
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
I don't know Linux, though I could probably try what you suggested. Anything I need to know before I attempt this?

A couple questions

How do I get into the root directory?
What is sudo and how do I use it?

MotionMan

When you open terminal you are in the root directory. Type ls to see the folders/files

Sudo gives admin rights. Type Sudo then hit enter. It will ask you for your password. OR type sudo then the command. Once again password.

You can't mess much up by changing the persmissions to 777
 

MotionMan

Lifer
Jan 11, 2006
17,124
12
81
When you open terminal you are in the root directory. Type ls to see the folders/files

Sudo gives admin rights. Type Sudo then hit enter. It will ask you for your password. OR type sudo then the command. Once again password.

You can't mess much up by changing the persmissions to 777

Thanks.

Any downside to trying this?

MotionMan
 

MotionMan

Lifer
Jan 11, 2006
17,124
12
81
If you drag and drop the itunes folder then you wont have to find the folder. It'll put the location in for you.

The external drive is named "iTunes".

So, should it read "chmod -r 777 /Volumes/iTunes"?

Or am I looking for the iTunes folder on my boot drive?

MotionMan
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
real quick:

"cd" to move to specific folder
"ls" to list the contents
"../" to move up
"cd /Volumes" to move to that folder

this is me going to my 3rd drive: "ls /Volumes/Machintosh\ HDD\ 3"
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
The external drive is named "iTunes".

So, should it read "chmod -r 777 /Volumes/iTunes"?

Or am I looking for the iTunes folder on my boot drive?

MotionMan

Yup.

Might have to do "sudo chmod -r 777 /Volumes/iTunes"
 

MotionMan

Lifer
Jan 11, 2006
17,124
12
81
"chmod: 777: No such file or directory"

And now, when I try to open that drive I get:

"The folder &#8220;iTunes&#8221; can&#8217;t be opened because you don&#8217;t have permission to see its contents."

MotionMan
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
"chmod: 777: No such file or directory"

And now, when I try to open that drive I get:

"The folder &#8220;iTunes&#8221; can&#8217;t be opened because you don&#8217;t have permission to see its contents."

MotionMan

What does terminal give you when you drag the HDD to it?

Drag it then hit enter

It should look like this:
Code:
tweshs-mac-pro:~ Twesh$ /Volumes/Machintosh\ HDD\ 2/iTestThisFolder 
-bash: /Volumes/Machintosh HDD 2/iTestThisFolder: is a directory

tweshs-mac-pro:~ Twesh$ /Volumes/Machintosh\ HDD\ 2 
-bash: /Volumes/Machintosh HDD 2: is a directory
tweshs-mac-pro:~ Twesh$

1st is a folder
2nd is my 2nd drive
 

MotionMan

Lifer
Jan 11, 2006
17,124
12
81
What does terminal give you when you drag the HDD to it?

Drag it then hit enter

It should look like this:
Code:
tweshs-mac-pro:~ Twesh$ /Volumes/Machintosh\ HDD\ 2/iTestThisFolder 
-bash: /Volumes/Machintosh HDD 2/iTestThisFolder: is a directory

tweshs-mac-pro:~ Twesh$ /Volumes/Machintosh\ HDD\ 2 
-bash: /Volumes/Machintosh HDD 2: is a directory
tweshs-mac-pro:~ Twesh$

1st is a folder
2nd is my 2nd drive

It gives me this:

"/Volumes/iTunes "

MotionMan
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
Also right click on the drive click on get info then what do you see under "Sharing & Permissions"
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
Okay just did what you did. I got the same error when trying to open it.

Do this to restore you permissions:
0jyqz.png


Change "me" to Read and Write
 

MotionMan

Lifer
Jan 11, 2006
17,124
12
81
Okay just did what you did. I got the same error when trying to open it.

Do this to restore you permissions:
0jyqz.png


Change "me" to Read and Write

Done.

Now do you think the exclamations will be gone? Should I try that now?

MotionMan
 

MotionMan

Lifer
Jan 11, 2006
17,124
12
81
file://localhost/Users/<mycomputername>/Music/iTunes Media/Music/<artist>/<Albumname>/song.mp3

Hmmm. Must be looking in the wrong spot, no?

MotionMan
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
file://localhost/Users/<mycomputername>/Music/iTunes Media/Music/<artist>/<Albumname>/song.mp3

Hmmm. Must be looking in the wrong spot, no?

MotionMan
Yup.
Did you ever move the library to another computer over a network? iTunes annoyingly keeps track of those movements and updates it's self. Possibly what happened there.

The only way that I know of to fix it is by reimporting the files :(