[GH-ISSUE #5171] Management service won't start after upgrade to v0.64.0 + BLOB/TEXT column 'key' used in key specification without a key length #10838

Open
opened 2026-08-05 01:27:29 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @melnikovats1 on GitHub (Jan 24, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5171

Describe the problem

Management service won't start due to managemnt/server/migration.go:

FATL management/internals/server/boot.go:62: failed to create store: auto migratePreAuto: Error 1170 (42000): BLOB/TEXT column 'key' used in key specification without a key length

I'm using AWS Aurora MySQL (MySQL 8.0 compatible) as the storage engine.

To Reproduce

Steps to reproduce the behavior:

1. Upgrade to v0.63.0 or higher using AWS Aurora MySQL (MySQL 8.0 compatible) as the storage engine

Expected behavior

I'd expect the management service to run, and not error out and enter a restart loop.

Are you using NetBird Cloud?

Self-hosted

NetBird version

v0.63.0 and can re-create right up to v 0.64.1

Is any other VPN software installed?

No

Debug output

2026-01-24T13:40:02Z FATL management/internals/server/boot.go:62: failed to create store: auto migratePreAuto: Error 1170 (42000): BLOB/TEXT column 'key' used in key specification without a key length

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @melnikovats1 on GitHub (Jan 24, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5171 **Describe the problem** Management service won't start due to managemnt/server/migration.go: FATL management/internals/server/boot.go:62: failed to create store: auto migratePreAuto: Error 1170 (42000): BLOB/TEXT column 'key' used in key specification without a key length I'm using AWS Aurora MySQL (MySQL 8.0 compatible) as the storage engine. **To Reproduce** Steps to reproduce the behavior: 1. Upgrade to v0.63.0 or higher using AWS Aurora MySQL (MySQL 8.0 compatible) as the storage engine **Expected behavior** I'd expect the management service to run, and not error out and enter a restart loop. **Are you using NetBird Cloud?** Self-hosted **NetBird version** v0.63.0 and can re-create right up to v 0.64.1 **Is any other VPN software installed?** No **Debug output** 2026-01-24T13:40:02Z FATL management/internals/server/boot.go:62: failed to create store: auto migratePreAuto: Error 1170 (42000): BLOB/TEXT column 'key' used in key specification without a key length **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here. **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2026-08-05 01:27:29 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10838