Skip to content

Commit 5191c4a

Browse files
authored
🚑 Fix appkey generation for new installs (#206)
1 parent 99d5d33 commit 5191c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎bookstack/rootfs/etc/cont-init.d/bookstack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ ln -s /data/bookstack/uploads /var/www/bookstack/public/uploads
8181
# Create API key if needed
8282
if ! bashio::fs.file_exists "/data/bookstack/appkey.txt"; then
8383
bashio::log.info "Generating app key"
84-
key=$(php8 /var/www/bookstack/artisan key:generate --show)
84+
key=$(php81 /var/www/bookstack/artisan key:generate --show)
8585
echo "${key}" > /data/bookstack/appkey.txt
8686
bashio::log.info "App Key generated: ${key}"
8787
fi

0 commit comments

Comments
 (0)