-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unified deployment no longer runs because of missing .NET #3755
Comments
I too got the same errors and also rolled back "2024.1.2-beta". Using sqlite db. Edit: Appears .Net was updated bitwarden/self-host#208 |
Confirmed. A rollback solved the issue for me as well. |
Same problem here, rolled back to 2024.1.2 |
I received this log message via Docker Compose after updating Bitwarden (Unified) this morning:
We worked around the issue by moving from the "beta" tag to the "2024.1.2-beta" tag. |
Hi there, Thank you for your report! This issue has been flagged this to our engineering team for further investigation. If you wish to add any further information/screenshots/recordings etc., please feel free to do so at any time - our engineering team will be happy to review these. Thanks once again! |
Same problem here as well, only started with the latest version. Rolling back to the Update: ... and unfortunately, the error still persists. BW container doesn't start with the same error. |
Same here. Rolled back and all is okay for now. After my MariaDB crashed and burned a few weeks back and I re-setup everything with SQLite I was a bit afraid I broke something. Kinda relieved it's an outside problem. 😅 |
Having the same error. Using MariaDB. Going to try and roll back to 204.1.2-beta. |
same issue with postgre 14. The rollback solves the issue |
I also noticed this in the nginx.log 2024/02/08 14:44:39 [emerg] 60#60: open() "/etc/nginx/http.d/bitwarden.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:37 |
Unfortunately still seems to be an issue with the now-versioned 2024.2.0-beta |
Yes still have the same issue with the new beta. 2024.2.0-beta |
Tried again with the last beta... same error.
|
I can confirm this error as well upgrading to 2024.2.0-beta: bitwarden_1 | Adding user |
It looks like the image is downloading https://github.com/bitwarden/Handlebars.conf/releases/download/v1.3.0/hbs_linux-x64_dotnet.zip When I download that file, it says it needs .NET 6. App: /home/shofutex/hbs/hbs Learn about runtime installation: Download the .NET runtime: |
A lot of the dependencies are still using 6.0 references. It is better to work around it by installing dotnet 6.0 SDK on unified setup as well. This will significantly increase the image size, but it will get the problem solved in the mid-term until we sorted out all the outdated references. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS legacy-aspnet-6.0
FROM mcr.microsoft.com/dotnet/runtime:6.0 AS legacy-runtime-6.0
FROM bitwarden/self-host:beta
COPY --from=legacy-aspnet-6.0 ["/usr/share/dotnet/shared/", "/usr/share/dotnet/shared/"]
COPY --from=legacy-runtime-6.0 ["/usr/share/dotnet/shared/", "/usr/share/dotnet/shared/"]
COPY --from=legacy-runtime-6.0 ["/usr/share/dotnet/host/", "/usr/share/dotnet/host/"] |
Why does it take so long to fix this? Just add .net 6 to the image, even if it is temporary. Can this get some more prio please |
You can already do this on your own by making a new image based on my method |
There is a new beta just released and still no joy :/ |
What are the exact steps to make a new image based on this method? |
Just put that into a Dockerfile and |
I apologize i'm a beginner with vast amounts of docker options and variables. How then do I include this new image into my docker compose for bitwarden unified? Right now in docker compose i have "image: bitwarden/self-host:beta" under "services" and "bitwarden" |
I think I figured it out myself. I made a file called "Dockerfile" with no extension in the same directory as my docker compose file. I then copied and pasted the code from stevefan1999-personal's post into this file. I then ran the command in the same directory "docker build -t bitwarden-modified:beta ." I had to make sure included a "." after "beta" for docker build to use the Dockerfile in the current directory. I then proceeded to edit my docker compose file to "image: bitwarden-modified:beta" and then start the container with "docker compose up -d" and voila!! It works. I am assuming I'll have to rebuild this image manually after every update to bitwarden/self-host:beta on dockerhub. |
Latest release (pushed a day ago) has the following error: |
newer ones have issues: bitwarden/server#3755
Still an issue. |
Agreed, this has been a system breaking issue for several weeks now and should be higher priority as anyone using unified beta cannot upgrade for security, functionality, or bug fixing purposes. Is it possible for this to be resolved this week? |
Agree. This should be considered a showstopper severity issue. Surprised it's not fixed yet. |
Bitwarden committed an update to their hbs library they use a few days ago to update it for .NET 8 and released a new version. That's what led me to test again. bitwarden/Handlebars.conf@6e2a599 |
I was confused by your comment are you saying that it is working now after you tested or was it still non-functional for you? |
It was still non-functional, but this time the error was a core dump rather than an error about .NET versions. |
Just tried the latest push (3 hours ago). Still getting this error: |
As others have mentioned, this specific issue was resolved, but now the issue is #3820 |
Changing from beta to dev has resolved it for me and everything is working at the moment. |
Hmm, really hoping they port over the changes from dev to beta then. For the beta tag the .net error has disappeared but now has nginx user issues -_- |
@GitTimeraider Can you elaborate on those nginx user issues you are seeing or link to an existing issue? I am not seeing any problems so just want to see if I can reproduce. |
@Noobstradamus .. basically this. When using the latest beta version (not dev) below happens at me as well. Before U had the .net issue but now I keep having the issue whereby the nginx user started by the container just keeps crashing untill a fatal error.
|
Weird, latest beta works perfectly fine for me. Neither .net nor nginx errors |
Latest beta works for me as well. |
Latest beta works now. |
I agree. I must have done something wrong. It works now. |
Yeah, just reverted back to latest beta and all is working. 👍 |
i can confirm that latest :beta works here also. |
Also tried the latest beta on my fly.io instance :) Worked like a charm |
Thanks everyone for your patience and the reports of this being fixed. Closing this now. |
Steps To Reproduce
I started with a working unified docker deployment
Upgraded to the latest 'beta' image (published 43 minutes ago)
App no longer starts
Downgraded the app to tag: "2024.1.2-beta" (pushed 12 days ago). Everything works fine with the older image.
Expected Result
Expected the app to run normally after upgrading
Actual Result
App fails to start.
Screenshots or Videos
No response
Additional Context
bitwarden | Not creating home directory
/home/bitwarden'. bitwarden | Adding new user
bitwarden' to supplemental / extra groupsusers' ... bitwarden | Adding user
bitwarden' to group `users' ...bitwarden | You must install or update .NET to run this application.
bitwarden |
bitwarden | App: /usr/local/bin/hbs
bitwarden | Architecture: x64
bitwarden | Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
bitwarden | .NET location: /usr/share/dotnet
bitwarden |
bitwarden | The following frameworks were found:
bitwarden | 8.0.1 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
bitwarden |
bitwarden | Learn more:
bitwarden | https://aka.ms/dotnet/app-launch-failed
bitwarden |
bitwarden | To install missing framework, download:
bitwarden | https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0&arch=x64&rid=linux-x64&os=debian.12
bitwarden | 2024-02-06 14:18:16,028 INFO Included extra file "/etc/supervisor.d/admin.ini" during parsing
bitwarden | 2024-02-06 14:18:16,028 INFO Included extra file "/etc/supervisor.d/api.ini" during parsing
bitwarden | 2024-02-06 14:18:16,028 INFO Included extra file "/etc/supervisor.d/events.ini" during parsing
bitwarden | 2024-02-06 14:18:16,028 INFO Included extra file "/etc/supervisor.d/icons.ini" during parsing
bitwarden | 2024-02-06 14:18:16,028 INFO Included extra file "/etc/supervisor.d/identity.ini" during parsing
bitwarden | 2024-02-06 14:18:16,028 INFO Included extra file "/etc/supervisor.d/nginx.ini" during parsing
bitwarden | 2024-02-06 14:18:16,028 INFO Included extra file "/etc/supervisor.d/notifications.ini" during parsing
bitwarden | 2024-02-06 14:18:16,028 INFO Included extra file "/etc/supervisor.d/scim.ini" during parsing
bitwarden | 2024-02-06 14:18:16,028 INFO Included extra file "/etc/supervisor.d/sso.ini" during parsing
bitwarden | 2024-02-06 14:18:16,035 INFO RPC interface 'supervisor' initialized
bitwarden | 2024-02-06 14:18:16,035 CRIT Server 'unix_http_server' running without any HTTP authentication checking
bitwarden | 2024-02-06 14:18:16,035 INFO supervisord started with pid 1
bitwarden | 2024-02-06 14:18:17,038 INFO spawned: 'identity' with pid 55
bitwarden | 2024-02-06 14:18:17,040 INFO spawned: 'admin' with pid 56
bitwarden | 2024-02-06 14:18:17,042 INFO spawned: 'api' with pid 57
bitwarden | 2024-02-06 14:18:17,044 INFO spawned: 'icons' with pid 58
bitwarden | 2024-02-06 14:18:17,045 INFO spawned: 'nginx' with pid 59
bitwarden | 2024-02-06 14:18:17,048 INFO spawned: 'notifications' with pid 61
bitwarden | 2024-02-06 14:18:17,049 WARN exited: identity (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:17,050 WARN exited: admin (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:17,050 WARN exited: api (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:17,055 WARN exited: icons (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:17,058 WARN exited: notifications (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:17,065 WARN exited: nginx (exit status 1; not expected)
bitwarden | 2024-02-06 14:18:18,067 INFO spawned: 'identity' with pid 62
bitwarden | 2024-02-06 14:18:18,069 INFO spawned: 'admin' with pid 63
bitwarden | 2024-02-06 14:18:18,071 INFO spawned: 'api' with pid 64
bitwarden | 2024-02-06 14:18:18,073 INFO spawned: 'icons' with pid 65
bitwarden | 2024-02-06 14:18:18,075 INFO spawned: 'nginx' with pid 66
bitwarden | 2024-02-06 14:18:18,077 INFO spawned: 'notifications' with pid 67
bitwarden | 2024-02-06 14:18:18,077 WARN exited: identity (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:18,078 WARN exited: admin (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:18,081 WARN exited: api (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:18,084 WARN exited: notifications (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:18,089 WARN exited: icons (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:18,093 WARN exited: nginx (exit status 1; not expected)
bitwarden | 2024-02-06 14:18:20,096 INFO spawned: 'identity' with pid 68
bitwarden | 2024-02-06 14:18:20,098 INFO spawned: 'admin' with pid 69
bitwarden | 2024-02-06 14:18:20,100 INFO spawned: 'api' with pid 70
bitwarden | 2024-02-06 14:18:20,103 INFO spawned: 'icons' with pid 71
bitwarden | 2024-02-06 14:18:20,106 INFO spawned: 'nginx' with pid 72
bitwarden | 2024-02-06 14:18:20,108 INFO spawned: 'notifications' with pid 73
bitwarden | 2024-02-06 14:18:20,109 WARN exited: admin (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:20,110 WARN exited: identity (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:20,121 WARN exited: api (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:20,123 WARN exited: notifications (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:20,124 WARN exited: icons (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:20,124 WARN exited: nginx (exit status 1; not expected)
bitwarden | 2024-02-06 14:18:23,128 INFO spawned: 'identity' with pid 74
bitwarden | 2024-02-06 14:18:23,130 INFO spawned: 'admin' with pid 75
bitwarden | 2024-02-06 14:18:23,132 INFO spawned: 'api' with pid 76
bitwarden | 2024-02-06 14:18:23,133 INFO spawned: 'icons' with pid 77
bitwarden | 2024-02-06 14:18:23,136 INFO spawned: 'nginx' with pid 78
bitwarden | 2024-02-06 14:18:23,138 INFO spawned: 'notifications' with pid 79
bitwarden | 2024-02-06 14:18:23,139 WARN exited: admin (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:23,139 INFO gave up: admin entered FATAL state, too many start retries too quickly
bitwarden | 2024-02-06 14:18:23,140 WARN exited: identity (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:23,142 INFO gave up: identity entered FATAL state, too many start retries too quickly
bitwarden | 2024-02-06 14:18:23,142 WARN exited: api (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:23,143 INFO gave up: api entered FATAL state, too many start retries too quickly
bitwarden | 2024-02-06 14:18:23,146 WARN exited: icons (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:23,147 INFO gave up: icons entered FATAL state, too many start retries too quickly
bitwarden | 2024-02-06 14:18:23,150 WARN exited: notifications (exit status 150; not expected)
bitwarden | 2024-02-06 14:18:23,150 WARN exited: nginx (exit status 1; not expected)
bitwarden | 2024-02-06 14:18:23,150 INFO gave up: nginx entered FATAL state, too many start retries too quickly
bitwarden | 2024-02-06 14:18:23,151 INFO gave up: notifications entered FATAL state, too many start retries too quickly
Githash Version
na
Environment Details
Docker
Database Image
MariaDB
Issue-Link
#2480
Issue Tracking Info
The text was updated successfully, but these errors were encountered: