New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overleaf toolkit nginx returns 502 bad gateway after OS update #228
Comments
I did a roll back to docker 25.0.4 and the web site is up again. |
Most likely related to #229 |
I'm getting the same "Bad Gateway" error. Here is my bin/doctor output. I have only changed SHARELATEX_LISTEN_IP to 0.0.0.0 and SHARELATEX_PORT to 8099.
I'm not sure either how to roll docker back to 25, or how to disable IPv6 as in the comment by @ThexXTURBOXx. |
@bshor |
Thanks! I'm running Debian. Worried that downgrading has other consequences I can't foresee -- and isn't it strange that this is the only server app that the latest public Docker doesn't work for? |
Had the same issue and fixed it by disabling IPv6 for the sharelatex container like in my answer here. Just add the following contents to ---
version: '2.2'
services:
sharelatex:
# ...
sysctls:
- net.ipv6.conf.all.disable_ipv6=1 |
Thanks! But my config doesn't have |
In this case you just create one with the contents above. |
I think there might be some version differences -- in /lib I saw a bunch of docker-compose yml files. But before I started making these edits, I tried to upgrade Overleaf -- and there's a new 5.0 version available! I went through the upgrade process. And in the new version, Overleaf runs fine without any config changes! |
Can you share your upgrade details? I'm facing the same issue, and wondering how to follow your experience. |
I think I just used the upgrade script in /bin. |
The latest releases 4.2.4 and 5.0.3 include changes for switching all internal traffic to IPv4 on the application level. You can pick up 4.2.4 by manually editing We recommend removing any manual |
Steps to Reproduce
Expected Behaviour
URL answer with logging page
Observed Behaviour
I tried the following:
no improvements
Context
As I am not a container specialist I usually stick to the doc given for an application. If you have steps to inspects nginx container to find more relevant logs let me know.
doctor information
Technical Info
I use a sharelatex container modified as recommended in the docs to have texlive extensions
Analysis
I can only see the docker update as a modification of the running environment. Nothing else was changed that I know of.
Since this update when doing bin/up -d I have a warning not present before but as this is just a warning this might not be relevant:
The text was updated successfully, but these errors were encountered: