Closed Aehri closed 1 year ago
Is the attached compose a snippet from a larger file? Does it work locally if you add the port mapping?
The compose file is the one I pulled from the LinuxServer.io GitHub repository.
I had a friend of mine try to install Bookstack and he used the Ubuntu 22.04 installation script and it worked. Not sure why I didn't think of/see that, but that worked for me also. Just an FYI to anyone out there that may have the same problem I did. Still not really sure what the issue was with the other method I was using, but at least I'm up and running now!
I have been trying to get bookstack installed for the better half of a week now. I have tried multiple guides, including the official ones on the bookstack website and video guides on the official YouTube channel. Everything appears to install correctly, but when I go to open the bookstack application by navigating to the URL from a WAN or LAN device or the IP from a LAN device, I receive an error that the host is down. Something makes me think it is an issue with port 80 already being used by Nginx Proxy Manager, but others seem to have been able to make it work no issue, and I also tried installing it in a digital ocean droplet with a similar failed result. Here are the steps I've taken so far...
I followed this guide: https://www.youtube.com/watch?v=dbDzPIv8Cf8&t=293s&ab_channel=BookStack
System is Ubuntu 22.04.1 LTS
sudo apt update
sudo apt install docker.io docker-compose -y
sudo usermod -aG docker my_username
sudo reboot
docker ps
mkdir containers
cd containers
nano docker-compose.yml
Using the linuxserver.io docker compose file
Nginx Proxy Manager already set up to listen on port 80, and verified to work with other sites.
mkdir -p bookstack database
docker-compose pull
result =Pulling bookstack_db ... done
Pulling bookstack ... done
docker-compose up
output logTry to access bookstack via incognito window:
host_ip:6875
http://host_ip:6875
https://host_ip:6875
host_ip:80
http://host_ip:80
https://host_ip:80
all from a LAN device. All attempts result in the following errorAdd proxy host in Nginx Proxy Manager Domain name: docs.mydomain.com Scheme: https Forward Hostname/IP: host_ip Forward Port: 80 Block Common Exploits = enabled SSL: Request new certificate Force SSL = enabled HTTP/2 Support = enabled (ensured Force SSL and HTTP/2 Support remained enabled after certificate was issued and proxy host was successfully added)
Try to access from a new incognito window:
docs.mydomain.com
http:/docs.mydomain.com
https://docs.mydomain.com
All attempts result in the following errorhttps://docs.mydomain.com
Takes me to my pfSense firewall/router login page.Scheme
to behttp
in Nginx Proxy Manager proxy host settings.https://docs.mydomain.com
andhttp://docs.mydomain.com
, all with the same result as step 7.Forward Host/IP
of the proxy host in Nginx Proxy manager to the bookstack docker container IP. Did not load the web page at all.I have run out of ideas and would be very appreciative of any assistance.