don't embed ansi escape codes in appkey

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: https://github.com/BookStackApp/BookStack/issues/5289#issuecomment-2453680653
This commit is contained in:
pfeyz 2025-12-06 19:40:32 -05:00 committed by GitHub
parent 18bdc16361
commit 11152fe266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,4 +6,4 @@ mkdir -p \
touch /config/log/bookstack/laravel.log
php /app/www/artisan key:generate --show
php /app/www/artisan key:generate --show --no-ansi