Closed lapineige closed 5 years ago
It seems that you interrupted it while writing an archive? How does the file look to you at line 1870349? I'm suspecting that it just ends abruptly and that in effect you have data loss. In that case, I think your only option is to restore your archive from backup. Do you have a file that ends in .json~
that is larger than your archive? If so, you can try renaming it. Before saving the archive, we rename the old one and append a tilde just in case.
How does the file look to you at line 1870349?
Well I don't know which file it is, they are many of them. The json ?
Do you have a file that ends in .json~ that is larger than your archive?
Well, current archive is 83Mo, json~ one is 500Mo… I guess that normal, as I interrupted the writing shortly after it started ?
Before saving the archive, we rename the old one and append a tilde just in case.
That's pretty clever ! I actually have a backup, but 1 month old, so that will save me a lot of time ! Thanks a lot :)
My archive seems to be broken. I launched a mastodon-archive command by mistake, and interrupted it during the
Loading archive
step. Now running any mastodon-archive command (including archiving) raise an error:How can I fix this ?