-
Notifications
You must be signed in to change notification settings - Fork 63
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
/etc/nginx/http.d/bitwarden.conf missing in latest dev release #210
Comments
Hello, I have the same problem. Image 2024.2.0-beta is unhealthy at starting. After rollback to 2024.1.2-beta, Bitwarden works again. Thanks |
Same problem,
|
Hi there, I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below. Thanks! |
Has also been reported here bitwarden/server#3755 |
I can replicate with anything after 2024.1.2-beta even a fresh install. |
There seems to be a mixing up of two separate issues. My original problem has nothing to do with .NET. My original problem shows only nginx has issues starting up because there is no /etc/nginx/http.d/bitwarden.conf pre-loaded in the docker image. All of my other services start just fine and I do not see any .NET warnings in my logs. My specific issue as mentioned in my first post is very straight forward. I can provide more logs if necessary, but they will just show nginx complaining that /etc/nginx/http.d/bitwarden.conf is missing. I verified in the latest docker image it is missing. When I roll back to an older image, the file is there and I have no issues. |
It looks like bitwarden uses Handlebars to create the nginx config file in the unified docker image (stated here: https://github.com/bitwarden/Handlebars.conf/). The docker image downloads hbs.zip from the handlebars release page, https://github.com/bitwarden/Handlebars.conf/releases, which hasn't been updated since November 2022 and still requires .NET 6. Having .NET 8 on the docker image precludes HBS from running, which prevents creation of the nginx config files. |
Nice find! So they are both related. Thanks for that info! |
Closing this as duplicate of bitwarden/server#3755 and as the HandleBars.conf has been updated (kudos to @shofutex for finding that) a duplicate of bitwarden/server#3820. |
After updating to the latest dev release docker image 2024.2.0, nginx fails to start. The logs are showing that it fails to find /etc/nginx/http.d/bitwarden.conf. I checked that location manually by exec into the docker container. That file in fact is missing. I had to roll back to 2024.1.2-beta to get my docker container up and running again. In the 2024.1.2-beta image, the /etc/nginx/http.d/bitwarden.conf file is there and nginx starts just fine.
The text was updated successfully, but these errors were encountered: