2017 iMac keeps suddenly shutting down

Today my 2017 iMac has started suddenly shutting down, as if the power has been cut (it hasn’t). After it’s shut down, I can’t turn it back on unless I also turn off and restart the attached power bar. This has happened around ten times and counting.


Assorted points:

  • There’s no warning or anything. Just the faintest of flashing sounds and the screen goes black. Indicator lights in attached external hard drives also turn off.
  • After a crash, if I press or hold the power button on the iMac, nothing happens. If I turn the power bar on and off, I’m able to restart the computer immediately. I don’t know if I’d be able to eventually restart the computer without switching the power bar on and off; perhaps I just haven’t waited long enough.
  • I’ve tried changing the specific plug (but same wall socket) - still shuts down.
  • I’ve tried a different power bar - still shuts down.
  • I booted in Safe Mode - still shuts down. (Twice I tried rebooting in Safe Mode and gave up after waiting 30+ minutes; then I restarted in normal mode, that worked, and restarted in Safe Mode from that. But it crashed in Safe Mode pretty quickly.)
  • I haven’t yet been able to keep it working long enough for Etre Check to run.
  • When it crashes, it always seems to be the instant I do something: select a different app, run a command. I don’t think it’s been triggered from just typing in an app. I haven’t found any consistency with which action “triggers” the crash (if indeed that’s what’s happening, rather than just a coincidence.) I’ll do a bunch of stuff without issue, and then the next action will crash it.
  • Since the problem started this morning, the longest I’ve been able to use the computer without it crashing is about 30 minutes (and often more like two minutes), but it successfully stayed on for a couple of hours while I was out for a walk, and it did at least two Time Machine backups at that time. Right now I’m letting the iMac run a SuperDuper clone, and I’ll see how far it gets.
  • I can’t find any crash reports. In Console, when I look at system.log, there doesn’t seem to be any indication of a problem - just running normally. I can only find the point where it crashed by looking for “BOOT_TIME” in the log.


Beyond my general request for help, is there anything I’m missing in Console to give a better log of what’s happening? In the past I’ve had things like “You restarted your Mac because of a problem,” but this time there’s nothing - when I turn the system back on, it reopens all the old windows, with no indication at all that anything untoward has happened. And then it’ll crash again.

iMac, macOS Mojave (10.14.1), 2017 iMac

Posted on Dec 1, 2018 12:42 AM

Reply
24 replies

Jan 31, 2019 7:50 PM in response to Lost in Asia

Follow up a month later: so far so good - since the Apple Store "re-fused" my Fusion Drive (or whatever they did), the sudden shutdown issue has not reappeared. Everything seems to be working as it should, and the computer by and large feels significantly faster than perhaps it ever has since I bought it a year ago.


But I did also shell out for Apple Care, which I've never done before. It's understandable that I'm a little worried about the stability of this machine going forward!


Etresoft, thanks again for the help on figuring out the nature of the problem.

Dec 16, 2018 5:07 PM in response to etresoft

Oh man, this sounds bad; thanks for your help with this. I'll attach the EtreCheck report from a couple of weeks ago that included the warning about the failing hard drive - this was when the crashes first started, although as you suggested earlier, it's unclear if the SSD issues are related to the sudden shut downs.


Inside EtreCheck, is there an archive of earlier reports? I've got several of them saved separately as PDFs, but I can't find any of them dating from before these crashes started (nor am I sure if there were any). I'm looking through what records I've got to try to figure out if this "missing" SSD was ever working for me in the eleven months since I bought the machine.


EDIT to add: I don't suppose there's any way to dig into Time Machine to see if the SSD was present or absent at different times over the past year?


Dec 17, 2018 10:37 AM in response to Lost in Asia

1. OK, I'll try that. Just to confirm before I embark on this process: I assume I need to ...
Back up everything (I've got two Time Machine drives going, plus SuperDuper clones I normally do every three days).

Generally you very rarely hear anyone say “****! I wish I hadn’t backed up my computer!”


Wipe the system, reinstall new OS: I plan to follow the iMore steps1. for wiping the system.

Not so fast. You have to restore your machine at a very low level. To restore your Fusion drive, you will have to follow these instructions: https://www.techrepublic.com/article/pro-tip-how-to-create-and-disable-a-fusion-drive/


This will require booting from a High Sierra boot drive and reinstalling High Sierra. Mojave won’t work for a number of complicated reasons.

See if the SSD is functioning on the "new" system. How should I test this?1. I can go into About this Mac / Storage, and see if it's 2TB or more than 2TB. Or: right now, when I look in About this Mac / System Report / Storage, and look at my Macintosh HD, I see only the HDD listed - there's no entry for the SSD. Should there be one? Are there other useful ways to see if the SSD is working?

If you are able to restore the Fusion drive and reinstall High Sierra, then that is as good as you’ll get.

Gulp. Last time I restored from a backup, just three months ago, it took days for the system to reinstall everything, and then maybe a week for iCloud to sort itself out.

I wouldn’t worry too much about that. I’m quite confident you’ll never get that far. I wrote my last reply while traveling. Now that I’m not as tired, it is pretty clear that you need to take your machine to Apple right away. Don’t bother with any of what I wrote above.


For my curiosity about when this got scrambled: remember this thread started because of a sudden shutdown issue (which, oddly, hasn't happened in a couple of days). I still wonder if the sudden shutdowns and the detached SSD are related or completely distinct issues.

Sure looks related to me.

(I'm curious how common a problem this detached SSD is. I haven't been able to find any other instances, but perhaps my Google skills are lacking; however, there are very few unique problems.

I’ve seen a number of them just in the past couple of days. I think it is a combination of Apple’s Mojave which just happens to be the most complex operating system every made by any company, compounded by people trying to do low-level command line hacks on the operating system.

Dec 1, 2018 4:57 PM in response to ajcooke01

Thanks - yes, it does seem similar to power supply issues that others have had. I’ve left the computer turned off overnight, and have now turned it on again - I’m just going to let it sit for a while to do a Time Machine backup. Some of the links below report having the issue very sporadically, with the computer being basically unusable and then not having an issue for weeks. I’ll see what I’m dealing with.


Sigh. This is when I regret buying a big desktop and not owning a car. Getting to a place that can fix this is going to be a hassle.


A few links for what seem to be similar situations:


SOLVED: Apple STUMPED - iMac shuts off randomly, daily to multiple times/hour - iMac Intel 27" EMC 2546 - iFixit


iMac shuts down randomly for no apparent reason


new 27" imac 2018 has been having random intermittent shutdowns for 3+ months (my iMac shuts down for no reason and won't restart unless unplug with full hard reset - any technical thoughts on how to resolve?

Dec 15, 2018 4:52 AM in response to Lost in Asia

(Lack of) progress report: the computer continues to shut down, apparently randomly - today it crashed twice when I tried to paste something in Excel, but the first time it crashed today was just when I was typing in Notes. Some days I spend a couple of hours on the computer with no issues. Other days it powers off within a few minutes. I believe it always powers off in response to a key stroke - if it's just left turned on, it doesn't seem to shut down.


Etre Check attached; for what it's worth, this computer, not quite a year old yet, has never really run that well - often slowing down or beach balling, and and it was a far smaller improvement over my previous 2009 iMac than I expected. I know I've just got the minimum RAM, but it still sometimes beachballs just when I'm opening Safari, and it's often faster to find a file through Finder than it is to use Spotlight, even if only a couple of apps are open. I've suspected buying more RAM would be throwing good money after bad.


I haven't been able to get to a Genius Bar yet, but hope to soon, but it'd be great to be able to give them more definite information pointing to power supply problems (if that's what it is). Is there anything I can specifically point to to help them diagnose the problem?



Dec 17, 2018 12:00 AM in response to etresoft

You will need to restore it to a factory configuration. Then, if it fails again, you can get it diagnosed and repaired. In this situation, the only logical course of action is to restore the configuration and then see what happens.


OK, I'll try that. Just to confirm before I embark on this process: I assume I need to ...

  1. Back up everything (I've got two Time Machine drives going, plus SuperDuper clones I normally do every three days).
  2. Wipe the system, reinstall new OS: I plan to follow the iMore steps for wiping the system.
  3. See if the SSD is functioning on the "new" system. How should I test this? I can go into About this Mac / Storage, and see if it's 2TB or more than 2TB. Or: right now, when I look in About this Mac / System Report / Storage, and look at my Macintosh HD, I see only the HDD listed - there's no entry for the SSD. Should there be one? Are there other useful ways to see if the SSD is working?
  4. If it's not working: contact Apple Support, and quite likely eventually take it to an Apple Store;
  5. If the SSD is now functioning: reinstall my system from Time Machine.


Gulp. Last time I restored from a backup, just three months ago, it took days for the system to reinstall everything, and then maybe a week for iCloud to sort itself out.


For my curiosity about when this got scrambled: remember this thread started because of a sudden shutdown issue (which, oddly, hasn't happened in a couple of days). I still wonder if the sudden shutdowns and the detached SSD are related or completely distinct issues.


(I'm curious how common a problem this detached SSD is. I haven't been able to find any other instances, but perhaps my Google skills are lacking; however, there are very few unique problems. And there could be many people like me, who get a new computer with a Fusion Drive and go through their years with the computer thinking "Huh, this isn't as good as I expected", never realizing there's a deeper problem.)


Thanks again for all the help.

Dec 1, 2018 4:52 PM in response to Lost in Asia

I have a hunch that your iMacs power supply is going bad. Too bad I can't give you instructions on how to test for a bad power supply though. Make an appointment and take your iMac into an Apple Store to be looked at. Don't let the "geiniuses" overcharge you though. Use common sense and when they tell you what they are going to replace think about if it makes logical sense that this could be the problem.


Contact Apple Support

Dec 15, 2018 7:03 PM in response to etresoft

Whoah - thanks. What part of the EtreCheck report shows that the SSD part isn't being used? I had no idea - it would certainly explain the slowness, and why my 2017 machine has never seemed much faster than the older 2009 one.


I haven't knowingly done anything with the Fusion Drive. Two points that come to mind: first, when I set up the system a year back, I believe I used a Time Machine migration from my older 2009 iMac - but surely that wouldn't have decided to ignore the SSD? Second, I had a big crash about three months ago, and getting myself set up again took a lot of time with Apple Support. I believe the eventual restore was from Time Machine, although perhaps it was from a SuperDuper clone. But the slowness issues predated that. The sudden-shut-down issue is a couple of weeks old.


Occasional Etre Checks will also tell me my Fusion Drive is at risk of imminent failure, but that didn't come up with this check.


(I'd like to link to posts about my crash a few months ago, but apparently Apple Support Communities has once again changed ways to find older material ...)


EDIT: ah, found the older thread, which doesn't have much that's helpful; it looks like I reinstalled Mojave, and then restored eventually from either Time Machine or a Super Duper clone:

https://discussions.apple.com/thread/8559505

Dec 16, 2018 7:59 AM in response to Lost in Asia

There are two things in your EtreCheck report. First, there are no volumes listed under the SSD in the Drives section. For a properly configured Fusion drive, both the SSD and HDD should list all volumes. The information will be duplicated. It is a complicated structure that is difficult to represent in text. It can be confusing if you aren’t used to it. Also, the total size of your boot volume should be the sum of the sizes of your SSD and HDD. Neither indicator is present on your machine.


I would be interested in what EtreCheck said about that imminent failure. It must have been either a SMART failure or disk errors. SMART failures are very rare and changes to macOS in 10.12 made disk error reporting very rare in EtreCheck. If you have had either, then that is a major hardware failure. You willneed to take the machine in to Apple for repair. Hopefully it is still under warranty.

Dec 16, 2018 8:04 PM in response to Lost in Asia

Sorry, but the only difference there is that your machine reported poor performance rather than just below average. You will get that message when you get poor performance with a mechanical drive. And the SSD may be compicating things since EtreCheck will expect better performance from an SSD. It really doesn’t know what to make of a machine with an SSD that isn’t even mounted.


EtreCheck does not automatically save reports. It doesn’t really matter when or why your machine got scrambled. You will need to restore it to a factory configuration. Then, if it fails again, you can get it diagnosed and repaired. In this situation, the only logical course of action is to restore the configuration and then see what happens.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

2017 iMac keeps suddenly shutting down

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