Skip to content

Commit

Permalink
πŸš‘ Fix appkey generation for new installs (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairpaul authored Feb 12, 2023
1 parent 99d5d33 commit 5191c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bookstack/rootfs/etc/cont-init.d/bookstack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ ln -s /data/bookstack/uploads /var/www/bookstack/public/uploads
# Create API key if needed
if ! bashio::fs.file_exists "/data/bookstack/appkey.txt"; then
bashio::log.info "Generating app key"
key=$(php8 /var/www/bookstack/artisan key:generate --show)
key=$(php81 /var/www/bookstack/artisan key:generate --show)
echo "${key}" > /data/bookstack/appkey.txt
bashio::log.info "App Key generated: ${key}"
fi
Expand Down

0 comments on commit 5191c4a

Please sign in to comment.