mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-08 03:09:39 +03:00
SQLSTATE[HY000] [2002] Connection refused (SQL: alter table pages add index pages_template_index(template))
#4250
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dhaigvip on GitHub (Sep 29, 2023).
Describe the Bug
Hi, we are evaluating bookstack for managing our help content.
I installed book stack using following docker images -
The containers is running succesfully, however I see an error in bookstack container, please note that this is a fresh install.
Also, I tried connecting MariaDB from bookstack container and connection works. So, I am surprised to see connection refused error.
Steps to Reproduce
Install bookstack using docker images-
Expected Behaviour
The fresh installation should work without any error.
Screenshots or Additional Context
Bookstack docker conatainer should be running without any changes to database for fresh installation.
Browser Details
Google Chrome 117.0.5938.92
Exact BookStack Version
V23.6
@ssddanbrown commented on GitHub (Sep 29, 2023):
Hi @Dhaigvip,
Can you confirm what operating system your docker host is running?
@Dhaigvip commented on GitHub (Sep 29, 2023):
Hi, I am running it on windows 10
@ssddanbrown commented on GitHub (Sep 29, 2023):
I that case, you're likely running into the issues found in https://github.com/linuxserver/docker-bookstack/issues/125, with unstable behaviour of database activity when database volumes are mounted to host locations on windows hosts.
Not really a problem I see on the BookStack side to be honest (Nor a problem for the linuxserver team either).
You can try looking for solutions in that thread (Alternative database container image or alternative handling of volume locations).
@ssddanbrown commented on GitHub (Oct 14, 2023):
Since there's been no further discussion here I'll close this off.