github Pouzor/homelable v3.3.1

5 hours ago

Homelable 3.3.1

Patch release fixing an upgrade path from 3.2.0: on some databases, approving a device — or creating any node — failed after moving to 3.3.0.

The 3.3.0 migration moves the device facts from nodes onto the Device Inventory and then drops the old columns. When a single node could not be linked to an inventory row, the whole backfill was abandoned and the columns stayed, with a NOT NULL constraint the new code no longer satisfies. Every node insert then failed with NOT NULL constraint failed: nodes.status.

Affected installs repair themselves on the next start. Nothing to do by hand, and no data is lost.

Full changelog

Fixes

  • Approving a device no longer fails after an upgrade from 3.2.0. The backfill now isolates each node, so one it cannot link no longer costs the others, and the retained columns stop blocking writes while later starts retry. (#352, reported in #351 — thanks @Ic3w0lf)

Don't miss a new homelable release

NewReleases is sending notifications on new releases.