patrickfog

Q: Is there a way to repair a corrupted Final Cut Pro X library database file?

I was working on a project today and for some reason Final Cut Pro X crashed.  When I reopened Final Cut Pro X, my library reopened, but it reopened without any events or media, and no projects.  Where there is usually an "Event icon" (the purple Icon with a white star) on the Library Browser, now it shows an expandable folder (with an arrow you can click on) with no contents inside.  Upon closer inspection of the Library File ('Show Package Contents"), it shows all of the correct folders and files to make up all of the Events and Projects, but it will not open in FCPX correctly. I have an old backup of my library, but it does not have any of the numerous changes I have made over the past week to the project, so I still have all of my media secure, I just done want to lose my work.  I also turned off auto-library backups when I noticed that backups of all of the media was filling up my boot drive.

 

Any ideas on how to repair the database files that seem to be corrupted?

 

FYI, I am using Final Cut Pro X 10.1.1 on an OS X Mavericks Mac Pro. 

 

Thanks for any help.

Final Cut Pro X, OS X Mavericks (10.9.1)

Posted on May 8, 2014 3:39 PM

Close

Q: Is there a way to repair a corrupted Final Cut Pro X library database file?

  • All replies
  • Helpful answers

Page 1 Next
  • by Russ H,

    Russ H Russ H May 8, 2014 3:40 PM in response to patrickfog
    Level 7 (21,825 points)
    Quicktime
    May 8, 2014 3:40 PM in response to patrickfog

    What works for some users in similar circumstances is to trash the flexolibrary file (the database you ask about) – with FCP X closed, of course. When the app  is relaunched, it rebuilds the file.

     

    Best of luck.

     

    Russ

  • by patrickfog,

    patrickfog patrickfog May 8, 2014 3:47 PM in response to Russ H
    Level 1 (0 points)
    May 8, 2014 3:47 PM in response to Russ H

    I have tried trashing the flexolibrary, but it did not do anything to help.  Basically no changes occurred.  I have also tried manually manipulating an old backup of my corrupted library file, where I would copy elements of the corrupted one into the old one.  Nothing positive has happened yet to make this work.  Thanks!

  • by Russ H,

    Russ H Russ H May 8, 2014 4:10 PM in response to patrickfog
    Level 7 (21,825 points)
    Quicktime
    May 8, 2014 4:10 PM in response to patrickfog

    Sorry…and I do feel your pain.

     

    This morning – for inexplicable reasons – I found that I could not work with three libraries. At first I just got a lot of 60 second beachballs, biut soon things spun out if control and I couldn't open them from Final Cut. Like you, everything lookedfine inside the bundle. I tried a long list of fixes and when I decided to rebuild the database, the Finder would not let me trash the flexolibrary. (Nor would it even let me rename the library.)  FCP Backups would not work either. Even restoring from Time Machine, FCP X would not open a version of these  libraries.

     

    After a lot of sweat and swearing, things seem to be fine again. I removed the Time Machine destination drive from the network, rebooted the system and life is – for now anyhow – good again.   

     

    Rss

  • by whex5,

    whex5 whex5 Mar 7, 2015 8:20 AM in response to patrickfog
    Level 1 (0 points)
    Mar 7, 2015 8:20 AM in response to patrickfog

    I used a library back up and fixed it i just had to move the files from my old library to the back up but it worked perfectly. Hope this helps!

  • by miika_p,

    miika_p miika_p Apr 13, 2016 4:47 AM in response to patrickfog
    Level 1 (4 points)
    Apr 13, 2016 4:47 AM in response to patrickfog

    I'm facing the very same issue as described in the first post with the newest FCPX. Only arrow of expandable folder shown in the library but no files. This happened only for one event among many. What would be the way to solve this?

  • by Tom Wolsky,

    Tom Wolsky Tom Wolsky Apr 13, 2016 5:15 AM in response to miika_p
    Level 10 (118,318 points)
    Apple TV
    Apr 13, 2016 5:15 AM in response to miika_p

    PPlease post screenshots of what you're seeing.

  • by miika_p,

    miika_p miika_p Apr 13, 2016 5:56 AM in response to Tom Wolsky
    Level 1 (4 points)
    Apr 13, 2016 5:56 AM in response to Tom Wolsky

    Here, third row is an event just like any other, just shown empty for some reason.

    ScreenShot_FCPX.png

     

    I'm able to see the data inside the event when I open the library in the finder. So all files are there but not shown in FCPX.

    ScreenShot_finder.png

     

    Thanks for your support!

  • by miika_p,

    miika_p miika_p Apr 14, 2016 6:17 AM in response to Tom Wolsky
    Level 1 (4 points)
    Apr 14, 2016 6:17 AM in response to Tom Wolsky

    Any idea how to fix that one event? I would not like to import all the 250GB videos again to FCPX just because of this. I'm happy those videos still exist so I could import them (not even used in projects yet) but would like to see some solution for the database issue...

     

    Edit.

    This is what I have recently tried.

    1. Remove CurrentVersion.fcpevent file from corrupted event while FCPX is closed --> No effect

    2. Remove CurrentVersion.flexolibrary file from corrupted library while FCPX is closed to rebuild it --> The corrupted event disappeared totally from FCPX. So now i don't see even the empty event.

  • by miika_p,

    miika_p miika_p Apr 17, 2016 10:20 AM in response to miika_p
    Level 1 (4 points)
    Apr 17, 2016 10:20 AM in response to miika_p

    Does anyone have any ideas how to solve this? Should I just re-import everything? Still I think we should find a solution for this as if I would have used the videos already re-importing them would not be an option...

  • by Tom Wolsky,

    Tom Wolsky Tom Wolsky Apr 17, 2016 10:27 AM in response to miika_p
    Level 10 (118,318 points)
    Apple TV
    Apr 17, 2016 10:27 AM in response to miika_p

    If you did them in that order, 1 then 2, the event will be lost. You need to to do 2 then 1 if this will have a chance to work. I don't know if putting the fcpevent file back will help at this stage.

     

    Which fcpevent file did you move? I hope the one at the top level of the event, not the one inside the project folder.

     

    Sorry to not get back to you sooner, but I missed your messages when the forums were done and notifications became disabled.

  • by miika_p,

    miika_p miika_p Apr 17, 2016 11:12 AM in response to Tom Wolsky
    Level 1 (4 points)
    Apr 17, 2016 11:12 AM in response to Tom Wolsky

    Thanks Tom. So I did them in wrong order. First 1 and then 2.

     

    I tried putting back the .fcpevent file to this problematic event folder but it had no difference. Event did not appear again. I also tried removing the flexolibrary file again with no effect (meaning doing those steps again in your order). Also restarted my mac in between just to make sure.

  • by Tom Wolsky,

    Tom Wolsky Tom Wolsky Apr 17, 2016 11:21 AM in response to miika_p
    Level 10 (118,318 points)
    Apple TV
    Apr 17, 2016 11:21 AM in response to miika_p

    UUnless you have a backup I'm afraid it's gone.

  • by miika_p,

    miika_p miika_p Apr 17, 2016 12:28 PM in response to Tom Wolsky
    Level 1 (4 points)
    Apr 17, 2016 12:28 PM in response to Tom Wolsky

    Backup of the whole library or backup of those small fcpevent/flexolibrary files? I will just re-import the videos to new event but would still like to get this solved for the future and for others having similar issues.

  • by Tom Wolsky,

    Tom Wolsky Tom Wolsky Apr 17, 2016 12:47 PM in response to miika_p
    Level 10 (118,318 points)
    Apple TV
    Apr 17, 2016 12:47 PM in response to miika_p

    WWhole library. The default backup location is in the Movies folder.

Page 1 Next