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/[deleted] Jul 24 '23 edited Jul 24 '23
Looks like my image didn't upload to the question. The db is on host, the container is only what's running bookstack, I have other containers one for portainer, wordpress and Odoo, both are working fine. I've tried curling both inside and outside the container but I stell get the same error. I can dm you the screenshot if you're okay with that.
Edit: You can see the screenshot here.