fix(akaunting): add --force to artisan key:generate
Without --force, Laravel Prompts tries an interactive confirmation that fails in a non-interactive script, leaving APP_KEY unset (HTTP 500).
This commit is contained in:
@@ -50,7 +50,7 @@ CACHE_DRIVER=file
|
||||
SESSION_DRIVER=file
|
||||
QUEUE_CONNECTION=sync
|
||||
EOF
|
||||
$STD php artisan key:generate
|
||||
$STD php artisan key:generate --force
|
||||
mkdir -p storage/framework/{cache,sessions,views} storage/logs bootstrap/cache
|
||||
chown -R www-data:www-data /opt/akaunting
|
||||
chmod -R 775 storage bootstrap/cache
|
||||
|
||||
Reference in New Issue
Block a user