server icon indicating copy to clipboard operation
server copied to clipboard

Issues updating from 1.43.0 to latest version.

Open joshncori opened this issue 5 years ago • 7 comments

Steps To Reproduce

Following the Bitwarden update guide, I enter this in my terminal session;

 1- sudo ./bitwarden.sh updateself
 2- sudo ./bitwarden.sh update

Expected Result

My Bitwarden should update to the latest version according to the admin page.

Server Installed 1.43.0 Server Latest 1.44.1 Web Installed 2.23.0 Web Latest 2.24.1

Actual Result

bitwarden.sh version 1.43.0 Docker version 20.10.10, build b485636 docker-compose version 1.29.1, build c34c88b2

Update not needed

Screenshots or Videos

1 2

Additional Context

No response

Build Version

1.43.0

Environment

Self-Hosted

Environment Details

Ubuntu 20.04.3

joshncori avatar Oct 29 '21 20:10 joshncori

It is because they did not update the versions in this script yet: https://github.com/bitwarden/server/blob/master/scripts/bitwarden.sh

It is possible it was a conscious decision. It is also possible that someone forgot or some process failed.

akalsnes avatar Oct 29 '21 23:10 akalsnes

We consciously don't update it immediately so we can monitor the cloud hosted behavior in the event we need to make any patches/updates. We'll make it available shortly 👍

tgreer-bw avatar Oct 30 '21 00:10 tgreer-bw

Okay, I was concerned because I missed the last couple updates. I thought I may have something wrong with my installation. I have been able to get the previous updates, just these last couple I have not been able to get. Thank you for your quick response and I appreciate all you guys do. I have been trying to stay more up to date with Bitwarden and just want to make sure my self hosted environment is at the latest secure update.

Thank you

joshncori avatar Oct 30 '21 00:10 joshncori

@tgreer-bw Is there any way to be notified when a new release is made available for self-hosting?

Currently I am subscribed to receive release notifications, but those are sent out whenever a new release is made, not when the scripts are updated so that self-hosted setups may be updated. That means that now whenever I receive a notification, I have to manually keep checking the repository to see when I can actually install this update.

Especially for security-sensitive updates I can imagine it would be very desirable to receive an notification that can result in immediate action, instead of having to manually poll to see when that update becomes actually available.

The recent addition to subscribe to release notes doesn't seem to address this.

Perhaps GitHub releases in this repo can be created later (from the already pushed tag), or something along those lines.

DvdGiessen avatar Nov 01 '21 10:11 DvdGiessen

@DvdGiessen - fair point.

We're working on a way to make this clearer. We use the releases that are built via GitHub actions to deploy the cloud services, too, so we want to make sure it's clear when a 'release' happens. But - to your point, we also want to be clear when a release may be cloud-only (i.e. patch/config change, etc) or available for self-host update.

tgreer-bw avatar Nov 01 '21 12:11 tgreer-bw

Closing this as the original question has been answered. As @tgreer-bw has mentioned we'll be working on improving the notification of updates (cloud and self-hosted).

djsmith85 avatar Dec 12 '21 15:12 djsmith85

This has happened again with 1.45/2.25, and it is quite frustrating - the admin dashboard claims that I am not running the latest version and that I should update: image ..but the bitwarden.sh script is not updated and thinks everything is up to date.

How is the update notification work going? Is there a point to having an update check in the admin dashboard if I can't update anyway?

fnordpojk avatar Dec 15 '21 15:12 fnordpojk