Catch-22: FileVault Encryption Complete, Can't Use Time Machine or Update OSX Because HD is Being Encrypted

I'm confronting an OSX bug. Here are the symptoms (not necessarily in order discovered):


Hard Drive is encrypted with FileVault. I have verified through System Preferences and Terminal Mode that encryption is complete. For example, diskutil apfs list shows FileVault: Yes (Unlocked) for the Macintosh HD (FileVault: No for the Preboot, Recovery, of VM volumes).


Under System Preferences/Security & Privacy/FileVault, the option to Turn Off FileVault is greyed.


Time Machine will not complete backups "because FileVault was encrypting or decrypting a disk."


I have tried turning off Time Machine, deleting the com.apple.TimeMachine.plist file, then reselecting the external backup drives.


Shut down does not complete, even after waiting days. I have to use the power button to shut down. Shutdown will not complete even when in Safe Mode (but will complete from Recovery Mode).


I have no apps that Open at Login.


Both MacOS Mojave Security Update 2021-005 10.14.6 and the macOS Monterey update will not install. Attempting to do so hangs up the computer, and when I use the power button to shut down and start up again I have to use Startup Manager to remind it where the operating system is (and use System Preferences to reassign the Hard Drive as the startup disk so I don't have to do this every time).


These problems persist even if I clear the SMC, the NVRAM, start up in Safe Mode.


I have used Option-D to confirm I have no hardware problems.


When I disconnect everything but the monitor, mouse, keyboard, and internet; clear the SMC and NVRAM/PRAM; start up in recovery mode; mount and repair/confirm there are no problems with the hard drive; and then try to reinstall the operating system, I get the error: “You may not install to this volume because it is currently being encrypted.”


Reading up on these issues, I found reports that older apps could cause some of these symptoms (and in particular some LogiTech and some older .kext files that I too had on my machine). I have eliminated older apps I no longer use, including all LogiTech apps, along with their related files. I used a third party app (AvastCleanup) to eliminate these programs.


My problems seem to have started around the time I changed my FileVault password (thinking I would make it more secure by picking something harder to guess). More recently my Hard Drive was getting close to full. To free up room I have moved my Photos library to a USB drive.


Because the System size appeared unusually large, I have done some things to clear System Data storage (e.g., deleting Cache and Log files).


Based on one web posting, I used Terminal Mode to try to delete some of the Time Machine local snapshots, using "tmutil listlocalsnapshotdates" and "tmutil deletelocalsnapshots (paste from list)". There may be some problem with these files. Even after saying a file was deleted, it shows up again when I use the list command.


After these steps to reduce the System Data storage, it has come down to 567.6 GB (more than half of the storage in use).


I have a 2TB hard drive. Recovery mode Disk Utility for the HD indicates that 1.98 TG of this is used, 11.73 GB are in Other Volumes, and only 133.11 GB are free, with Zero KB purgeable. It also shows for the macOS Base System that 1.28 GM is used and 732.8 MB are free. After I reboot (so I'm no longer in Recovery Mode), "Get Info" for the HD shows 1.98 TB used with 1.2 TB available (1.07 TB purgeable). The "About This Mac" Storage tab also shows 1.2 TB available with the System using 567.6 GB. About This Mac/System Report/Hardware/Storage shows only 133.04 GB available. When I first started looking at the size of the System Data files, it appeared to be fluctuating, but after the actions described above it seems to be giving the same results each time I check.


One other odd anomaly was that a couple of weeks ago the Spotify app began starting up at login even though it was not listed as a Login Item. I went ahead and deleted the app as a precaution, but this did not solve the problem or make any difference. I have no Login Items under System Preferences/Users & Groups/my username.


I tried going into Terminal mode and using sudo fdesetup disable following the advice in Cannot Turn Off FileVault - Apple Community and got the FileVault was not disabled (-69595) response, even though I have confirmed Secure token is ENABLED for my username (and the other username in my system). The conclusion at the end of this thread is to wipe the drive and start over.


There are multiple posts across many sites by people having some or all of these symptoms and issues. This appears to be a long-standing and unresolved bug. These other discussions all appear old enough that they have some variation of the discussions.apple.com statement: "Looks like no one's replied in a while. To start the conversation again, simply ask a new question." Hence I am asking a new question.


Anyone have any suggestions?


Mac mini, macOS 10.14

Posted on Mar 24, 2022 1:35 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 30, 2022 7:23 AM

Now that I've wiped the disk and reinstalled Mojave, the backups are working fine.


In hindsight, what I could have benefited from was more information on how to prepare my files to make it easier to restore them on my computer. What I did was simply copy everything on the hard drive to an external USB drive.


I'm staying in Mojave because I think it will be easier to figure out how to fix anything that is broken if I don't add in the additional complexity and uncertainty of a different OS version.


Restoring my Contacts worked fine. Apparently I've been moving between Macs long enough that all I had to do was move a folder called Address Book as described in wanna save contacts on my old macbook - Apple Community. However, as discussed in this link, this might not work for everyone.


Multiple postings indicated I should be able to move Mail over by moving three files, the Mail Folder, Mail Preferences, and KeyChain. This did not work for me. I ended importing my old messages into Mail (using File/Import Mailboxes) from user Library/Mail folder. After the import, all the data is there in an "Import" mail folder, but former large mailboxes are broken up into smaller mailboxes, often with the same name but in different subfolders, so it took some time to make sense of and rearrange the imported mailboxes. In hindsight, it may have made sense to have exported all of my mail before I wiped the drive, so that the import would have been cleaner (but since I didn't try this, I'm not sure how well this would have worked)


My first attempt to restore my iTunes did not work. My recollection from years ago was that all I needed to do was move the iTunes folder into the Music folder. I tried this, but although all playlists were there and the song titles listed, the links are broken so when you try to play something, it asks you to help it find the file (probably an XML link problem). If I go into iTunes Preferences/Advanced and change the iTunes Media folder location to the backup iTunes folder on the USB drive, iTunes works fine. I'm going to do a little more research, but I think what I need to do is export my iTunes library, then import it into iTunes on my restored drive.


I'd already set up Photos to use an external USB drive, so I don't anticipate a problem with Photos, but...


Whenever possible, I plan to do a fresh install of any software. Unfortunately, Apple apps like Pages on the App Store all require MacOS 11 or higher, so I'll hold off on this until I've fixed any problems with Contacts, Mail, Music, Photos, etc., then update to Monterey to restore these apps.


I'm hoping that posting information and suggestions about what to do if you can't use Time Machine or Migration Assistant to backup and restore a hard drive might be useful to others in this situation.


Similar questions

20 replies

Mar 28, 2022 9:12 AM in response to my ginger

Thanks again for trying to help!


I do have an operating system on an external USB drive. After the Monterey update crashed my machine and left me unable to boot up, I formatted and put OSX on a USB drive so I could boot up and copy all of my data off the hard drive. I did this before I tried anything else to preserve my data.


I followed the instructions from the link you sent, but had to modify them some. According to https://derflounder.wordpress.com/2017/12/31/decrypting-an-apfs-encrypted-volume-using-diskutil-on-macos-10-13-2/ after 10.13.2 the appropriate user UUID is needed. I tried both disableFileVault and decryptVolume and got "Error starting background decryption of APFS Volume: APFS Volume decryption failed to begin (-69595)"


While I enjoy a good puzzle when I have the time to work on it, I am proceeding with a full up erase and reinstall on the Hard Drive.


Thanks again, I at least learned more about OSX!


Mar 28, 2022 9:45 AM in response to MJKandG

Your Welcome. I though of this as a challenge. But as you noted others have had this problem too. Sorry I could not find you a solution.It would seem that even though you are administrator, you have been locked out of administrating FileVault. I don't know if that has anything to do with root users, which I believe you tried. A real puzzler. You are not able to boot to your internal drive? And you cannot reinstall to it, or run disk utilities from the drive or the recovery volume of the drive?

Mar 30, 2022 8:55 AM in response to MJKandG

The external drive you copied your files to was the bootable drive? Right? If that is the case, the best way to have copied your files back to the internal drive after the clean install would have Been thru Migration Assistant. And if you are using iCloud, those would migrate as well. doing it that way, if you had different users and passwords between the two. you would simply delete the user from the internal drive created when you did the clean install.

Apr 1, 2022 6:51 AM in response to my ginger

Actually, I'd copied all the files to one of the drives I'm using as a Time Machine backup, which can't be a bootable drive.


I was not aware that I could use Migration Assistant to migrate from a bootable external drive. That is a useful tip! I thought it was only for moving between computers with internal drives.


I could try moving the files to the bootable drive, then use Migration Assistant to migrate at least parts of the old setup, such as the Apps. Since I've already moved contacts and mail, and don't anticipate problems with files such as spreadsheets and documents that are routinely moved between machines, I'd try to avoid migrating these.


I'm not sure how best to do this. When I set up the external bootable drive, I used a different user name than the two on the old system. It's the same user name as the one I used for the restored system.


Do I just move the folders for the other user names into the Users folder on the bootable drive, and then Migration Assistant recognizes that there are additional users, or do I need to do more?


Also, when I migrate over, will it come across as separate users again or is there a way to merge the user data and apps into one user file (which is were we want to end up)?


Any advice or experience you have with this would be appreciated. Otherwise I'll learn by doing (and post how it works out for the benefit of others).


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.

Catch-22: FileVault Encryption Complete, Can't Use Time Machine or Update OSX Because HD is Being Encrypted

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