Closed
Description
Host: Ubuntu Server 16.04.05
No errors reported in the docker log, but the laravel.log file reported cipher errors:
[2019-01-25 04:23:22] production.ERROR: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. {"exception":"[object] (RuntimeException(code: 0): The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. at /var/www/html/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:43)
Full log: https://pastebin.com/RjFJXfKY
Turned on APP_DEBUG, found that all DB related ENV variables were set correctly, but APP_KEY
was still set to SomeRandomString
, even though /config/BOOKSTACK_APP_KEY.txt
had a valid value.
I was able to get this working by manually editing the /config/www/.env
file with the output from php artisan key:generate
.
I'm not configuring the container by landing a custom /config/www/.env
, but this should probably be fixed for others.
I suspect this sed command isn't working as it should be: