Bitwarden Stops and "Traceback issue" #1410

Closed
opened 2026-02-05 00:50:54 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @gark81 on GitHub (Nov 19, 2022).

Subject of the issue

Bitwarden stops working and can't access.
I tried to stop container (mounted with docker-compose), or remove it and make it new again with the same issue. (see below the log)

Deployment environment

Vaultwarden "Latest" Docker mounted from Docker-Compose on Raspberry Pi 3B

  • vaultwarden version: Latest
  • Install method: Docker-Compose

Steps to reproduce

Create a docker-compose.yml with next settings and ' docker-compose up -d bitwarden'

#>> Bitwarden <<#
bitwarden:
image: vaultwarden/server:latest
container_name: bitwarden
volumes:
- ./Bitwarden/data:/data
ports:
- 466:80
environment:
WEBSOCKET_ENABLED: 'true' # Required to use websockets
SIGNUPS_ALLOWED: 'true' # set to false to disable signups
restart: unless-stopped

Troubleshooting data

Here is that i get when i try to start or recreate container:

~ docker-c,ompose up -d  bitwarden
Traceback (most recent call last):
 File "/usr/bin/docker-compose", line 11, in <module>
   load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
 File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
   command()
 File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 125, in perform_command
   project = project_from_options('.', options)
 File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 46, in project_from_options
   environment = Environment.from_env_file(override_dir or project_dir, environment_file)
 File "/usr/lib/python3/dist-packages/compose/config/environment.py", line 77, in from_env_file
   instance = _initialize()
 File "/usr/lib/python3/dist-packages/compose/config/environment.py", line 72, in _initialize
   return cls(env_vars_from_file(env_file_path))
 File "/usr/lib/python3/dist-packages/compose/config/environment.py", line 44, in env_vars_from_file
   for line in fileobj:
 File "/usr/lib/python3.9/codecs.py", line 714, in __next__
   return next(self.reader)
 File "/usr/lib/python3.9/codecs.py", line 645, in __next__
   line = self.readline()
 File "/usr/lib/python3.9/codecs.py", line 558, in readline
   data = self.read(readsize, firstline=True)
 File "/usr/lib/python3.9/codecs.py", line 504, in read
   newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 0: invalid continuation byte
Originally created by @gark81 on GitHub (Nov 19, 2022). ### Subject of the issue Bitwarden stops working and can't access. I tried to stop container (mounted with docker-compose), or remove it and make it new again with the same issue. (see below the log) ### Deployment environment Vaultwarden "Latest" Docker mounted from Docker-Compose on Raspberry Pi 3B * vaultwarden version: Latest * Install method: Docker-Compose ### Steps to reproduce Create a docker-compose.yml with next settings and ' docker-compose up -d bitwarden' > #>> Bitwarden <<# > bitwarden: > image: vaultwarden/server:latest > container_name: bitwarden > volumes: > - ./Bitwarden/data:/data > ports: > - 466:80 > environment: > WEBSOCKET_ENABLED: 'true' # Required to use websockets > SIGNUPS_ALLOWED: 'true' # set to false to disable signups > restart: unless-stopped ### Troubleshooting data Here is that i get when i try to start or recreate container: ``` ~ docker-c,ompose up -d bitwarden Traceback (most recent call last): File "/usr/bin/docker-compose", line 11, in <module> load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')() File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main command() File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 125, in perform_command project = project_from_options('.', options) File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 46, in project_from_options environment = Environment.from_env_file(override_dir or project_dir, environment_file) File "/usr/lib/python3/dist-packages/compose/config/environment.py", line 77, in from_env_file instance = _initialize() File "/usr/lib/python3/dist-packages/compose/config/environment.py", line 72, in _initialize return cls(env_vars_from_file(env_file_path)) File "/usr/lib/python3/dist-packages/compose/config/environment.py", line 44, in env_vars_from_file for line in fileobj: File "/usr/lib/python3.9/codecs.py", line 714, in __next__ return next(self.reader) File "/usr/lib/python3.9/codecs.py", line 645, in __next__ line = self.readline() File "/usr/lib/python3.9/codecs.py", line 558, in readline data = self.read(readsize, firstline=True) File "/usr/lib/python3.9/codecs.py", line 504, in read newchars, decodedbytes = self.decode(data, self.errors) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 0: invalid continuation byte ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1410