[GH-ISSUE #295] Unable to create first admin account on Debian 11 #70

Closed
opened 2026-05-07 00:18:24 +02:00 by BreizhHardware · 1 comment

Originally created by @mrqip on GitHub (Feb 21, 2022).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/295

root@bastion:/opt/bastion/bin/admin# /opt/bastion/bin/admin/setup-first-admin-account.sh secret_username auto
Error while trying to decode JSON configuration from file: malformed JSON string, neiter tag, array, object, number, string or atom, at character offset 158 (before "secret_username]",\n"allowedIngre....") at /opt/bastion/lib/perl/OVH/configuration.inc line841.

New minimal debian 11.2 install.

perl-check.sh returns OK
/opt/bastion/bin/admin/packages-check.sh -i throws no errors.

Originally created by @mrqip on GitHub (Feb 21, 2022). Original GitHub issue: https://github.com/ovh/the-bastion/issues/295 root@bastion:/opt/bastion/bin/admin# /opt/bastion/bin/admin/setup-first-admin-account.sh secret_username auto Error while trying to decode JSON configuration from file: malformed JSON string, neiter tag, array, object, number, string or atom, at character offset 158 (before "secret_username]",\n"allowedIngre....") at /opt/bastion/lib/perl/OVH/configuration.inc line841. New minimal debian 11.2 install. perl-check.sh returns OK /opt/bastion/bin/admin/packages-check.sh -i throws no errors.
Author
Owner

@mrqip commented on GitHub (Feb 21, 2022):

Mistakes were made when editing the bastion.conf file : i manually added myself as admin inside the [] brackets.
All sorted!

<!-- gh-comment-id:1046719662 --> @mrqip commented on GitHub (Feb 21, 2022): Mistakes were made when editing the bastion.conf file : i manually added myself as admin inside the [] brackets. All sorted!
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#70
No description provided.