Sunday, July 8, 2018

How NOT to Update macOS (BONUS: How to Start Up in Safe Mode)

I perform routine maintenance on my parents' iMacs when I visit them. Yesterday I noticed that on one iMac running macOS High Sierra 10.13.4, an update to 10.13.5 had been downloaded and was waiting to be installed. In the "old days" of Mac OS X, it was often recommended to repair disk permissions before installing operating system updates or upgrading to a new operating system. That option appears to be no longer recommended nowadays, but I've still gotten into the habit of doing "spring cleaning" before updating an operating system. Since I was using CleanMyMac 3 to uninstall some old applications at the time, I decided to use the "Smart Cleanup" option to more thoroughly clean the iMac by deleting system junk, photo junk, iTunes junk, etc. Everything went fine, the iMac was as clean as a whistle, and I decided it was a good time to update the operating system.

When launching the App Store and electing to update the operating system, it immediately prompted me to restart the computer since it had previously downloaded the installer (possibly a month ago or more, based on its availability as of June 1, 2018). Having updated macOS many times before, I knew it could take a while to install, so I restarted and came back about an hour later to find a disturbing "macOS could not be installed on your computer" error. It went on to say something about being unable to locate a resource--I pressed command-shift-3 to take a screenshot, but I found out later that the screenshot was not saved (since the Finder was not running), so I don't remember the exact wording. I did successfully save the installer log, but it did not appear to have the same language as what I saw on the screen, which looked similar to, but possibly not exactly like, this screenshot (image grabbed from this site):



In any case, my only option at that point was to restart the computer. Restarting the iMac simply resulted in an infinite loop with the installer generating the "macOS could not be installed on your computer" error minutes later and then prompting me to restart. I noticed that the internet connection was down, so I was hoping that the installer was trying to download something and wasn't able to establish a connection to do so. I rebooted the router and got the internet connection working again, as verified on another device. Still no luck--rebooting kept resulting in the same error and providing no recourse but to restart.

I nearly crapped in my pants.

Did I brick the computer? Would I have to reinstall the operating system from a DVD or flash drive? Worse yet, would I have to service the iMac from a "professional" and drain half the money out of my savings account? Then I decided to reach into my bag of tricks by restarting in safe mode to see if I could bypass the macOS installer. This is done by holding the shift key while restarting. I was able to launch macOS 10.13.4 and get to the Finder. Bingo! From there, I opened the App Store and checked for updates. It said that a software update to 10.13.5 was available. Hooray! I clicked the "update" button and waited anxiously as it downloaded the 2.12 GB installer.



After restarting the machine, the macOS installer seemed to be working correctly, and a little less than an hour later, the machine rebooted into a working installation of macOS High Sierra 10.13.5.

Craptastrophe avoided.

Reflecting on this experience, I have 2 recommendations to share:
  1. Install OS updates as soon as possible after downloading them. Specifically, in this case I wonder if cleaning up "system junk" with Clean My Mac might have stripped away resources from the mac OS installer which prevented the installer from functioning properly. I can't say for sure that this was the problem, nor will I ever attempt to reproduce the issue, but that's my best guess as to why the macOS installer failed. Downloading and immediately installing a macOS update is probably a safer thing to do in general.
  2. Learn how to start up your Mac in safe mode. It could save your skin, as it did mine. Even if you can't completely resolve the issue in safe mode, the ability to launch the Finder will at least enable you to grab a copy of important files from your hard drive.
I hope you've benefited from this. Happy macOS updating!

Thursday, July 5, 2018

The Answer is 10.5

In recent days (maybe weeks?) I've noticed that my macOS High Sierra 10.13.5 calculator widget in the Notification Center has been defaulting to a value of 10.5:


If I clear the value, it will display 0. If I perform a calculation, it will correctly display the result. However, once I close and re-open the Notification Center, the calculator widget will display a value of 10.5.

Do you think my iMac is trying to tell me something? Will Los Angeles County sales tax increase to 10.5%? Should I use the numbers 10 and 5 next time I play the lottery? Will the world end on October 5?