Hey guys,
i have some very old repositories, created with one of the very first seafile version created. I cannot recover the files in the repo (all files are created with 0 Bytes), the repair and export function from seaf-fsck fail with an “cannot decompress” error.
I tested some things yesterday with Gemini and found out you used a not supported algorithmen in version of seafile before version 5. But i cannot find such an old version any more online.
Can you provide me with such an early tar.gz version to just extract my files out of the repos? Or is there any other way to export my data out of these repositories?
Thanks,
Steffen
Which Seafile version do you use?
Based on what you described, Seafile cannot provide an old tar.gz release as a recovery mechanism for the repository data. The supported recovery path is to run seaf-fsck against the storage and export whatever is still readable; for corrupted objects, fsck may repair the library by setting damaged files or directories to empty and report the affected paths so they can be recovered from another source. Export also only works for unencrypted libraries.
If seaf-fsck --export is failing with a decompression error, that usually means the needed internal objects are already corrupted or missing, so there may not be a way to reconstruct those files from Seafile itself. The realistic next steps are:
- check whether you have any old backup or snapshot of the data directory,
- verify whether the library was ever synced to another computer that still has intact copies,
- rerun
seaf-fsck to export any remaining readable data.
Hey Daniel, using the current Seafile 13 in a docker environment.
I don’t have a data backup (yes, blame me for that, but happend). The repos are so old that you did not even had an encryption option back then, last (real) commits were 2012. Gemini told me the seafile algorithm was switched somewhere around seafile 6/7, therefore the current version cannot decompress these old repositories.
The fsck cannot decompress any files but the data is still there, one repo for instance has 13 GB of files in it. Gemini even hacked me a script to export some data which even succeeded, but only with a very limit amount of files.
No chance of getting a binary version of seafile from 2012/2013 era? Guess that would save me, i just need a single export.
I’m sorry the earliest version we have is 6.1.9, which is likely hard to install on your machine.
Already tried that (used a Ubuntu 16 Docker Container), but even that fsck seems to be too old, e.g. could not extract the data from the repository.
*too young, sorry….. Gemini told me the switch was between 5.x and 6.x.