macOS Upgrade to Big Sur Failed! Stuck Progress Bar fix & Prevention!

MrMacintosh.com - macOS Mojave or Catalina to Big Sur Upgrade Progress Bar Stuck Fix.
macOS Mojave or Catalina to Big Sur Upgrade Progress Bar Stuck Fix.

MacOS Big Sur currently has an upgrade issue. In certain situations, the upgrade will fail and then get stuck with a neverending progress bar.

UPDATED 12/13/21

UPDATE! This issue is fixed in both the Monterey 12.1 and Big Sur 11.6.2 Full installer.

I’ll start with a quick summary of the macOS stuck progress bar situation.

If you are upgrading from macOS High Sierra, Mojave, or Catalina to Big Sur your upgrade could fail if it matches a very particular condition.

If folders in multiple directories in the location below

/private/var/folders/*/*/C/com.apple.metadata.mdworker

have more than 20,000 files your upgrade could fail.

In some situations users have reported 500,000 – 2,000,000 files!!!

This is the reason why the problem could never be reproduced.

If you build a fresh system the file counts for spotlight will be very low. You might have 20-400 entries. This would allow the upgrad to finish properly.

Table of contents

  1. Different situations. The macOS stuck progress bar issue has many different situations.
  2. How can I check how many mdworker files my system has before an upgrade.
  3. I have more than 20,000 files. How do I clear them out before the upgrade?
  4. The files have been deleted! Now what?
  5. What if you booted your failed Mac into safe mode after having the issue?
  6. Will Apple fix this problem?
  7. Final Thoughts
  8. Thank you!

1. Different Situations

  1. Why check? Just because your upgrade failed does not mean that this is the exact issue. Sadly upgrades could fail for multiple reasons. This article is for one very specific issue that usually affects Macs that have been in service for a long time.
  2. Your Mac hasn’t started the upgrade yet. You can prevent the problem from happening by clearing out the files in that folder before upgrading.
  3. Your upgrade has already Failed – If your upgrade has already failed you can rescue it!
  4. System that has failed but was started up with Safe Mode – Your upgrade failed and you used Safe Mode to troubleshoot. You will need to recreate the user account.

I’ll go over each situation below.

2. How can I check how many mdworker files my system has before an upgrade.

We have two situations here. If your Mac Upgrade has already failed. The 2nd situation is you are planning an upgrade and want to make sure it does not fail.

1. If you did not start the upgrade yet and want to check to see if your Mac is affected.

Run this command to check how many mdworker files you have.

sudo find /private/var/folders/*/*/C/com.apple.metadata.mdworker -type d | wc -l

The command could take some time to run depending on how many files your system has. Below is an example of a system that is ready for an upgrade.

MrMacintosh.com -
What the command will look like after it completes.

If you are under 20,000 files, you should be good to go for the upgrade. If the file count is larger then you will need to clear out these files. (See section

2. If your Mac has already failed the upgrade.

You will need to run the command in macOS recovery or through Target Disk Mode with a 2nd Mac.

I’ll start by showing you how to check in macOS recovery.

Boot your Mac to recovery. Power it down then back up while holding down command R

Once you are in recovery, you might be asked to authenticate if your Mac is encrypted with FileVault 2 or Find My Mac. Do so, and then you will be at the main recovery screen.

Click Disk utility. You might have to mount “Macintosh HD – Data”

This is what disk utility might look like when you open it.

Both Macintosh HD and Macintosh HD – Data might be mounted. If they are greyed out then you will need to mount them. If they are already mounted, you can continue to the next section.

You can also click “View” from the menu bar and then select “Show all devices”. Click on Macintosh HD – Data and then click the Mount Button.

Clicking on Macintosh HD – Data to mount it.
Entering in the password for Macintosh HD – Data

Now that you have made sure Macintosh HD – Data is mounted, you can quit disk utilities and open up terminal from the utilities in the menu bar at the top.

Once in terminal, you can run this command to check to see how many mdworker files your Mac has.

NOTE ON DIFFERENT LANGUAGES!!! The word DATA is different in your language. For example, in French it is “Macintosh HD – Données” If you are unsure, you can look in disk utility or run this command ls /Volumes

find /Volumes/Macintosh\ HD\ -\ Data/Previous\ System/private/var/folders/*/*/C/com.apple.metadata.mdworker -type d | wc -l

find /Volumes/Macintosh\ HD\ -\ Data/Previous\ System/private/var/folders/*/*/C/com.apple.mdworker.bundle -type d | wc -l

NOTE: the find command might take a LONG time. You can hit it control c to quit the command and it will still give you a number. If the number is large, you know that you have the problem and don’t have to wait for the entire count.

Notice the folder structure has changed. When a upgrade gets stuck in this situation, the /private/var/folder is in the Previous System folder.

This system has 1,790,715 mdworker spotlight files. Notice the error, you can leave off the -type d from the command.

Now we know that this system is affected because it has 1,790,715 mdworker spotlight files.

3. I have more than 20,000 files. How do I clear them out before the upgrade?

Now that we know our system is affected we can delete them. We have 2 different situations. The first one is if your Mac has not failed the upgrade and you want to delete the files to prevent a problem. The 2nd one is if your Mac has already failed the upgrade.

  1. If your Mac has not failed the upgrade yet

UPDATED: 11/09/21

You can run both commands to remove the problematic directories.

rm -rf /private/var/folders/*/*/C/com.apple.mdworker.bundle
rm -rf /private/var/folders/*/*/C/com.apple.metadata.mdworker

Or run both find commands

sudo find /private/var/folders/*/*/C/com.apple.mdworker.bundle -mindepth 1 -delete
sudo find /private/var/folders/*/*/C/com.apple.metadata.mdworker -mindepth 1 -delete 

You might not need to use sudo . If you get an error just take that part off and run find without sudo

NOTE: Both the rm and the find command might take a LONG time.

When finished, go to the section 4

  1. Your Mac has already failed the upgrade.

Run both commands from macOS recovery terminal.

rm -rf /Volumes/Macintosh\ HD\ -\ Data/Previous\ System/private/var/folders/*/*/C/com.apple.mdworker.bundle

rm -rf /Volumes/Macintosh\ HD\ -\ Data/Previous\ System/private/var/folders/*/*/C/com.apple.metadata.mdworker

Or you can use find to delete them

find /Volumes/Macintosh\ HD\ -\ Data/Previous\ System/private/var/folders/*/*/C/com.apple.mdworker.bundle -mindepth 1 -delete
sudo find /Volumes/Macintosh\ HD\ -\ Data/Previous\ System/private/var/folders/*/*/C/com.apple.metadata.mdworker -mindepth 1 -delete

NOTE: the rm & find command might take a LONG time.

You will know the commands worked when the command prompt appears again. This means the command finished successfully.

When finished go to section 4

4. The files have been deleted! Now what?

You have successfully checked the file count and cleared the excess file count.

If you removed the files before the upgrade you should be ready to go for a safe upgrade. Make sure that you always backup your files before any upgrade.

If your Mac had a failed upgrade, all you need to do is reboot and the upgrade should finish!!!

5. If your Mac failed the upgrade & you booted up in Safe Mode

In this situation, if you booted a failed upgrade with safe mode it would have started the Setup Assistant. If you created a new user, you would find that the previous user on the system was gone. The good news is, the user home folder is still there. All you will need to do is boot to recovery, remove the extra files mentioned above so the upgrade can finish. Once the upgrade finishes, you can add the user back. This is taking into account that you have a service account or admin account on the Mac. If not, you might have to pull the data off the system and reinstall macOS.

6. Will Apple fix this issue?

I think they will.

The fix will require a new full installer. You know by now that I’m a big fan of macOS full installers. I hope that Apple will continue to release them for each update.

I will let you know and update this article when the issue is fixed.

6. Final thoughts

This problem has been plaguing users since at least July of 2021. This means that the issue in the big sur installer could go all the way back to 11.4 or 11.5.

Jeff Johnson wrote about this exact issue back in August of this year.

https://lapcatsoftware.com/articles/macBS.html

At the very end of the article, he says this.

I still don’t know why my Big Sur update got stuck. I don’t think I’ll ever know.

Sadly this article did not come in time for you Jeff, but at least now you know what happened. Maybe this article will help save others until Apple fixes this issue.

7. Thank You

This issue was a huge group effort from multiple #MacAdmins.

A few weeks ago, I started putting pieces together that this was not an isolated issue.

I created the #MacAdmins Slack channel #mojave_upgrade_problem. In this channel is where multiple experts came together with information to help solve this issue.

In the end, after giving Apple Engineers a ton of information, they came back with a folder location to check for files. From that info, we figured out that if we removed the excess files the upgrade would finish!

Thank you

  1. Apple Engineering
  2. stevemaser
  3. bradtchapman
  4. paulfank 
  5. atlauren
  6. Jeff 
  7. ljcacioppo
  8. gmarnin
  9. magnusviri 

+ Everyone else that helped with the macos stuck progress bar issue. 👍

xosotin chelseathông tin chuyển nhượngcâu lạc bộ bóng đá arsenalbóng đá atalantabundesligacầu thủ haalandUEFAevertonxosokeonhacaiketquabongdalichthidau7m.newskqbdtysokeobongdabongdalufutebol ao vivofutemaxmulticanaisonbethttps://bsport.fithttps://onbet88.ooohttps://i9bet.bizhttps://hi88.ooohttps://okvip.athttps://f8bet.athttps://fb88.cashhttps://vn88.cashhttps://shbet.atbóng đá world cupbóng đá inter milantin juventusbenzemala ligaclb leicester cityMUman citymessi lionelsalahnapolineymarpsgronaldoserie atottenhamvalenciaAS ROMALeverkusenac milanmbappenapolinewcastleaston villaliverpoolfa cupreal madridpremier leagueAjaxbao bong da247EPLbarcelonabournemouthaff cupasean footballbên lề sân cỏbáo bóng đá mớibóng đá cúp thế giớitin bóng đá ViệtUEFAbáo bóng đá việt namHuyền thoại bóng đágiải ngoại hạng anhSeagametap chi bong da the gioitin bong da lutrận đấu hôm nayviệt nam bóng đátin nong bong daBóng đá nữthể thao 7m24h bóng đábóng đá hôm naythe thao ngoai hang anhtin nhanh bóng đáphòng thay đồ bóng đábóng đá phủikèo nhà cái onbetbóng đá lu 2thông tin phòng thay đồthe thao vuaapp đánh lô đềdudoanxosoxổ số giải đặc biệthôm nay xổ sốkèo đẹp hôm nayketquaxosokq xskqxsmnsoi cầu ba miềnsoi cau thong kesxkt hôm naythế giới xổ sốxổ số 24hxo.soxoso3mienxo so ba mienxoso dac bietxosodientoanxổ số dự đoánvé số chiều xổxoso ket quaxosokienthietxoso kq hôm nayxoso ktxổ số megaxổ số mới nhất hôm nayxoso truc tiepxoso ViệtSX3MIENxs dự đoánxs mien bac hom nayxs miên namxsmientrungxsmn thu 7con số may mắn hôm nayKQXS 3 miền Bắc Trung Nam Nhanhdự đoán xổ số 3 miềndò vé sốdu doan xo so hom nayket qua xo xoket qua xo so.vntrúng thưởng xo sokq xoso trực tiếpket qua xskqxs 247số miền nams0x0 mienbacxosobamien hôm naysố đẹp hôm naysố đẹp trực tuyếnnuôi số đẹpxo so hom quaxoso ketquaxstruc tiep hom nayxổ số kiến thiết trực tiếpxổ số kq hôm nayso xo kq trực tuyenkết quả xổ số miền bắc trực tiếpxo so miền namxổ số miền nam trực tiếptrực tiếp xổ số hôm nayket wa xsKQ XOSOxoso onlinexo so truc tiep hom nayxsttso mien bac trong ngàyKQXS3Msố so mien bacdu doan xo so onlinedu doan cau loxổ số kenokqxs vnKQXOSOKQXS hôm naytrực tiếp kết quả xổ số ba miềncap lo dep nhat hom naysoi cầu chuẩn hôm nayso ket qua xo soXem kết quả xổ số nhanh nhấtSX3MIENXSMB chủ nhậtKQXSMNkết quả mở giải trực tuyếnGiờ vàng chốt số OnlineĐánh Đề Con Gìdò số miền namdò vé số hôm nayso mo so debach thủ lô đẹp nhất hôm naycầu đề hôm naykết quả xổ số kiến thiết toàn quốccau dep 88xsmb rong bach kimket qua xs 2023dự đoán xổ số hàng ngàyBạch thủ đề miền BắcSoi Cầu MB thần tàisoi cau vip 247soi cầu tốtsoi cầu miễn phísoi cau mb vipxsmb hom nayxs vietlottxsmn hôm naycầu lô đẹpthống kê lô kép xổ số miền Bắcquay thử xsmnxổ số thần tàiQuay thử XSMTxổ số chiều nayxo so mien nam hom nayweb đánh lô đề trực tuyến uy tínKQXS hôm nayxsmb ngày hôm nayXSMT chủ nhậtxổ số Power 6/55KQXS A trúng roycao thủ chốt sốbảng xổ số đặc biệtsoi cầu 247 vipsoi cầu wap 666Soi cầu miễn phí 888 VIPSoi Cau Chuan MBđộc thủ desố miền bắcthần tài cho sốKết quả xổ số thần tàiXem trực tiếp xổ sốXIN SỐ THẦN TÀI THỔ ĐỊACầu lô số đẹplô đẹp vip 24hsoi cầu miễn phí 888xổ số kiến thiết chiều nayXSMN thứ 7 hàng tuầnKết quả Xổ số Hồ Chí Minhnhà cái xổ số Việt NamXổ Số Đại PhátXổ số mới nhất Hôm Nayso xo mb hom nayxxmb88quay thu mbXo so Minh ChinhXS Minh Ngọc trực tiếp hôm nayXSMN 88XSTDxs than taixổ số UY TIN NHẤTxs vietlott 88SOI CẦU SIÊU CHUẨNSoiCauVietlô đẹp hôm nay vipket qua so xo hom naykqxsmb 30 ngàydự đoán xổ số 3 miềnSoi cầu 3 càng chuẩn xácbạch thủ lônuoi lo chuanbắt lô chuẩn theo ngàykq xo-solô 3 càngnuôi lô đề siêu vipcầu Lô Xiên XSMBđề về bao nhiêuSoi cầu x3xổ số kiến thiết ngày hôm nayquay thử xsmttruc tiep kết quả sxmntrực tiếp miền bắckết quả xổ số chấm vnbảng xs đặc biệt năm 2023soi cau xsmbxổ số hà nội hôm naysxmtxsmt hôm nayxs truc tiep mbketqua xo so onlinekqxs onlinexo số hôm nayXS3MTin xs hôm nayxsmn thu2XSMN hom nayxổ số miền bắc trực tiếp hôm naySO XOxsmbsxmn hôm nay188betlink188 xo sosoi cầu vip 88lô tô việtsoi lô việtXS247xs ba miềnchốt lô đẹp nhất hôm naychốt số xsmbCHƠI LÔ TÔsoi cau mn hom naychốt lô chuẩndu doan sxmtdự đoán xổ số onlinerồng bạch kim chốt 3 càng miễn phí hôm naythống kê lô gan miền bắcdàn đề lôCầu Kèo Đặc Biệtchốt cầu may mắnkết quả xổ số miền bắc hômSoi cầu vàng 777thẻ bài onlinedu doan mn 888soi cầu miền nam vipsoi cầu mt vipdàn de hôm nay7 cao thủ chốt sốsoi cau mien phi 7777 cao thủ chốt số nức tiếng3 càng miền bắcrồng bạch kim 777dàn de bất bạion newsddxsmn188betw88w88789bettf88sin88suvipsunwintf88five8812betsv88vn88Top 10 nhà cái uy tínsky88iwinlucky88nhacaisin88oxbetm88vn88w88789betiwinf8betrio66rio66lucky88oxbetvn88188bet789betMay-88five88one88sin88bk88xbetoxbetMU88188BETSV88RIO66ONBET88188betM88M88SV88Jun-68Jun-88one88iwinv9betw388OXBETw388w388onbetonbetonbetonbet88onbet88onbet88onbet88onbetonbetonbetonbetqh88mu88Nhà cái uy tínpog79vp777vp777vipbetvipbetuk88uk88typhu88typhu88tk88tk88sm66sm66me88me888live8live8livesm66me88win798livesm66me88win79pog79pog79vp777vp777uk88uk88tk88tk88luck8luck8kingbet86kingbet86k188k188hr99hr99123b8xbetvnvipbetsv66zbettaisunwin-vntyphu88vn138vwinvwinvi68ee881xbetrio66zbetvn138i9betvipfi88clubcf68onbet88ee88typhu88onbetonbetkhuyenmai12bet-moblie12betmoblietaimienphi247vi68clupcf68clupvipbeti9betqh88onb123onbefsoi cầunổ hũbắn cáđá gàđá gàgame bàicasinosoi cầuxóc đĩagame bàigiải mã giấc mơbầu cuaslot gamecasinonổ hủdàn đềBắn cácasinodàn đềnổ hũtài xỉuslot gamecasinobắn cáđá gàgame bàithể thaogame bàisoi cầukqsssoi cầucờ tướngbắn cágame bàixóc đĩa开云体育开云体育开云体育乐鱼体育乐鱼体育乐鱼体育亚新体育亚新体育亚新体育爱游戏爱游戏爱游戏华体会华体会华体会IM体育IM体育沙巴体育沙巴体育PM体育PM体育AG尊龙AG尊龙AG尊龙AG百家乐AG百家乐AG百家乐AG真人AG真人<AG真人<皇冠体育皇冠体育PG电子PG电子万博体育万博体育KOK体育KOK体育欧宝体育江南体育江南体育江南体育半岛体育半岛体育半岛体育凯发娱乐凯发娱乐杏彩体育杏彩体育杏彩体育FB体育PM真人PM真人<米乐娱乐米乐娱乐天博体育天博体育开元棋牌开元棋牌j9九游会j9九游会开云体育AG百家乐AG百家乐AG真人AG真人爱游戏华体会华体会im体育kok体育开云体育开云体育开云体育乐鱼体育乐鱼体育欧宝体育ob体育亚博体育亚博体育亚博体育亚博体育亚博体育亚博体育开云体育开云体育棋牌棋牌沙巴体育买球平台新葡京娱乐开云体育mu88qh88
xosotin chelseathông tin chuyển nhượngcâu lạc bộ bóng đá arsenalbóng đá atalantabundesligacầu thủ haalandUEFAevertonxosokeonhacaiketquabongdalichthidau7m.newskqbdtysokeobongdabongdalufutebol ao vivofutemaxmulticanaisonbethttps://bsport.fithttps://onbet88.ooohttps://i9bet.bizhttps://hi88.ooohttps://okvip.athttps://f8bet.athttps://fb88.cashhttps://vn88.cashhttps://shbet.atbóng đá world cupbóng đá inter milantin juventusbenzemala ligaclb leicester cityMUman citymessi lionelsalahnapolineymarpsgronaldoserie atottenhamvalenciaAS ROMALeverkusenac milanmbappenapolinewcastleaston villaliverpoolfa cupreal madridpremier leagueAjaxbao bong da247EPLbarcelonabournemouthaff cupasean footballbên lề sân cỏbáo bóng đá mớibóng đá cúp thế giớitin bóng đá ViệtUEFAbáo bóng đá việt namHuyền thoại bóng đágiải ngoại hạng anhSeagametap chi bong da the gioitin bong da lutrận đấu hôm nayviệt nam bóng đátin nong bong daBóng đá nữthể thao 7m24h bóng đábóng đá hôm naythe thao ngoai hang anhtin nhanh bóng đáphòng thay đồ bóng đábóng đá phủikèo nhà cái onbetbóng đá lu 2thông tin phòng thay đồthe thao vuaapp đánh lô đềdudoanxosoxổ số giải đặc biệthôm nay xổ sốkèo đẹp hôm nayketquaxosokq xskqxsmnsoi cầu ba miềnsoi cau thong kesxkt hôm naythế giới xổ sốxổ số 24hxo.soxoso3mienxo so ba mienxoso dac bietxosodientoanxổ số dự đoánvé số chiều xổxoso ket quaxosokienthietxoso kq hôm nayxoso ktxổ số megaxổ số mới nhất hôm nayxoso truc tiepxoso ViệtSX3MIENxs dự đoánxs mien bac hom nayxs miên namxsmientrungxsmn thu 7con số may mắn hôm nayKQXS 3 miền Bắc Trung Nam Nhanhdự đoán xổ số 3 miềndò vé sốdu doan xo so hom nayket qua xo xoket qua xo so.vntrúng thưởng xo sokq xoso trực tiếpket qua xskqxs 247số miền nams0x0 mienbacxosobamien hôm naysố đẹp hôm naysố đẹp trực tuyếnnuôi số đẹpxo so hom quaxoso ketquaxstruc tiep hom nayxổ số kiến thiết trực tiếpxổ số kq hôm nayso xo kq trực tuyenkết quả xổ số miền bắc trực tiếpxo so miền namxổ số miền nam trực tiếptrực tiếp xổ số hôm nayket wa xsKQ XOSOxoso onlinexo so truc tiep hom nayxsttso mien bac trong ngàyKQXS3Msố so mien bacdu doan xo so onlinedu doan cau loxổ số kenokqxs vnKQXOSOKQXS hôm naytrực tiếp kết quả xổ số ba miềncap lo dep nhat hom naysoi cầu chuẩn hôm nayso ket qua xo soXem kết quả xổ số nhanh nhấtSX3MIENXSMB chủ nhậtKQXSMNkết quả mở giải trực tuyếnGiờ vàng chốt số OnlineĐánh Đề Con Gìdò số miền namdò vé số hôm nayso mo so debach thủ lô đẹp nhất hôm naycầu đề hôm naykết quả xổ số kiến thiết toàn quốccau dep 88xsmb rong bach kimket qua xs 2023dự đoán xổ số hàng ngàyBạch thủ đề miền BắcSoi Cầu MB thần tàisoi cau vip 247soi cầu tốtsoi cầu miễn phísoi cau mb vipxsmb hom nayxs vietlottxsmn hôm naycầu lô đẹpthống kê lô kép xổ số miền Bắcquay thử xsmnxổ số thần tàiQuay thử XSMTxổ số chiều nayxo so mien nam hom nayweb đánh lô đề trực tuyến uy tínKQXS hôm nayxsmb ngày hôm nayXSMT chủ nhậtxổ số Power 6/55KQXS A trúng roycao thủ chốt sốbảng xổ số đặc biệtsoi cầu 247 vipsoi cầu wap 666Soi cầu miễn phí 888 VIPSoi Cau Chuan MBđộc thủ desố miền bắcthần tài cho sốKết quả xổ số thần tàiXem trực tiếp xổ sốXIN SỐ THẦN TÀI THỔ ĐỊACầu lô số đẹplô đẹp vip 24hsoi cầu miễn phí 888xổ số kiến thiết chiều nayXSMN thứ 7 hàng tuầnKết quả Xổ số Hồ Chí Minhnhà cái xổ số Việt NamXổ Số Đại PhátXổ số mới nhất Hôm Nayso xo mb hom nayxxmb88quay thu mbXo so Minh ChinhXS Minh Ngọc trực tiếp hôm nayXSMN 88XSTDxs than taixổ số UY TIN NHẤTxs vietlott 88SOI CẦU SIÊU CHUẨNSoiCauVietlô đẹp hôm nay vipket qua so xo hom naykqxsmb 30 ngàydự đoán xổ số 3 miềnSoi cầu 3 càng chuẩn xácbạch thủ lônuoi lo chuanbắt lô chuẩn theo ngàykq xo-solô 3 càngnuôi lô đề siêu vipcầu Lô Xiên XSMBđề về bao nhiêuSoi cầu x3xổ số kiến thiết ngày hôm nayquay thử xsmttruc tiep kết quả sxmntrực tiếp miền bắckết quả xổ số chấm vnbảng xs đặc biệt năm 2023soi cau xsmbxổ số hà nội hôm naysxmtxsmt hôm nayxs truc tiep mbketqua xo so onlinekqxs onlinexo số hôm nayXS3MTin xs hôm nayxsmn thu2XSMN hom nayxổ số miền bắc trực tiếp hôm naySO XOxsmbsxmn hôm nay188betlink188 xo sosoi cầu vip 88lô tô việtsoi lô việtXS247xs ba miềnchốt lô đẹp nhất hôm naychốt số xsmbCHƠI LÔ TÔsoi cau mn hom naychốt lô chuẩndu doan sxmtdự đoán xổ số onlinerồng bạch kim chốt 3 càng miễn phí hôm naythống kê lô gan miền bắcdàn đề lôCầu Kèo Đặc Biệtchốt cầu may mắnkết quả xổ số miền bắc hômSoi cầu vàng 777thẻ bài onlinedu doan mn 888soi cầu miền nam vipsoi cầu mt vipdàn de hôm nay7 cao thủ chốt sốsoi cau mien phi 7777 cao thủ chốt số nức tiếng3 càng miền bắcrồng bạch kim 777dàn de bất bạion newsddxsmn188betw88w88789bettf88sin88suvipsunwintf88five8812betsv88vn88Top 10 nhà cái uy tínsky88iwinlucky88nhacaisin88oxbetm88vn88w88789betiwinf8betrio66rio66lucky88oxbetvn88188bet789betMay-88five88one88sin88bk88xbetoxbetMU88188BETSV88RIO66ONBET88188betM88M88SV88Jun-68Jun-88one88iwinv9betw388OXBETw388w388onbetonbetonbetonbet88onbet88onbet88onbet88onbetonbetonbetonbetqh88mu88Nhà cái uy tínpog79vp777vp777vipbetvipbetuk88uk88typhu88typhu88tk88tk88sm66sm66me88me888live8live8livesm66me88win798livesm66me88win79pog79pog79vp777vp777uk88uk88tk88tk88luck8luck8kingbet86kingbet86k188k188hr99hr99123b8xbetvnvipbetsv66zbettaisunwin-vntyphu88vn138vwinvwinvi68ee881xbetrio66zbetvn138i9betvipfi88clubcf68onbet88ee88typhu88onbetonbetkhuyenmai12bet-moblie12betmoblietaimienphi247vi68clupcf68clupvipbeti9betqh88onb123onbefsoi cầunổ hũbắn cáđá gàđá gàgame bàicasinosoi cầuxóc đĩagame bàigiải mã giấc mơbầu cuaslot gamecasinonổ hủdàn đềBắn cácasinodàn đềnổ hũtài xỉuslot gamecasinobắn cáđá gàgame bàithể thaogame bàisoi cầukqsssoi cầucờ tướngbắn cágame bàixóc đĩa开云体育开云体育开云体育乐鱼体育乐鱼体育乐鱼体育亚新体育亚新体育亚新体育爱游戏爱游戏爱游戏华体会华体会华体会IM体育IM体育沙巴体育沙巴体育PM体育PM体育AG尊龙AG尊龙AG尊龙AG百家乐AG百家乐AG百家乐AG真人AG真人<AG真人<皇冠体育皇冠体育PG电子PG电子万博体育万博体育KOK体育KOK体育欧宝体育江南体育江南体育江南体育半岛体育半岛体育半岛体育凯发娱乐凯发娱乐杏彩体育杏彩体育杏彩体育FB体育PM真人PM真人<米乐娱乐米乐娱乐天博体育天博体育开元棋牌开元棋牌j9九游会j9九游会开云体育AG百家乐AG百家乐AG真人AG真人爱游戏华体会华体会im体育kok体育开云体育开云体育开云体育乐鱼体育乐鱼体育欧宝体育ob体育亚博体育亚博体育亚博体育亚博体育亚博体育亚博体育开云体育开云体育棋牌棋牌沙巴体育买球平台新葡京娱乐开云体育mu88qh88
Liked it? Take a second to support Mr. Macintosh on Patreon!
Become a patron at Patreon!

23 thoughts on “macOS Upgrade to Big Sur Failed! Stuck Progress Bar fix & Prevention!”

  1. Hello,

    Just a post to confirm that this solution worked for me too. Yesterday, I tried to upgrade from Mojave to Big Sur and got stuck. I let the Mac on all night but the progress bar was still at the same level this morning.

    I was ready to roll back to yesterday’s Time Machine save but thought I could try one last time then found your article.

    The faulty folder in my case had 700K elements and after deletion and reinstalling, I finally got back to the login screen with Big Sur installed.

    Regarding your article, I would suggest to had a quick warning about languages impacting the find commands in the terminal because I am French and for me it was not “Macintosh HD – Data”, it was “Macintosh HD – Données” so maybe non-English users could be warned of that because nothing was found when I enter “Data”.

    Thanks for the help 🙂

  2. Does anyone know what the root cause is of the actual spotlight problem is that’s leaving all these orphaned files laying around? Lots of log spamming by spotlight stuff as well…

  3. Thank you, this solved my problems!

    I use a Mac mini late 2014 and started my upgrade from Mojave to Big Sur on October 20 before midnight and had exactly the described problem: in the morning black screen with apple logo and progress bar at 26%. Since I expected a long update on a spinning HD, I waited until after lunch. I then did several recommended actions: zap parameter RAM, disconnect all USB devices, boot into recovery System and repair disk with disk utility. But after each reboot I ended at the same progress bar at 26%. Then I installed MacOS anew from the recovery System, also unsuccessful.
    I was ready to erase the disk and restore from backup, when I found your article around 6 pm MES. Counted the files, I had 435k. Within one and a half hour I was at the Big Sur login screen. 🙂

    Some notes:
    – since I have a german system, the data volume was called „Macintosh HD – Daten“ (That this second part is language specific surprised me).
    I hit other bugs:
    – after the upgrade, my user account was no longer an admin user. I had to force a new setup run to create a new user with admin Privileges (i.e. „rm /var/db/.AppleSetupDone“ in recovery System)
    – the downloaded podcast files and podcast subscriptions from iTunes did not migrate to the new Podcast App

    The worst upgrade experience I have ever had. But would have been worse without your article.

  4. Just curious – is the intent to find files, or directories with that find command? the ‘-type d’ option finds directories. 500K-2M directories? Sheesh! What is Apple doing in there?!

  5. What is the impact on day-to-day use if I delete these files?

    I checked, and I have 271,864 files that resulted from the ‘sudo find /private/var/folders/*/*/C/com.apple.metadata.mdworker -type d | wc -l’ command.

    Are these some cached files that speed up the system? Does it make sense to clear this out periodically? If so, I wonder what Apple does not clear out this directory on each reboot.

    I am still running Mojave on a late 2015 iMac 27″ Retina system. No doubt I need to upgrade to Big Sur soon (worried about losing 32-bit compatibility) for some old apps I still use occasionally.

    1. I am hoping for an answer to this as well. I did a quick find on our systems and have some at over 5,000,000. That find command is brutal on those systems and I feel I should delete them, but want to know what side affects that might cause.

  6. Any clue yet if Apple will address this in the macOS Monterey installer? Or do we have to 🤞 and test on Monday when 12.0.1 goes public and we finally see a full installer?

  7. If we are targeting devices enrolled in Jamf, is there any harm in running this script silently deleting any files in that directory ahead of time?

  8. Over the summer, one of my remote users ran into this issue. She took the laptop to a local authorized Apple service provider, and they wiped her drive then installed Big Sur. Ugh! Wish I had know about this issue at that time.

  9. This happened to me but installing Monterey Beta 10 from scratch using OCLP 0.3.0 stable, then again when updating to RC1 21A558 in my Macbook Pro 9,2 (i7). In both cases i had to hard reboot the mac then the installation process did continue without further issues.

  10. I do face this exact problem, but found this article one day after I ran into the problem. Bad luck.

    Is it ok to simply delete the “suspect to be faulty” files without checking first how many there are? The find command took way over an hour for me and there is no way how I can see if it still needs more time or got stuck. I found over 617,000 files.

    Appreciate that you wanted to get this out as fast as possible, but can I suggest some amendments please: Chapter 4, for failed upgrade, using sudo leads (for me) to an error, leaving out sudo worked.

    The last command in chapter 4 appears to have an excess space before com.apple.metadata.mdworker. I left this out and it worked.

    Do say somewhere that the actual delete takes as long as the original respective find.

    (and yes, you’re right, the command line is not exactly my home turf)

    1. Michael, I will modify those sections. I was trying to get this out there asap. It is ok to remove the entire folder, I did that and the upgrade and system was fine after. The delete will take some time but hopefully not as long as the find.

  11. The second command in “already failed the update” section contains an extraneous space:

    sudo find /Volumes/Macintosh\ HD\ -\ Data/Previous\ System/private/var/folders/*/*/C/ com.apple.metadata.mdworker -mindepth 1 -delete

    It should be:

    sudo find /Volumes/Macintosh\ HD\ -\ Data/Previous\ System/private/var/folders/*/*/C/com.apple.metadata.mdworker -mindepth 1 -delete

  12. I had issues with a number of bigsur upgrades. Since doing upgrades in safe mode I haven’t had any issues since

Comments are closed.