# Snapshot GC failure: error running snapshot gc: unable to find in-use content ID

**URL:** <https://kopia.discourse.group/t/snapshot-gc-failure-error-running-snapshot-gc-unable-to-find-in-use-content-id/1257>\
**Category:** Support\
**Created:** [July 6, 2022, 10:26am UTC](https://kopia.discourse.group/t/snapshot-gc-failure-error-running-snapshot-gc-unable-to-find-in-use-content-id/1257 "2022-07-06T10:26:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://kopia.discourse.group/u/Matt)\
**Post date:** [July 6, 2022, 10:26am UTC](https://kopia.discourse.group/t/snapshot-gc-failure-error-running-snapshot-gc-unable-to-find-in-use-content-id/1257/1 "2022-07-06T10:26:13Z")

</div>

I do a monthly maintenance job on my Kopia instance and have encountered an issue:

```auto
docker run --user 0 --rm -e KOPIA_PASSWORD=password -e override-hostname=kopia-server -e TZ=Australia/Sydney kopia/kopia:latest maintenance run
2022-07-06T20:09:48.750275+10:00 Running full maintenance...
2022-07-06T20:09:49.502034+10:00 Looking for active contents...
2022-07-06T20:10:05.677816+10:00 ERROR error processing /xteve/root/cache/images/87ce9acea8a70e89954177a329e4309c.jpg: error verifying **-hash-** : error getting content info for **-hash-** : content not found
2022-07-06T20:10:08.266956+10:00 Finished full maintenance.
2022-07-06T20:10:18.167795+10:00 ERROR snapshot GC failure: error running snapshot gc: unable to find in-use content ID: error processing snapshot root: error verifying **-hash-** : error getting content info for **-hash-** : content not found

```

This has occurred after I had a power outage during an active backup.

I saw a similar issue raised previously that was sorted by a direct Discord support discussion and am wondering if there was a solution that can be applied.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://kopia.discourse.group/u/Matt)\
**Post date:** [July 6, 2022, 10:57pm UTC](https://kopia.discourse.group/t/snapshot-gc-failure-error-running-snapshot-gc-unable-to-find-in-use-content-id/1257/2 "2022-07-06T22:57:59Z")

</div>

Easily fixed (when you know what you’re doing). All it took was:

```auto
snapshot fix invalid-files
snapshot fix invalid-files --commit

```

I’m in awe of the stability and flexibility of Kopia. Thanks again to @[jkowalski](https://kopia.discourse.group/u/jkowalski) and all of the contributors.
