Closed luizaq closed 3 years ago
Hi @luizaq,
APP_URL
option in the .env
file not being set. Double check this and that it starts with https if changing to https. If definitely correct, check for a /var/www/bookstack/bootstrap/cache/config.php
file and delete it if existing. sudo chown -R www-data:www-data storage/ public/uploads bootstrap/cache
, ran in /var/www/bookstack
. Installation was made using apache and the default script on ubuntu 18.4 and 20.4 .
You've ran both scripts or have installed on one system then re-installed on another?
2 separate installs, same error will try those steps , thank you for the reply @ssddanbrown
Hello,
Same here, http 500 when TLS is set. .env file is correctly set and permissions are okay on the mentioned folders/files.
I am running bookstack with a docker image (solidnerd) in kubernetes. Working well with http but not with https.
I got it working! My best theory as to why it finally worked is that installed the script with the ip address as a server name and moved it to my domain after.
Heres more details in case it might help anyone.
In ubuntu 20 used the Appropriated script .no update. i set Bookstack server name to the server ip adress , because i was over it. Decided to try to move it to my domain.(i own a .dev domain so SSL is required)
All of these steps i took were based on this tutorial: https://nickolas.gupton.xyz/2020/05/21/ubuntu-20.04-bookstack.html 1-Generated the certificate 2-Changed the info on the .conf file and then the .env
Overall the same steps i took quite a few times before, but this time it worked, as if it was mocking me.
Few notes about probably irrelevant steps: I used VIM instead of nano. I didnt run apt upgrade . So the configuration is the stock ubuntu 20. Digital Ocean droplet
Good news @luizaq! Glad to hear you got things working. I'll therefore close this off.
Description: Whenever adding ssl or tls bookstack would show either the giant icons (which there are old issues #996 and #879) Installation was made using apache and the default script on ubuntu 18.4 and 20.4 . Giant Icons- When this happened it the failed to load app.js in the public/dist folder. error continued after re-downloading all files in this folder. Blank page: When the blank page was present , it was an error 500. The http requests weren't being routed to https. Steps and verifications. The url was set correctly in the .env file. Apache settings: