Community
OpenEnergyMonitor

OpenEnergyMonitor Community

Update .git/objects is corrupt

Tags: #<Tag:0x00007fc0ab836cd8>

How is best way to fix this:
Starting update via service-runner-update.sh (v3.0) >

  • emonSD version: emonSD-17Oct19
  • supported images: emonSD-24Jul20 emonSD-02Oct19 emonSD-17Oct19
  • emonSD base image check passed…continue update
    git pull /opt/openenergymonitor/EmonScripts
    master
  • stable
    error: object file .git/objects/63/b614b2ce644039e2bd3a983787cceeed502768 is empty
    error: object file .git/objects/63/b614b2ce644039e2bd3a983787cceeed502768 is empty
    fatal: loose object 63b614b2ce644039e2bd3a983787cceeed502768 (stored in .git/objects/63/b614b2ce644039e2bd3a983787cceeed502768) is corrupt
    error: object file .git/objects/63/b614b2ce644039e2bd3a983787cceeed502768 is empty
    fatal: loose object 63b614b2ce644039e2bd3a983787cceeed502768 (stored in .git/objects/63/b614b2ce644039e2bd3a983787cceeed502768) is corrupt

First take a backup!

Rerun the update, might just have been a git/network glitch.

Get a new SD Card and start with a new image.

How do move all my seeings and data to a new SD card, sounds drastic,
Never updated from day 1 when received card.
There must be a way to fix it without doing that.

See pinned message

If the card is failing (hence my advice to take a backup urgently), then no, that is the only option.

Anything else is likely to be highly complex.