The long and the short of it is: I was upgrading my version of Seafile Server from 4.1.2 to 6.x, and forgot that I had been running [for some stupid reason] Seafile as root instead of the seafile user. Well, after the [easy!] upgrade, I started my server back up as the seafile user, only to find many/most of my libraries saying “Broken (please contact your administrator to fix this library)”. Eventually I found my way to the seaf-fsck.sh script, which was able to repair one of my key libraries, but only back to how it was in May of 2015.
Since then, I realized that root owned many of the files in my seafile-data dir, which was the root cause of the issues.
My question is: now that I’ve changed the owner back to seafile, how can I restore this library to the latest commit it should be on?
I’ve also seemingly found the correct HEAD commit by looking at file modification dates in the commits dir of the project in seafile-data. It’s also possible I have other libraries that I’ve repaired and have gone back too far in history. I’ve tried running seaf-fsck again, hoping it’d grab the latest commit, but alas, no go.