[GH-ISSUE #473] Error when installing with ttyrec #122

Closed
opened 2026-05-07 00:19:11 +02:00 by BreizhHardware · 6 comments

Originally created by @Seyfle on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/473

Hello,
I'm trying to install the bastion without docker, when I run the command /opt/bastion/bin/admin/install --new-install I have the following error ~ [!] Couldn't chown ttyrec directory (Invalid argument).

Did I do something wrong ?

Thanks for your reply :).

Originally created by @Seyfle on GitHub (Apr 22, 2024). Original GitHub issue: https://github.com/ovh/the-bastion/issues/473 Hello, I'm trying to install the bastion without docker, when I run the command `/opt/bastion/bin/admin/install --new-install` I have the following error `~ [!] Couldn't chown ttyrec directory (Invalid argument)`. Did I do something wrong ? Thanks for your reply :).
Author
Owner

@codyro commented on GitHub (Apr 22, 2024):

What version of Perl are you running?

<!-- gh-comment-id:2069504831 --> @codyro commented on GitHub (Apr 22, 2024): What version of Perl are you running?
Author
Owner

@Seyfle commented on GitHub (Apr 22, 2024):

Hello Cody,

I'm using Perl v5.30.0.

<!-- gh-comment-id:2069561533 --> @Seyfle commented on GitHub (Apr 22, 2024): Hello Cody, I'm using Perl v5.30.0.
Author
Owner

@dwydler commented on GitHub (May 3, 2024):

Which operating system and version do you use?

<!-- gh-comment-id:2093646325 --> @dwydler commented on GitHub (May 3, 2024): Which operating system and version do you use?
Author
Owner

@speed47 commented on GitHub (Jul 3, 2024):

@Seyfle This is as if the accountCreate helper got invalid arguments from the accountCreate plugin, regarding the UID to use, which shouldn't happen. Without more info or debug logs, I can't investigate.

Please enable debug (https://ovh.github.io/the-bastion/administration/configuration/bastion_conf.html?highlight=debug#debug), retry, and post the logs here if you still have the error.

<!-- gh-comment-id:2205892617 --> @speed47 commented on GitHub (Jul 3, 2024): @Seyfle This is as if the accountCreate helper got invalid arguments from the accountCreate plugin, regarding the UID to use, which shouldn't happen. Without more info or debug logs, I can't investigate. Please enable debug (https://ovh.github.io/the-bastion/administration/configuration/bastion_conf.html?highlight=debug#debug), retry, and post the logs here if you still have the error.
Author
Owner

@speed47 commented on GitHub (Oct 16, 2024):

Closing as inactive, please reopen with the debug logs if needed :)

<!-- gh-comment-id:2416625521 --> @speed47 commented on GitHub (Oct 16, 2024): Closing as inactive, please reopen with the debug logs if needed :)
Author
Owner

@Hugo1380 commented on GitHub (Jan 9, 2025):

I had a similar error, I don't know if it was exactly the same error, but for me the problem was that I had installed The Bastion on an unprivileged Proxmox container. After several retries, I tried using a privileged container, which seems to be the solution in my case.

My guess, which needs to be confirmed, is that in unprivileged mode the container cannot create an account if the UUIDs are 99999 and 99998.

I hope this can helps others.

<!-- gh-comment-id:2581364918 --> @Hugo1380 commented on GitHub (Jan 9, 2025): I had a similar error, I don't know if it was exactly the same error, but for me the problem was that I had installed The Bastion on an unprivileged Proxmox container. After several retries, I tried using a privileged container, which seems to be the solution in my case. My guess, which needs to be confirmed, is that in unprivileged mode the container cannot create an account if the UUIDs are 99999 and 99998. I hope this can helps others.
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#122
No description provided.