webmozart
Repos
68
Followers
1140
Following
15

Assertions to validate method input/output with nice error messages.

7284
131

A robust JSON decoder/encoder with support for schema validation.

357
28

A robust cross-platform utility for normalizing, comparing and modifying file paths.

472
25

Implementation of the Specification pattern and logical expressions for PHP.

215
10

A usable, beautiful and easily testable console toolkit written in PHP.

215
61

A key-value store API with implementations for different backends.

126
15

Events

issue comment
Error: network docker_default has active endpoints

@MarsCandyBars Thanks a lot for your investigation!

We have Bitwarden up and running since 2019. Since then, we continuously updated the installation without changing any of the configuration and had no problems until this error popped up with the latest version. We have a cron job restarting Bitwarden every night, and that job didn't fail in the past. That doesn't sound like a configuration issue to me.

However, rebooting the server helped. I assume that the upgrade left over some artifacts (maybe containers were renamed?) that prevented Bitwarden from shutting down properly.

Thanks, case closed!

Created at 1 week ago
opened issue
Error: network docker_default has active endpoints

Steps To Reproduce

  1. Execute bitwarden.sh stop or bitwarden.sh restart

Expected Result

Bitwarden should be stopped without errors.

Actual Result

While stopping, the error `` is returned and stopping fails.

/home/bitwarden/bitwarden.sh stop
 _     _ _                         _            
| |__ (_) |___      ____ _ _ __ __| | ___ _ __  
| '_ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \ 
| |_) | | |_ \ V  V / (_| | | | (_| |  __/ | | |
|_.__/|_|\__| \_/\_/ \__,_|_|  \__,_|\___|_| |_|

Open source password management solutions
Copyright 2015-2023, 8bit Solutions LLC
https://bitwarden.com, https://github.com/bitwarden

===================================================

bitwarden.sh version 2023.2.1
Docker version 23.0.1, build a5ee5b1
Docker Compose version v2.17.0-rc.1

[+] Running 13/13
 ✔ Container bitwarden-icons          Removed                                                                        1.6s 
 ✔ Container bitwarden-events         Removed                                                                        2.3s 
 ✔ Container bitwarden-attachments    Removed                                                                        1.1s 
 ✔ Container bitwarden-sso            Removed                                                                        3.6s 
 ✔ Container bitwarden-notifications  Removed                                                                        2.1s 
 ✔ Container bitwarden-nginx          Removed                                                                        0.7s 
 ✔ Container bitwarden-web            Removed                                                                        1.5s 
 ✔ Container bitwarden-admin          Removed                                                                        1.6s 
 ✔ Container bitwarden-api            Removed                                                                        3.6s 
 ✔ Container bitwarden-identity       Removed                                                                        3.1s 
 ✔ Container bitwarden-mssql          Removed                                                                       60.6s 
 ✘ Network docker_default             Error                                                                          0.0s 
 ✔ Network docker_public              Removed                                                                        0.1s 
failed to remove network docker_default: Error response from daemon: error while removing network: network docker_default id 0d6c0300e3d8e46eb7ce0daaa95a5ab57c15999e61d82ccbf588a852409cdba3 has active endpoints

Screenshots or Videos

No response

Additional Context

No response

Build Version

2023.2.1

Environment

Self-Hosted

Environment Details

  • OS: Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-1031-aws x86_64)
  • Hardware: AWS EC2 t3a.medium (4 GB RAM, 2 vCPU, 2.2-2.5 GHz)

Issue Tracking Info

  • [X] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Created at 1 week ago
webmozart create tag 7.7.3
Created at 1 week ago
webmozart create tag 7.7.2
Created at 1 week ago
webmozart create tag 7.7.1
Created at 1 week ago
webmozart create tag 7.6.6
Created at 1 week ago
webmozart create tag 7.7.0
Created at 2 weeks ago
webmozart create branch 7.7
Created at 2 weeks ago
webmozart create tag 7.6.5
Created at 2 months ago
webmozart create tag 7.6.4
Created at 2 months ago
webmozart create tag 7.6.3
Created at 2 months ago

chore: Exclude dist directory from PHP-CS-Fixer

https://gitlab.webmozarts.com/webmozarts/libraries/php-libraries/-/merge_requests/504

Created at 2 months ago
webmozart create tag 7.6.2
Created at 2 months ago
webmozart create tag 7.6.1
Created at 2 months ago

chore: Fix the infection schema path (#1203702522279290)

https://gitlab.webmozarts.com/webmozarts/libraries/php-libraries/-/merge_requests/496

I doubt this makes a difference in practice but at least PHPStorm no longer complains about it.

chore: Log the Infection mutations on the stdout directly instead of using the stdout logger (#1203702522279290)

https://gitlab.webmozarts.com/webmozarts/libraries/php-libraries/-/merge_requests/497

No big difference this achieves the same thing but the output is slightly nicer.

Merge branch 'chore/infection-show-mutants' into '7.6'

chore: Log the Infection mutations on the stdout directly instead of using the stdout logger (#1203702522279290)

https://gitlab.webmozarts.com/webmozarts/libraries/php-libraries/-/merge_requests/497

Created at 2 months ago

build: Fix invalid gitignore changes

https://gitlab.webmozarts.com/webmozarts/libraries/php-libraries/-/merge_requests/494

In #484 the gitignore files were incorrectly changed. This was caused by an incorrect Makefile command

Created at 2 months ago

chore: Bump minimum usable Infection version

https://gitlab.webmozarts.com/webmozarts/libraries/php-libraries/-/merge_requests/492

"Now" that we are on PHP 7.4, we can bump infection/infection to 0.26.6 as the minimum version. This version no longer uses the ocramius/package-versions package which removes the installation issues we have been having on 7.4 with the --prefer-lowest flag.

Created at 2 months ago

fix: Add .gitattributes files to remove unnecessary files (#1203528315084683)

https://gitlab.webmozarts.com/webmozarts/libraries/php-libraries/-/merge_requests/484

Created at 2 months ago