server icon indicating copy to clipboard operation
server copied to clipboard

Reported Web Version Discrepancy

Open jmcmahel opened this issue 2 years ago • 5 comments

Steps To Reproduce

  1. Check the Web Installed version on the admin dashboard
  2. Run 'docker ps' on the server
  3. Compare the bitwarden/web version to the Web Installed version

Expected Result

The bitwarden/web version from 'docker ps' should match the Web Installed version on the admin dashboard.

Actual Result

Web Installed shows 2022.6.1 while 'docker ps' shows bitwarden/web:2022.6.2

Screenshots or Videos

image

Additional Context

docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 5cfe1900db5c bitwarden/nginx:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) 80/tcp, 0.0.0.0:80->8080/tcp, :::80->8080/tcp, 0.0.0.0:443->8443/tcp, :::443->8443/tcp bitwarden-nginx 768b8627dd14 bitwarden/admin:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) 5000/tcp bitwarden-admin 606ad4d6fd0d bitwarden/mssql:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) bitwarden-mssql 8834ab70469e bitwarden/identity:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) 5000/tcp bitwarden-identity b3fdc2b00614 bitwarden/sso:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) 5000/tcp bitwarden-sso 38a4030fb3b5 bitwarden/events:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) 5000/tcp bitwarden-events 898de4c5e4d2 bitwarden/attachments:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) bitwarden-attachments 9d022f01a65a bitwarden/notifications:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) 5000/tcp bitwarden-notifications ff78ab89feb2 bitwarden/web:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) bitwarden-web 2c9daf6c66fa bitwarden/api:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) 5000/tcp bitwarden-api 22bc773477ca bitwarden/icons:2022.6.2 "/entrypoint.sh" 2 minutes ago Up 2 minutes (healthy) 5000/tcp bitwarden-icons

Build Version

2022.6.2

Environment

Self-Hosted

Environment Details

  • Operating System: RHEL 8.6
  • Docker Engine: 20.10.17
  • Docker Compose: 2.6.0

jmcmahel avatar Jul 25 '22 22:07 jmcmahel

Hi @jmcmahel , thank you for bringing this up. We will reproduce this at our end, and take a look at it. Appreciate this!

dbosompem avatar Jul 26 '22 11:07 dbosompem

image

The admin dashboard is now showing 2022.8.0 as the latest version, while bitwarden/server shows 2022.6.2 as the latest.

jmcmahel avatar Aug 04 '22 00:08 jmcmahel

image

The admin dashboard is now showing 2022.8.0 as the latest version, while bitwarden/server shows 2022.6.2 as the latest.

This is because the Bitwarden/server version was bumped to 2022.8.0, for the new month. But that is not the Bitwarden/self-host. self-host has its own versions, which always lag behind Bitwarden/server so that a release can be tested before being pushed to self-host clients.

Having said that, maybe the admin dashboard for self-host should only show the latest version for self-host, not for server, because that can be confusing... case in point.

Ayitaka avatar Aug 04 '22 00:08 Ayitaka

We've improved the version detection in this release, and it should no longer announce a newer version before it is released. https://github.com/bitwarden/server/pull/2006

Hinton avatar Aug 05 '22 12:08 Hinton

Looks like the version #'s might be backwards, Server version appears where the web version is and vis versa, image

adam-olson avatar Aug 15 '22 22:08 adam-olson

Thanks for letting us know @adam-olson. This will be resolved in the next release.

Hinton avatar Aug 23 '22 09:08 Hinton