Skip to content

Conversation

@pfeyz
Copy link

@pfeyz pfeyz commented Dec 7, 2025

given that it's the recommended way to generate the code in the docs, redirecting stdout will produce an appkey that will make bookstack crash when it runs. this will affect anyone who is trying to automate the initial steps of deployment.

$ docker run -it --rm --entrypoint /bin/bash lscr.io/linuxserver/bookstack:latest appkey > app_key
$ xxd app_key 
00000000: 1b5b 3333 6d62 6173 6536 343a 5344 6d4c  .[33mbase64:SDmL
00000010: 7274 4654 5734 6779 4948 6a30 4954 474b  rtFTW4gyIHj0ITGK
00000020: 6a46 764a 374d 7842 5255 7971 7a68 4c4d  jFvJ7MxBRUyqzhLM
00000030: 4e66 6d53 4e4d 593d 1b5b 3339 6d0d 0a    NfmSNMY=.[39m..

i think this is likely the cause of this issue: BookStackApp/BookStack#5289 (comment)

linuxserver.io


  • [ X] have read the contributing guideline and understand that I have made the correct modifications

Description:

Benefits of this PR and context:

How Has This Been Tested?

Source / References:

given that it's the recommended way to generate the code in the docs, redirecting stdout will produce an appkey that will make bookstack crash when it runs. this will affect anyone who is trying to automate the initial steps of deployment.

i think this is likely the cause of this issue: BookStackApp/BookStack#5289 (comment)
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! Be sure to follow the pull request template!

@LinuxServer-CI
Copy link
Collaborator

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-bookstack:v25.11.5-pkg-a57b173e-dev-11152fe2667fd7b68d1e53de317971edb29781ac-pr-278

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants