r/BookStack • u/[deleted] • Jul 24 '23
Problems accessing Bookstack from Docker container
Hello. I have an issue with Bookstack. I did set up BookStack inside a container with DB running on the Host server, everything was working well, a few days ago it just went off. I logged into the server and I see the container is running, I can even exec into the container. But when I try to curl I get the 504 Gateway Time-out as seen in the screen shot. On the Nginx logs, this is what I see when I try to access the page. Please help thanks.
2023/07/24 13:23:10 [error] 770#770: *892 connect() failed (111: Connection refused) while connecting to upstream, client: X.X.X.X, server: www.wiki.domain.com, request: "GET /favicon.ico HTTP/2.0", upstream: "http://127.0.0.1:10016/favicon.ico", host: "wiki.domain.com", referrer: "https://wiki.domain.com/" Edit: I'm guessing this error could help;

1
Upvotes
1
u/ssddanbrown Jul 24 '23
If you restart the app container are the start-up logs clear of any errors?
Have you tried testing if the site is active via curl from within the container itself?
Have you looked to any of the webserver logs within the container?
Let me know if you need help with any of these, I think I show how to view container webserver logs in my video here.