bitwarden / bitwarden/server

Old images for bitwarden/setup are not removed by script

Open
#1,758 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
20.1k
Forks
1.8k
Avg merge
4d 8h
Merged PRs (30d)
75

Description

### Steps To Reproduce

1. Update bitwarden using `bitwarden.sh`
2. After upgrade, old images are removed, but the old bitwarden/setup images are not removed.

### Expected Result

Old image of bitwarden/setup is also removed.

### Actual Result

Old image of bitwarden/setup is not removed

### Screenshots or Videos

_No response_

### Additional Context

It seems that when removing old images, the bitwarden/setup images are filtered out, I wonder if the old images can be safely removed after upgrade.

### Build Version

1.44.1

### Environment

Self-Hosted

### Environment Details

_No response_

Contributor guide

Open the contributing guide

Research direction

Start in bitwarden.sh at the old-image cleanup logic and reproduce an upgrade using the reported 1.44.1 self-hosted setup. Determine why bitwarden/setup images are filtered out, then verify that the intended old setup images are removed without affecting images still needed by the upgrade.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.