[GH-ISSUE #459] Upgrade errors: [ERR.] <x> doesn't seem to be a valid bastion group #118

Closed
opened 2026-05-07 00:19:08 +02:00 by BreizhHardware · 1 comment

Originally created by @KarlAustin on GitHub (Mar 26, 2024).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/459

When upgrading we're running into an issue where the upgrade script regenerates group sudoers files:
*** Regenerating all groups sudoers files from templates -> [ERR.] key<X> doesn't seem to be a valid bastion group -> [ERR.] key<Y> doesn't seem to be a valid bastion group ... -> [ERR.] Failed generating 13 sudoers

We hadn't up until now wanted to use SFTP or SCP wrappers, so on the basis of "it's working, don't break it" we're on v3.11.01. The error happens even when trying to go to 3.11.02.

OS: Ubuntu 22.04 LTS

Any help to fix without tearing it all down would be appreciated.

Thanks,

Karl

Originally created by @KarlAustin on GitHub (Mar 26, 2024). Original GitHub issue: https://github.com/ovh/the-bastion/issues/459 When upgrading we're running into an issue where the upgrade script regenerates group sudoers files: `*** Regenerating all groups sudoers files from templates -> [ERR.] key<X> doesn't seem to be a valid bastion group -> [ERR.] key<Y> doesn't seem to be a valid bastion group ... -> [ERR.] Failed generating 13 sudoers ` We hadn't up until now wanted to use SFTP or SCP wrappers, so on the basis of "it's working, don't break it" we're on v3.11.01. The error happens even when trying to go to 3.11.02. OS: Ubuntu 22.04 LTS Any help to fix without tearing it all down would be appreciated. Thanks, Karl
Author
Owner

@KarlAustin commented on GitHub (Mar 26, 2024):

Fix: I had a moment, the server had been rebooted and I didn't mount the encrypted home. I'm going to go sit in the corner and give myself a talking to.

<!-- gh-comment-id:2020276249 --> @KarlAustin commented on GitHub (Mar 26, 2024): Fix: I had a moment, the server had been rebooted and I didn't mount the encrypted home. I'm going to go sit in the corner and give myself a talking to.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#118
No description provided.