Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: unexpected error - database disk image is malformed #4326

Closed
bjonnh opened this issue Aug 3, 2020 · 3 comments
Closed

ERROR: unexpected error - database disk image is malformed #4326

bjonnh opened this issue Aug 3, 2020 · 3 comments
Labels
awaiting response we are waiting for your reply, please respond! :)

Comments

@bjonnh
Copy link
Contributor

bjonnh commented Aug 3, 2020

Bug Report

Please provide information about your setup

Output of dvc version: 1.3.1

Additional Information (if any):

Was doing a dvc pull after another dvc pull that crashed due to a full disk. I think I did a dvc pull in between that worked properly , but I can't say for sure. That's in a repo with 5 dvc files so only the sqlite section of that specific dataset failed.

Here is a full -vv output : https://bjonnh.net/share/out.gz

I tried to dump and restore the sqlite "state" db, but nothing solved the issue so I just deleted the cache, state, locks and files and dvc pulled the full thing again.

Unfortunately I deleted the state file and forgot to make a copy.

@triage-new-issues triage-new-issues bot added the triage Needs to be triaged label Aug 3, 2020
@efiop
Copy link
Contributor

efiop commented Aug 3, 2020

Hi @bjonnh .

I tried to dump and restore the sqlite "state" db, but nothing solved the issue so I just deleted the cache, state, locks and files and dvc pulled the full thing again.

Deleting the .dvc/tmp would be enough. state db is purely for local optimization and deleting it is safe.

@efiop efiop added the awaiting response we are waiting for your reply, please respond! :) label Aug 3, 2020
@triage-new-issues triage-new-issues bot removed the triage Needs to be triaged label Aug 3, 2020
@efiop efiop closed this as completed Aug 15, 2020
@efiop
Copy link
Contributor

efiop commented Aug 15, 2020

Closing for now due to inactivity.

@gregstarr
Copy link

Deleting tmp folder fixed issue for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response we are waiting for your reply, please respond! :)
Projects
None yet
Development

No branches or pull requests

3 participants