Corrupt or Otherwise Broken Audacity Project Recovery

After repairing the laptop, I had to download the application, but for some reason the audio recording comes with an echo and sound playback. Advise what to do?

This post is not relevant to this topic and is a duplicate of this post here: ŃŃ…Š¾Š¼ Šø искажением звука

which has been answered.

hey there @jademan, I’m at a complete loss right now with one of my project files. The drive I was recording to got disconnected mid-session and it looks like everything is lost. I was able to find one file in the session data folder but have been unsuccessful recovering it. Every command gives me the ā€œdatabase disk image is malformedā€ error. I was able to run ā€œ-recover_dbā€ however when I try to open the file or run any more of the recovery commands I get the error:

ā€œProject requires Audacity 21.149.85
Unsupported project versionā€

At this point I’m pretty sure I’m SOL, but if there’s any way you know how to recover any audio I’d be eternally grateful. Thanks again.

EDIT: link to file Corrupt Audacity File - Google Drive

So the link for ā€œUnsupported Project Versionā€ from Corrupt or Otherwise Broken Audacity Project Recovery was apparently lost as a result of the forum migration, @LWinterberg, but you should be able to find the solution in the last post here: Recover project - Audacity 80.156.6

I was wondering if I could send you an audacity file of mine that was suddenly corrupted. I’m not very good with coding and such.

Just so you know, I am NOT doing this anymore. If you want to make a general plea, I suppose you could post your .aup3 somewhere and someone else might take a look at it. Good luck. You could also try Discord: Audacity

  1. Type ā€œaudacity-project-tools -drop_autosave broken.aup3ā€

You are amazing!!! THANKS A LOT!!!
It worked!!!

Hi I am really not good at this BUT fought my way through only to get this message.

C:\Users\Steve\OneDrive\Desktop\Audacilty\AudRepair>audacity-project-tools -drop_autosave broken.aup3
Project requires Audacity 3.1.0

It would seem that the tools are not updated for version 3.3 :(:(:(:frowning:

I have to start all over…

A sad day - any other help available??

Steven

This is an informational message, NOT an error. Because the project database has an underlying XML format, the recovery tool operates independently of project version.

Hello, I need help. I’ve tried following the instructions and downloaded the audacity-project-tools from github, but i cant find any .exe files in the zip folder. Yes, extensions are visible. What do?

So what did you find there? Did you look in the subdirectory ?

I created an account just so I could say that this was an amazing post! I’ve been using audacity for my podcast and had just completed hours of editing, when Audacity crashed and my file was corrupted. I don’t code (though grew up in the era of DOS games) and these step by step, immaculate instructions saved me hours of work, cursing, and hair pulling. Thank you, you benevelont human!

@jademan can you please try to recover this aup3 file?

https://file.io/yQQ2GEKFIth0

I have been also tried, but after process the sound track is totally empty, this is a very important file for me, so please help me
Thank you!

At step 9 I get the message ā€œdatabase disk image is malformedā€ so I skipped ahead to step 12, where new errors appeared, including ā€œDatabase is badly broken.ā€ I’ll look a little further tomorrow. Is this the only copy of the database you have ?

So there is nothing further I can do with this project. If you don’t have a backup, let me suggest that you re-record the whole thing.

If you are die-hard for punishment, you can use the ā€œ-extract_sample_blocksā€ option to recover your project in 650 neatly unorganized .wav files. Although this process at first might seem appealing, it could take hundreds to thousands of hours to reconstruct your project. And then you don’t even know if it will be complete. :frowning_face: You are on your own here.

I made an attempt in Linux Ubuntu Studio and even following similar steps generates the warning ā€œcommand not foundā€ (highlighted in red in my native language, which is Portuguese).

OS: Ubuntu Studio 23.10
Desktop: Avell MUV

My Linux days are behind me, but I am thinking you might need to add ā€œ./ā€ to tell it to look in the current directory. So:

" audacity-project-tools -recover_db -recover_project broken.aup3"

becomes

ā€œ./audacity-project-tools -recover_db -recover_project broken.aup3ā€

1 Like

Now it worked! It was even faster than the example you gave me, only the completed warning appeared! Thanks!

@jademan
Hey jademan! I can’t open my file with the error code 101 and the message ā€œAudacity failed to read from a file in D:ā€. The Audacity is in version 3.4.2. I have tried the project on Github and followed your instructions step by step. It seems to have finished and I have got the broken.recovered file but it turned out that I can’t open this file either with the same error message. I hope you can see the photo I upload but if not, here is what I get in cmd after running the project.

D:\AudRepair>audacity-project-tools -drop_autosave broken.aup3
Project requires Audacity 3.4.0
DANGER!!! Unsupported Audacity version detected! Project data might be lost! Proceed with caution!

D:\AudRepair>audacity-project-tools -recover_db -recover_project broken.aup3
Project requires Audacity 3.4.0
DANGER!!! Unsupported Audacity version detected! Project data might be lost! Proceed with caution!
Using ā€˜sqlite3.exe’ for recovery
Executing query #21115 (PRAGMA writable_schema = off;)…ks (blockid, sampleformat, summin, summax, sumr)…
Recovered 1776 sample blocks from the database
Invalid block 1008806380989119488: Block not found
Invalid block 1008678: Block not found
Invalid block 1081427942854111239: Block not found
Invalid block 144392265009202944: Block not found
Invalid block 70931694936850432: Block not found
Invalid block 3940649925738748: Block not found

I wonder what else I can do to save my file. It lasts for two hours and took me a lot of time to edit it. T_T I also tried to use version 3.4.0 as the feedback suggested but it didn’t work either.

Thank you a lot for your time.

So it unlikely you will be able to rescue this file.

At first I thought this was similar to this issue: Recover project - Audacity 80.156.6, but now I am thinking that audacity-project-tools needs to be updated from 3.1.3 structures to cover the database changes made in 3.4.0. This would be need to be addressed by @LWinterberg and/or @crsib. Even so, recovery is not guaranteed. It is time for you to find an alternative solution.