Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Well I didn't have it set to 30 days.

Further more if what you're saying is true - and i'm still not sure it is. That is an extremely destructive setting. You toggle it off on one device, there's no warning it will delete anything in the cloud - it could instantly delete 15 years worth of message off all your other devices with no way to recover.

Yet you manually delete one spam message and its sat in recently deleted for 40 days for you to recover.

That makes zero sense to me. That's also not how it works on Apple Mail - you can keep only the latest X amount of days downloaded - but it doesn't delete anything from the server. If a switch does this it needs to carry a very heavy warning that requires multiple entries of a passcode to achieve.

Regardless of this - this setting has never been changed on any of my devices. So unless the new phone turned it on temporarily, deleted everything and set it back to forever after a restore - that's a pretty horrific bug i'm sure we'd be seeing lots of people with.

I do have time machine backups of download chats - there's multiple issues with that thought. You can restore them back on macOS but it won't put them back into iCloud for other devices. Also at some point around May it deleted the downloaded database on macOS so it went from being over 300mb to just 4mb and I need to merge all those databases with a manual script.
As already mentioned:

Apple said:
Important: If you choose an option other than Forever, your conversations (including all attachments) are automatically removed after the specified time period elapses.

If you use Messages in iCloud, deleting a message or conversation on your iPhone deletes it from all your devices where Messages in iCloud is on. See Keep your messages up to date with iCloud in the iCloud User Guide.
 
As already mentioned:



Yes you're right - I honestly find that absolutely baffling. Regardless that isn't my issue but I still think its very poor from Apple - i've found searching at least one thread on their forums of someone who did this by accident.

Now i'm assuming that during the setup on the new phone, at some point it's default or changed to last 30 days and then back again to forever when it's finished restoring without my input, that's the only thing I can think of.
 
Now i'm assuming that during the setup on the new phone, at some point it's default or changed to last 30 days and then back again to forever when it's finished restoring without my input, that's the only thing I can think of.
Very possible/probable. This is one reason why I’m an advocate of Apple decoupling major OS releases with hardware releases — it just compounds potential problems and makes troubleshooting (for users and Apple) a much higher hassle.
 
  • Like
Reactions: dannys1
Very possible/probable. This is one reason why I’m an advocate of Apple decoupling major OS releases with hardware releases — it just compounds potential problems and makes troubleshooting (for users and Apple) a much higher hassle.

It seems to make sense as the oldest messages in the cloud are the day i set up the iPhone. Everything is still on "forever" and was never changed - which means i've got 40 days worth of messages on all devices now.

I've managed to recover a lot from Time Machine backup - but it's messy - at some point macOS start breaking apart devices stored on the system. Up to May this year it looks like if they were in the cloud it wasn't saving everything on device anymore. Merging them together is very hard if not impossible due to the complexity of the sqlite database they use. They also don't upload back into the cloud which isn't too much of a big deal it just means they're on Mac only.
 
Well I didn't have it set to 30 days.

Further more if what you're saying is true - and i'm still not sure it is. That is an extremely destructive setting. You toggle it off on one device, there's no warning it will delete anything in the cloud - it could instantly delete 15 years worth of message off all your other devices with no way to recover.
I agree completely with the phrase "extremely destructive" --- I know this isn't the same but honestly I have my setting to 'Forever' so I can occasionally look through old messages with people who have passed, like my mom. I won't even be doing the software upgrade on my 14 Pro until I know for sure this (huge!!!! to me anyhow) issue is confirmed resolved. I'd be absolutely devastated to lose all those messages and history.
 
I agree completely with the phrase "extremely destructive" --- I know this isn't the same but honestly I have my setting to 'Forever' so I can occasionally look through old messages with people who have passed, like my mom. I won't even be doing the software upgrade on my 14 Pro until I know for sure this (huge!!!! to me anyhow) issue is confirmed resolved. I'd be absolutely devastated to lose all those messages and history.

It is crazy that it's even an option. There's an option to delete messages directly in the icloud pane and I think that should be the only way - when you actively seek out to remove them from the cloud due to space. I've now mostly lost the messages I had from Dad who passed away - although I've restored things in a messy sense in macOS they're gone from my iOS devices now - even if someone does that switch on purpose they should be left in the cloud unless they purposely delete them from there - it's very odd from Apple.
 
It is crazy that it's even an option. There's an option to delete messages directly in the icloud pane and I think that should be the only way - when you actively seek out to remove them from the cloud due to space. I've now mostly lost the messages I had from Dad who passed away - although I've restored things in a messy sense in macOS they're gone from my iOS devices now - even if someone does that switch on purpose they should be left in the cloud unless they purposely delete them from there - it's very odd from Apple.
Ugh, that's exactly what I'm trying to prevent. I'm so sorry this happened to you and I so so hope you're able to get those messages restored. Losing a parent is so hard. 💜
 
I won't even be doing the software upgrade on my 14 Pro until I know for sure this (huge!!!! to me anyhow) issue is confirmed resolved. I'd be absolutely devastated to lose all those messages and history.
I agree with waiting. Even with the public betas, plenty of potential problems slip by. And I did wait for the .2 and .3 releases before upgrading on recent major OS rollouts. However, with an iPhone 15 PM order (which will at best arrive no later then the 17.1 drop), I feel it’s not as helpful to hold off upgrading other iDevices until later updates. Although, so far, I’ve held off on macOS Sonoma.

I've managed to recover a lot from Time Machine backup - but it's messy - at some point macOS start breaking apart devices stored on the system. Up to May this year it looks like if they were in the cloud it wasn't saving everything on device anymore. Merging them together is very hard if not impossible due to the complexity of the sqlite database they use. They also don't upload back into the cloud which isn't too much of a big deal it just means they're on Mac only.
I agree completely with the phrase "extremely destructive" --- I know this isn't the same but honestly I have my setting to 'Forever' so I can occasionally look through old messages with people who have passed, like my mom.
A recommendation: properly archive. Don’t use Web browser tabs as bookmarks, don’t leave never to reply to messages in Mail, do not use Messages as a frozen in time vault. I say this after learning the hard way a few times.

For most items, including Mail messages, save to PDF typically does a great job. Unfortunately, for Messages messages, Apple doesn’t appear to have a seamless method (yet?), so you’d need to deal with these:

 
  • Like
Reactions: dannys1
I agree with waiting. Even with the public betas, plenty of potential problems slip by. And I did wait for the .2 and .3 releases before upgrading on recent major OS rollouts. However, with an iPhone 15 PM order (which will at best arrive no later then the 17.1 drop), I feel it’s not as helpful to hold off upgrading other iDevices until later updates. Although, so far, I’ve held off on macOS Sonoma.



A recommendation: properly archive. Don’t use Web browser tabs as bookmarks, don’t leave never to reply to messages in Mail, do not use Messages as a frozen in time vault. I say this after learning the hard way a few times.

For most items, including Mail messages, save to PDF typically does a great job. Unfortunately, for Messages messages, Apple doesn’t appear to have a seamless method (yet?), so you’d need to deal with these:


Thankfully my backup is generally super tight, multiple onsite copies with a raid 5 NAS, also backblaze and iCloud - everything is triple backed up.

The worrying thing about the message thing is that there's no way to automatically back them up. You've got to turn off iCloud sync and then manually backup your ~/Library/Messages folder - no one is really doing that. Also as mentioned it looks like around May something changes on macOS end where your chat.db no longer holds EVERYTHING and the cloud has taken over, a cloud you can't access or manually back up - it doesn't go into your iCloud back up for iOS, no longer will Time Machine back everything up.

I'm left trying to merge SQlite3 DB files together but it's really not going very well - the schema is so complex and any attempts people have made to do it online are really old now. With every version of iOS and macOS Apple have added more rows. It's pretty messy.

I do have a HTML export of everything in a folder now but unfortunately it's just listed by phone number with no main index to navigate.
 
After my reset and restore last night, it has indexed some today, but appears to have stopped in roughly the same spot. It’s only going back to the end of August before quitting.
 
Unfortunately, that setting in "settings" does apply to messages in iCloud. The setting itself should sync over to your other devices.
I was curious about this, and I don't think that setting syncs over to your other devices. I've got a secondary iPhone, iPad, and Apple ID and figured I try this myself. Messages in iCloud is turned on for both, and both were set to keep messages 'Forever'. I changed one of them to '1 Year', but the other device stayed on 'Forever' and never did sync the setting. The iPhone is on iOS 17 and iPad is on iPadOS 15, so maybe that had something to do with it...but I'm pretty sure it's a device only setting (none of the other settings on that screen are intended to sync), which makes this even more messier and confusing. It could mess up one's iCloud messages if they don't fully understand how it works. I think there's definitely room for improvement here.
 
  • Like
Reactions: adrianlondon
I had a call with Apple Support to share screen and demo some searches, eventually told it was a known issue and will be fixed in a future software update. Support did not ask for any logs.

Might be easier to submit the issue through Feedback instead
 
  • Like
Reactions: Cotypubby
Why were 2 threads that had absolutely nothing to do with each other merged?

My original thread was a problem with search not finding older messages on the phone. This problem is being seen by a number of people.

The thread it was merged with was a problem where one person’s older messages were deleted.

The only thing in common is that they are both related to Messages. Can the threads please be split apart?

edit: I renamed the thread title back to the old one as the new title had nothing to do with the original posts in this thread. Unfortunately that means there’s unrelated posts in this thread now, but oh well.
 
Why were 2 threads that had absolutely nothing to do with each other merged?

My original thread was a problem with search not finding older messages on the phone. This problem is being seen by a number of people.

The thread it was merged with was a problem where one person’s older messages were deleted.

The only thing in common is that they are both related to Messages. Can the threads please be split apart?

edit: I renamed the thread title back to the old one as the new title had nothing to do with the original posts in this thread. Unfortunately that means there’s unrelated posts in this thread now, but oh well.

I wondered the same - mine has nothing to do with search not working. Mine was a glitch that appears to have deleted all messages older than 30 days old whilst setting up the iPhone 15 Pro.
 
Not fixed - I called Apple and they said they are still working on it.

That could be for iOS 18. I’ve had Apple “working” on issues for years that they never publicly acknowledged.

If we’re lucky they might fix it for iOS 17.3 or 17.4.
 
You’d think this would be a story here - it’s a super annoying issue
I agree, it was one of the very first things I noticed when I switched to the iPhone 15 Pro, and is also one of the biggest dealbreakers for me. It’s leaving me quite torn as to whether or not to keep my perfectly working 13 Pro.
 
  • Like
Reactions: TooMuchPhone
What a mess! Tim Cook makes Apple hoard cash instead of spending enough of that cash—which is a relatively minuscule amount—on resources to fix bugs.
 
What I want to know is if this is happening to everyone who did the phone to phone transfer, or if starting over and doing it again may fix it. People won’t even know it’s a problem until they try to search.
 
What I want to know is if this is happening to everyone who did the phone to phone transfer, or if starting over and doing it again may fix it. People won’t even know it’s a problem until they try to search.
I reset my phone and got a new phone, neither helped. My friend who set up as new had no issues.

Now, I just had something magical happen…

SUDDENLY ALL OF MY SEARCH RESULTS ARE APPEARING!

Pictures and links history are also there, and even have a message at the bottom that they’re indexing.

I have no idea what finally kickstarted this process, but I’m happy!

iOS 17.1b2 if it makes any difference. Although yesterday there was still no change, and everything was still missing.
 
  • Like
Reactions: Cotypubby
iOS 17.1b2 if it makes any difference. Although yesterday there was still no change, and everything was still missing.

Did you install 17.1b2 yesterday? Indexing occurs when charging so if you plugged in overnight and they fixed it in 17.1b2 that would explain it.


In the meantime. I’m on 17.0.3 and an attachment I keep deleting off my iPhone keeps coming back. It’s not in the message thread as I deleted the message days ago. It only shows up when I tap on the profile pick of someone I’m messaging. I delete it. Next day it’s back.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.