Hi Michael, thankyou for your response.
I should have mentioned - I've already tried this prior to my 'nuclear option' of wipe and restore. In fact, I tried it twice - once with my regular home Mac which I used to sync directly via USB before iTunes Match came out, and I tried it with my work PC too (hooking it up by USB, telling it to erase the content sync'd with another library and replace with content on the PC). The sync went fine, and the music played fine. But once I erased the music and re-enabled iTunes Match, straight back to square one as described above. I feel like I've tried everything short of replacing the iPhone!
Thanks, that's pretty much all I can think of at this stage, but I'm not really prepared to do it until I've got a whole Saturday morning to painstakingly rebuild my iPhone settings and apps built up over the last four or so years.
I'll keep searching and trying things and update this thread if I find any solution.
I'm convinced that the Music Library on the actual iPhone has become corrupted.
For instance, I can turn off iTunes Match, and it shows my library to be empty (as expected). If I then attempt to download a song from the store (e.g. the free song of the week) the download completes but I then get 'Unable to download song' with Done or Retry options. Retry downloads it again, only to end in the same error. I can reboot and get the same.
I'm sure the library on the iPhone must be corrupt somehow, and my previous attempts to restore from backups don't fix it. Nor does turning off iCloud and replacing it with sync'd music from iTunes.
I know there is a bunch of music stuck there. For instance, even with iCloud turned off and supposedly 'No Music' in the Songs tab of the music app, the Genius Mixes still show up - I can even listen to them! When I turn iCloud on, after a time my playlists sync. I can go into those playlists and see (some) of the music in them, and even listen to it. But when I tap the Songs tab I get the iCloud logo with the progress bar for a second or two, which then disppears to the 'No music' message.
Going into Setting > General > Usage > Music shows 'No Data' under music so it's impossible to purge any data. I'm sure there are several GB's worth of songs stuck on the phone that I simply can't purge.
The search goes on...
As a further update. I've tried to remove and re-sync the songs with my work laptop, which has iTunes and is authorised to my account.
I disabled iTunes Match on the iPhone, plugged in to my work PC, and it shows I have 6.7GB of Audio on the iPhone (which doesn't show up in the Music app on the iPhone). I chose to sync with the work laptop, a playlist of 30 or so songs, and confirmed I wanted to erase the music already on the phone and re-sync. The sync starts, sits on phase 1 of 4 for a while. The little space indicator bar jumps down to 250MB of music as expected. A little later and the sync seems to skip directly to step 4, and complete (well no error messages come up, it just goes to the sync completed stage). But the audio space indicator bar jumps back up to 6.7GB!
I've tried every which way, including unticking the 'Sync Music' button in the Music tab and telling iTunes I'm happy for all the music to be deleted. Same thing happens- sync seems to complete successfully, but right at the end the space indicator bar jumps right back up to 6.7GB! There just seems to be no way to remove these **** corrupted tunes from the iPhone.
I've fixed it.
I donloaded iPhone Explorer (now called iExplorer, Google it), plugged in my iPhone and deleted the iTunes_Control folder (I assume one of the files within was corrupt). I then re-synced with iTunes. It prompted me for a name for my iPhone and wanted to reinstall all my apps, but everything seems to have come back fine, and I was able to delete all the music and then re-add it to iTunes match successfully.
The iExplorer method worked for me as well, with a few slight modifications.
iTunes Match stopped working on my iPhone 4 (Music app would either show 'No Music' or a cloud icon w/ a blue progress bar that would barely move). Toggling iTunes Match on and off did not help, nor did syncing with iTunes on my MBP. I wanted to avoid a factory reset but I was pretty sure some core music library files were corrupted.
I determined that I did not have to delete the entire 'iTunes_Control' folder to get Match working again. I used the following process:
1. connect iPhone, open iExplorer
2. navigated to iPhone\Media\iTunes_Control\iTunes
3. copied these 3 files to my desktop:
4. deleted the same 3 files from my iPhone
5. performed a hard reboot on my iPhone (home button + sleep/wake button, hold until you see the apple logo)
The reboot forced iOS to recreate the 3 MediaLibrary files. After this, I was able to turn iTunes Match on and my entire library showed up on the iPhone. I am able to redownload tracks as needed now.
Thanks for the suggestions in this thread, they were very helpful.
Wow thanks everyone. This fixed my issue as well. I couldn't figure out why all of my iTunes Match music wasn't showing up on my iPad. It did show a few dozen albums that were downloaded to the iPad, but nothing in the iTunes Match Cloud (or whatever it's supposed to be called- Apple you made this confusing!). For about a week I've been trying everything to fix this. I rebuilt a new iTunes library on my PC, synced my iPad to the new library, tried every configuration of resetting computer / iPad and turning off iCloud, iTunes match- basically tried every combination of every toggle switch in iOS settings and iTunes PC (with a hard or soft reset inbetween every combination). I eventually figured the iPad iTunes library was corrupt after reading this post, and noticing that my iPad still showed dozens of playable albums even though when connected to iTunes, iTunes showed no music on my iPad (after turning off iCloud/match syncing and syncing directly to the iTunes library). Here's the quick four steps it took to resolve everything (except world peace I suppose):
1. Google/download/install iExplorer (free program)
2. Plug in iPad first, then open iExplorer
3. Delete the iPad\Media\iTunes_Control folder
4. Turn on iCloud/match in my iPad's iOS settings, which replaced the iPads music library with iCloud
Now everything just works as it's suppost to... will have to remember this for the future. I created my apple discussion board account just to reply to this post, say thanks, and hopefully spread the word to others in this predicament.