Open im-Kitsch opened 4 months ago
@im-Kitsch I believe this is related to #470. There's an issue with the initial installation where Bookstack starts before the database is ready, causing initial migrations to fail. Most apps crash when this happens, causing the app to get restarted and migrations to run again. For Bookstack, migrations fail and then the container keeps trying to run, so none of the necessary tables exist.
Can you try restarting the app container once the database is healthy?
Hi, @gabe565
thank you, it works.
btw. I think the default value of database is disabled. I think besides adding a init-container, shall we change the default value to follows? Or we should change readme to hint new users enabling database. I could create a small PR for that.
mariadb:
enabled: true # originally is false
I think by default values configuration with disabling mariadb, the installation doesn't work. I think because the bookstack pod doesn't install database internally(not sure) but could only cooperate with external datasbase Statefulset.
Chart Name
bookstack
Chart Version
0.17.0
Problem
Hi,
I use kubenetes to try to deploy bookstack, but it doesn't work. I have not changed any command but just wanna have toy test.
I run the command in a empty clean kubernetes cluster:
helm install bookstack oci://ghcr.io/gabe565/charts/bookstack
After that I do the port-foward to try to access the the website, but it shows as follows:
It shows always the error about database mysql issues (see logs part). Shall I expclicitely configure the mysql externally? Since I just wanna to have a hello-world deployment and then change the configuration.
Could you do me a favor and check if this command works in your computer?
Best.
values.yaml
Relevant log output