github new-usemame/Calibre-Web-NextGen v4.0.116
v4.0.116 — User.view_settings NULL no longer 500s the entire web UI

latest release: v4.0.117
2 hours ago

What's new

docker pull ghcr.io/new-usemame/calibre-web-nextgen:v4.0.116

(or :latest)

Fixes a per-user web UI lockout when view_settings was NULL

If your user.view_settings column ended up NULL (rows imported from older schemas, raw SQL admin tools, etc.), the affected user got a 500 on every page that consults view_settings — /, /book/<id>, /table. That's AttributeError: 'NoneType' object has no attribute 'get' from User.get_view_property.

This release adds a one-time startup migration that normalizes any NULL view_settings to '{}'. Idempotent — re-runs on subsequent restarts are no-ops. Log line on first run reports how many rows were normalized.

No action needed on your part. Migration runs automatically on container start.

If you saw symptoms like "the home page works for some users but 500s for others," this release fixes that.

Don't miss a new Calibre-Web-NextGen release

NewReleases is sending notifications on new releases.