# Corrupt or Otherwise Broken Audacity Project Recovery

**URL:** <https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162>\
**Category:** Windows\
**Created:** [February 1, 2022, 1:57pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162 "2022-02-01T13:57:25Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![jaja714](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/j/8e8cbc/32.png) [@jaja714](https://forum.audacityteam.org/u/jaja714)\
**Post date:** [May 26, 2022, 12:45pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/41 "2022-05-26T12:45:43Z")

</div>

I am running audacity-win-3.0.5-64bit.

---

<div class="post-metadata">

**Author:** ![jademan](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/jademan/32/39309_2.png) [@jademan](https://forum.audacityteam.org/u/jademan)\
**Post date:** [May 26, 2022, 8:42pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/42 "2022-05-26T20:42:40Z")

</div>

> [@](#):
>
> I am running audacity-win-3.0.5-64bit.

So, is this an older project you are working on? If this project was created by “audacity-win-3.0.5-64bit”, then your .aup file will actually be a .aup3 file. When you follow the instructions, be very very careful to follow them exactly. Otherwise, it is garbage in, garbage out.

> [@](#):
>
> 1. Copy your defective .aup3 project, then move the copy to this same AudRepair directory, and rename it to “broken.aup3”.

Normally, Windows does not display file extensions by default. To have them displayed, open File Manager (click on the File Explorer icon located in the taskbar), then near the top of the box, click on the “View” tab. Then about 3/4 of the way over, you will see a column with 3 checkboxes. Check the box labelled “File name extensions”. Then Windows will start showing the extensions of you files.

---

<div class="post-metadata">

**Author:** ![texas\_t](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/t/b487fb/32.png) [@texas\_t](https://forum.audacityteam.org/u/texas_t)\
**Post date:** [June 6, 2022, 8:16pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/43 "2022-06-06T20:16:56Z")

</div>

idk if i did this right, but i got a recovered project file with no audio but the right amount of channel tracks. what should i do now?

---

<div class="post-metadata">

**Author:** ![jademan](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/jademan/32/39309_2.png) [@jademan](https://forum.audacityteam.org/u/jademan)\
**Post date:** [June 6, 2022, 8:58pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/44 "2022-06-06T20:58:29Z")

</div>

> [@](#):
>
> idk if i did this right, but i got a recovered project file with no audio but the right amount of channel tracks. what should i do now?

Although the recovery procedure does recover a great many projects, there are unfortunately a few projects where recovery is incomplete - in your case 100% incomplete. There is nothing that I know of that can be done. Thank you for your report. ☹

---

<div class="post-metadata">

**Author:** ![bewesch27](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/b/dfb087/32.png) [@bewesch27](https://forum.audacityteam.org/u/bewesch27)\
**Post date:** [June 24, 2022, 4:09am UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/45 "2022-06-24T04:09:03Z")

</div>

@jademan

Hi Jademan. Your help would be greatly appreciated. I recorded this audio with a guest for my podcast and I am having a difficult time recovering the recording.

I have gone thru your step by step process. But, once get to "9: 9) Type “audacity-project-tools -drop\_autosave broken.aup3”

I am receiving the information below on the black screen. “unable to open database file”

Any thoughts here? Thanks!  
  
  
  
06/23/2022 08:57 PM .  
06/23/2022 08:49 PM …  
06/23/2022 08:57 PM audacity-project-tools-1.0.0-win64  
06/23/2022 08:51 PM 1,419,160 audacity-project-tools.exe  
06/23/2022 08:13 PM 407,502,848 broken.aup3.aup3  
06/23/2022 08:51 PM 1,199,512 sqlite3.exe  
3 File(s) 410,121,520 bytes  
3 Dir(s) 204,180,873,216 bytes free

Downloads\audrepair\>audacity-project-tools -drop\_autosave broken.aup3  
unable to open database file

Downloads\audrepair\>

---

<div class="post-metadata">

**Author:** ![jademan](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/jademan/32/39309_2.png) [@jademan](https://forum.audacityteam.org/u/jademan)\
**Post date:** [June 24, 2022, 11:13am UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/46 "2022-06-24T11:13:44Z")

</div>

> [@](#):
>
> Downloads\audrepair\>audacity-project-tools -drop\_autosave broken.aup3  
> unable to open database file

So the database file could not be opened because the file you specified did not exist.

Your file is named broken.aup3.aup3. (It has an extra .aup3 on it). It should be named simply broken.aup3.

This problem is likely due to Windows’ habit of hiding file name extensions - but the problem could be in my instructions 🙂. To show file name extensions, in File Explorer, click on the “View” tab, then check the box “File name extensions”

---

<div class="post-metadata">

**Author:** ![chic](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/c/bc8723/32.png) [@chic](https://forum.audacityteam.org/u/chic)\
**Post date:** [July 6, 2022, 9:33am UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/47 "2022-07-06T09:33:22Z")

</div>

Thanks for making this available

---

<div class="post-metadata">

**Author:** ![voanicholas](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/v/f14d63/32.png) [@voanicholas](https://forum.audacityteam.org/u/voanicholas)\
**Post date:** [July 8, 2022, 3:26am UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/48 "2022-07-08T03:26:48Z")

</div>

I literally created an account just to tell you how much I love you for posting that file recovery solution. I was at my wits end and thought I was going to have to re-record several chapters when I finally stumbled across this fix after hours of scouring every forum I could find. Again… I cannot thank you enough. May you be blessed you wonderful person you.

---

<div class="post-metadata">

**Author:** ![jademan](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/jademan/32/39309_2.png) [@jademan](https://forum.audacityteam.org/u/jademan)\
**Post date:** [July 8, 2022, 10:54am UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/49 "2022-07-08T10:54:09Z")

</div>

> [@](#):
>
> May you be blessed you wonderful person you.

😊 (Blush) I’ll pass your note along to the developers who put this package together.

---

<div class="post-metadata">

**Author:** ![maxibodyalive](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/m/b5ac83/32.png) [@maxibodyalive](https://forum.audacityteam.org/u/maxibodyalive)\
**Post date:** [July 8, 2022, 4:43pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/50 "2022-07-08T16:43:28Z")

</div>

> [@](#):
>
> A new 64-bit Windows/Linux command-line utility is available to help repair broken or corrupt 3.x.x .aup3 Audacity projects. These include projects that fail to open with Error codes 11, 13, 101, and/or with the message “Audacity failed to read from a file in X:”. The utility will not run under 32-bit Windows or under MacOS and it will not work with older 2.x.x .aup files and \_data directories. Complete or partial recovery is not guaranteed.
> 
> Before attempting a project “recovery”, it is best to update to the current version of Audacity. (Would you believe that some broken projects are simply due to bugs in the program?)
> 
> The utility is available here: [GitHub - audacity/audacity-project-tools](https://github.com/audacity/audacity-project-tools)  
> In the right-hand column, look under “Releases” and click on the lastest release (currently 1.01). Then download the appropriate .zip file. I use the win64 package. I have not tested the Linux package.
> 
> Here are the steps I use for Windows:
> 
> 1. Check there is sufficient storage to recover your project. You will need roughly 4 times the size of your .aup3 for a successful recovery. If you have a 10GB file, you should have at lease 40GB available.
> 2. In your Downloads directory, create a new sub-directory “AudRepair”.
> 3. Unzip the audacity-project-tools which you downloaded and move the two .exe files into AudRepair.
> 4. Copy your defective .aup3 project, then move the copy to this same AudRepair directory, and rename it to “broken.aup3”.
> 5. Press +R, and type “cmd”. A (black) cmd screen will appear.
> 6. Navigate to your Downloads directory by typing the line “cd Downloads”.
> 7. Navigate to your AudRepair directory by typing “cd AudRepair”.
> 8. Type “dir”. The following three files should be listed: audacity-project-tools.exe, broken.aup3, and sqlite3.exe
> 9. Type “audacity-project-tools -drop\_autosave broken.aup3”
> 10. The message “Project requires Audacity 3.0.0” will appear.
> 11. When the command prompt reappears, type “dir” again. If a “broken.recovered.aup3” file appears, try opening this file in Audacity. If this opens properly, we are done.
> 12. Otherwise, type “audacity-project-tools -recover\_db -recover\_project broken.aup3”
> 13. The messages “Project requires Audacity 3.0.0”, and “Using ‘sqlite3.exe’ for recovery” will appear. Later the message “Executing query #xxxx…” will appear as the rescued file is being recreated. Note: This process can take quite a while depending on your specific machine. There is no status (or % completion) indicator, so you just have to be patient. I plan 15-30 minutes per GB. Hopefully, your machine is faster. Keep an eye on available disk space. Also, due to a glitch in the software, or Windows, or on my machine, I type-ahead one charater, for example “z”. This character will appear on the command line when I am done, and I simply backspace over it. If I do not do this, the process may never complete. Why? I have no idea.
> 14. If the messages “Invalid block xxxx: Block not found”, check to see if some audio was silenced - typically near your most recent edits. Usually these message are spurious.
> 15. When the process completes, your should be able to open the “broken.recovered.aup3” in Audacity. The message “File not saved properly” will appear the first time you open the recovered project. This is normal and you can ignore this message.

You saved my AUP3 project! You’re a genious sir. Your tool should be officialy released by Audacity team. Thank you again!

---

<div class="post-metadata">

**Author:** ![jademan](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/jademan/32/39309_2.png) [@jademan](https://forum.audacityteam.org/u/jademan)\
**Post date:** [July 8, 2022, 5:40pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/51 "2022-07-08T17:40:35Z")

</div>

> [@](#):
>
> You saved my AUP3 project! You’re a genious sir. Your tool should be officialy released by Audacity team. Thank you again!

Thanks for the word. This tool was written and released by the Audacity team - just as it is now.

---

<div class="post-metadata">

**Author:** ![lacuna\_of\_light](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/l/e79b87/32.png) [@lacuna\_of\_light](https://forum.audacityteam.org/u/lacuna_of_light)\
**Post date:** [July 10, 2022, 10:25pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/52 "2022-07-10T22:25:08Z")

</div>

Hello, thank you for this guide! I get to step 9 and get the message “File is not a database.” (Multiple times, I even re-downloaded the tool and started from scratch just in case.) I am on Windows 10 and have the latest version of Audacity, and the broken file is aup3, not aup. Any idea what might be going wrong for me?

---

<div class="post-metadata">

**Author:** ![jademan](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/jademan/32/39309_2.png) [@jademan](https://forum.audacityteam.org/u/jademan)\
**Post date:** [July 10, 2022, 11:21pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/53 "2022-07-10T23:21:15Z")

</div>

> [@](#):
>
> “File is not a database.”

This error message is misleading. The only time people see this error is when the name of their database is misspelled. The error really should be “File does not exist” - but it is a catch all error. Usually the reason the file does not exist is because you have named it broken.aup3.aup3 instead of just broken.aup3.

Sometimes, things can be made a little clearer by asking Windows to show file name extensions. This can be done easily by going to File Explorer (that is the folder icon on your Windows taskbar, selecting the View tab, then checking the box labelled “File name extensions”.

---

<div class="post-metadata">

**Author:** ![lacuna\_of\_light](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/l/e79b87/32.png) [@lacuna\_of\_light](https://forum.audacityteam.org/u/lacuna_of_light)\
**Post date:** [July 11, 2022, 12:31am UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/54 "2022-07-11T00:31:23Z")

</div>

Hm, it can’t be the file extension, I do have those enabled. Maybe I messed up somewhere else? I’ll attach a screenshot, maybe you’ll see something relevant. Thank you so much for being so helpful!  
 ![audrepair screenshot.png](https://forum.audacityteam.org/uploads/default/original/3X/d/c/dc5570eb8e1c4d9dfb26d7dca5bd90ddd9a5a071.png)

---

<div class="post-metadata">

**Author:** ![jademan](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/jademan/32/39309_2.png) [@jademan](https://forum.audacityteam.org/u/jademan)\
**Post date:** [July 11, 2022, 1:11am UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/55 "2022-07-11T01:11:07Z")

</div>

> [@](#):
>
> I’ll attach a screenshot, maybe you’ll see something relevant.

Well, that looks right. 😮😕 Zip it up. Upload it somewhere. I’ll try to take a look at it tomorrow.

---

<div class="post-metadata">

**Author:** ![lacuna\_of\_light](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/l/e79b87/32.png) [@lacuna\_of\_light](https://forum.audacityteam.org/u/lacuna_of_light)\
**Post date:** [July 11, 2022, 2:42am UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/56 "2022-07-11T02:42:53Z")

</div>

> [@](#):
>
> > [@](#):
> >
> > I’ll attach a screenshot, maybe you’ll see something relevant.
> 
> Well, that looks right. 😮😕 Zip it up. Upload it somewhere. I’ll try to take a look at it tomorrow.

Thank you! It looks like I can’t use DMs (probably because I just created my account today), so here’s the link:

---

<div class="post-metadata">

**Author:** ![jademan](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/jademan/32/39309_2.png) [@jademan](https://forum.audacityteam.org/u/jademan)\
**Post date:** [July 11, 2022, 3:14am UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/57 "2022-07-11T03:14:46Z")

</div>

Downloading now…

---

<div class="post-metadata">

**Author:** ![jademan](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/jademan/32/39309_2.png) [@jademan](https://forum.audacityteam.org/u/jademan)\
**Post date:** [July 11, 2022, 12:31pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/58 "2022-07-11T12:31:46Z")

</div>

> [@](#):
>
> so here’s the link

The beginning of this file has .WAV file headers and looks and plays like a .WAV file. How did you create it?

---

<div class="post-metadata">

**Author:** ![jademan](https://forum.audacityteam.org/user_avatar/forum.audacityteam.org/jademan/32/39309_2.png) [@jademan](https://forum.audacityteam.org/u/jademan)\
**Post date:** [July 11, 2022, 3:02pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/59 "2022-07-11T15:02:04Z")

</div>

> [@](#):
>
> Any idea what might be going wrong for me?

OK, I have looked at your .aup3 file. The first 1MB or so of the file have somehow been written over by a .WAV file, which you can see if you do File \> Import \> Raw \> 16-bit PCM, Big Endian. Unfortunately, I don’t have any tools which could allow you to recover from this disaster. You can import the remnants of your .aup3 project as raw data, using File \> Import \> Raw \> 32-bit Float \> Default Endian, where you can almost see your project, but I suspect this will be useless to you. ☹

---

<div class="post-metadata">

**Author:** ![lacuna\_of\_light](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/l/e79b87/32.png) [@lacuna\_of\_light](https://forum.audacityteam.org/u/lacuna_of_light)\
**Post date:** [July 11, 2022, 6:51pm UTC](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162/60 "2022-07-11T18:51:58Z")

</div>

> [@](#):
>
> > [@](#):
> >
> > so here’s the link
> 
> The beginning of this file has .WAV file headers and looks and plays like a .WAV file. How did you create it?

??? I just saved it like normal, I thought? I was in a hurry, my kittens came running in and I wanted to get it saved and closed before they could walk all over the keyboard. I thought I had managed it, but maybe they pressed something? Somehow I created a horrible FrankenWAV?

[Previous page](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162.md?page=2)

[Next page](https://forum.audacityteam.org/t/corrupt-or-otherwise-broken-audacity-project-recovery/64162.md?page=4)
