[Bug] SQLite schema failed to validate #1130

Closed
opened 2025-12-29 02:28:28 +01:00 by adam · 1 comment
Owner

Originally created by @wolfcdd on GitHub (Oct 30, 2025).

Is this a support request?

  • This is not a support request

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

v0.26.1 to v0.27.0

Expected Behavior

everything went smoothly and the upgrade was successful.

Steps To Reproduce

v0.26.1 to v0.27.0

Environment

- OS:Debian 12
- Headscale version: 
Docker for Headscale
version:headscale/headscale:latest
- Tailscale version: 1.90.4

Runtime environment

  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

Debug information

SQLite schema failed to validate:

>> Remove table "kvs"

>> Remove table "machines"

2025-10-30T06:31:17Z FTL home/runner/work/headscale/headscale/cmd/headscale/cli/serve.go:32 > Error initializing error="creating new headscale: init state: init database: validating schema: invalid schema (-got, +want):\n\n>> Remove table "kvs"\n\n>> Remove table "machines"\n"

Originally created by @wolfcdd on GitHub (Oct 30, 2025). ### Is this a support request? - [x] This is not a support request ### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior v0.26.1 to v0.27.0 ### Expected Behavior everything went smoothly and the upgrade was successful. ### Steps To Reproduce v0.26.1 to v0.27.0 ### Environment ```markdown - OS:Debian 12 - Headscale version: Docker for Headscale version:headscale/headscale:latest - Tailscale version: 1.90.4 ``` ### Runtime environment - [ ] Headscale is behind a (reverse) proxy - [x] Headscale runs in a container ### Debug information SQLite schema failed to validate: \>> Remove table "kvs" \>> Remove table "machines" 2025-10-30T06:31:17Z FTL home/runner/work/headscale/headscale/cmd/headscale/cli/serve.go:32 > Error initializing error="creating new headscale: init state: init database: validating schema: invalid schema (-got, +want):\n\n>> Remove table "kvs"\n\n>> Remove table "machines"\n"
adam added the bugdatabase labels 2025-12-29 02:28:28 +01:00
adam closed this issue 2025-12-29 02:28:28 +01:00
Author
Owner

@angelbarrera92 commented on GitHub (Oct 31, 2025):

Same here

@angelbarrera92 commented on GitHub (Oct 31, 2025): Same here
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1130