headscale version gives unexpected output #294

Closed
opened 2025-12-29 01:26:17 +01:00 by adam · 4 comments
Owner

Originally created by @Chaz6 on GitHub (Jul 16, 2022).

When running headscale version, instead of displaying version information, it displays the following output:-

2022-07-16T14:34:20Z WRN 'ip_prefixes' not configured, falling back to default: [100.64.0.0/10]

Version: 0.16.0-beta3 on Linux 4.18.0-372.16.1.el8_6.x86_64 with go 1.18.

Originally created by @Chaz6 on GitHub (Jul 16, 2022). When running `headscale version`, instead of displaying version information, it displays the following output:- ``` 2022-07-16T14:34:20Z WRN 'ip_prefixes' not configured, falling back to default: [100.64.0.0/10] ``` Version: 0.16.0-beta3 on Linux 4.18.0-372.16.1.el8_6.x86_64 with go 1.18.
adam added the bug label 2025-12-29 01:26:17 +01:00
adam closed this issue 2025-12-29 01:26:17 +01:00
Author
Owner

@TrooperT commented on GitHub (Jul 22, 2022):

Sounds like your config file is missing ip_prefixes and it's generating a warning that it's choosing the default: 100.64.0.0/10 prefix for the tailnet.

@TrooperT commented on GitHub (Jul 22, 2022): Sounds like your config file is missing ip_prefixes and it's generating a warning that it's choosing the default: 100.64.0.0/10 prefix for the tailnet.
Author
Owner

@restanrm commented on GitHub (Jul 22, 2022):

That is right, but I think that we shouldn't expect Headscale to have a valid configuration file just to get the current version.

@restanrm commented on GitHub (Jul 22, 2022): That is right, but I think that we shouldn't expect Headscale to have a valid configuration file just to get the current version.
Author
Owner

@kradalby commented on GitHub (Jul 22, 2022):

This is some handling of a deprecated config option, I think we can remove this soon and also get rid of the output. Lets do this for 0.17

@kradalby commented on GitHub (Jul 22, 2022): This is some handling of a deprecated config option, I think we can remove this soon and also get rid of the output. Lets do this for 0.17
Author
Owner

@ctermiii commented on GitHub (Sep 2, 2022):

Run this command under head scale config file directory will act as expected.

@ctermiii commented on GitHub (Sep 2, 2022): Run this command under head scale config file directory will act as expected.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#294