plane
plane copied to clipboard
[bug]: Self host docker-compose - fresh install - containers not able to connect to each other
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
It is not working on a fresh install too. Not able to change any ports. It does not connect with either planebackend, planerqworker.
Stuck here
Please help !
Steps to reproduce
- Deploy the self hosted as vanilla via docker-compose-hub.yml
Browser
Google Chrome
Version
Self-hosted
No matter what, it does not work with docker-compose.yml as well.
Hello, @me-abhishekpal! Could you kindly provide me with the specific branch you're using?
Hello, @me-abhishekpal! Could you kindly provide me with the specific branch you're using?
Hi thanks for reaching out.
It is master branch.
I tried with develop branch as well.
Still no avail.
Hello, @me-abhishekpal! you can modify the host port in nginx. Additionally, I suggest removing all port mappings from other containers if its causing errors with your internal system and executing the command ./setup.sh IP:PORT
in the master branch. Before running the setup, it's advisable to delete all container volumes. If you encounter any further difficulties, please don't hesitate to leave a comment or join our Discord community for immediate assistance.
I did install it on a brand new server bought a couple of days ago, on which only OS and docker were installed prior to plane. So, It can be assured, there is no internal networking mishap happening here.
I have tried wiping and reinstalling so many times that it is on the verge of leaving it alone.
I will get back after trying this specific thing !
Hello again @pablohashescobar
So, I managed to install and get it running inside my local environment and I have used cloudflare to reverse proxy to a web url for the frontend and backend.
Now, there is another issue that I am facing, I checked all the configurations, I do not have localhost anywhere in my setup.
I have replaced the backend and frontend public URLs from Cloudflare to all of my containers. My backend is running fine the public URL, the frontend is also working fine on the public URL.
However, the frontend sign in page is hell-bent on going to localhost or internal ip of the server, which I do not have in the container configurations anywhere.
I have sanitized, shut down the whole stack and brought it back again, but it does not seem to budge.
Need help !
Hi @me-abhishekpal just to check are you using develop
branch or the master
branch. Also can you please share the logs of both frontend and backend containers.
I'm using the master branch.
I can share the logs, what level logs would you like to have ?
Hi @me-abhishekpal, just the container logs docker logs CONTAINER_NAME
Hi @pablohashescobar
The logs were not getting generated as the request was never going to the desired URL.
Although, I did try debugging, I thoght of starting it over again.
It works now over cloudflare well, so I am closing this one.
Thanks for the help and patience.
I would love to test more as and when required and would posting more bugs or requirenments if needed.
Thanks again !