Umbrel doesn't start up anymore

Hi everyone,

I have some bigger problems after a recent Umbrel restart. It does not start up anymore. I get this nice picture, when I want to access the web UI.

When I try to start it up manually through the command line, I get this error message. Does anyone know where it comes from and what I can do against it?

umbrel@umbrel:~/umbrel $ docker-compose start
Traceback (most recent call last):
File “/usr/local/bin/docker-compose”, line 8, in
File “/usr/local/lib/python3.7/dist-packages/compose/cli/”, line 81, in main
File “/usr/local/lib/python3.7/dist-packages/compose/cli/”, line 200, in perform_command
project = project_from_options(‘.’, options)
File “/usr/local/lib/python3.7/dist-packages/compose/cli/”, line 40, in project_from_options
environment = Environment.from_env_file(override_dir or project_dir, environment_file)
File “/usr/local/lib/python3.7/dist-packages/compose/config/”, line 67, in from_env_file
instance = _initialize()
File “/usr/local/lib/python3.7/dist-packages/compose/config/”, line 62, in _initialize
return cls(env_vars_from_file(env_file_path))
File “/usr/local/lib/python3.7/dist-packages/compose/config/”, line 38, in env_vars_from_file
env = dotenv.dotenv_values(dotenv_path=filename, encoding=‘utf-8-sig’, interpolate=interpolate)
File “/usr/local/lib/python3.7/dist-packages/dotenv/”, line 377, in dotenv_values
File “/usr/local/lib/python3.7/dist-packages/dotenv/”, line 69, in dict
self._dict = OrderedDict(resolve_variables(raw_values, override=self.override))
File “/usr/local/lib/python3.7/dist-packages/dotenv/”, line 229, in resolve_variables
for (name, value) in values:
File “/usr/local/lib/python3.7/dist-packages/dotenv/”, line 77, in parse
for mapping in with_warn_for_invalid_lines(parse_stream(stream)):
File “/usr/local/lib/python3.7/dist-packages/dotenv/”, line 19, in with_warn_for_invalid_lines
for mapping in mappings:
File “/usr/local/lib/python3.7/dist-packages/dotenv/”, line 180, in parse_stream
reader = Reader(stream)
File “/usr/local/lib/python3.7/dist-packages/dotenv/”, line 71, in init
self.string =
File “/usr/lib/python3.7/”, line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
File “/usr/lib/python3.7/encodings/”, line 69, in _buffer_decode
return codecs.utf_8_decode(input, errors, final)
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xc1 in position 0: invalid start byte


  • The node was extremely slow
  • I did a restart
  • I did not restarted properly
  • I reflashed the SD card with the recent umbrel version (which was already running before)
  • Started to do more investigations. I don’t know if before the reflash, the same or a different error message was shown.

Thanks for any help in advance!

I have the same problem, as my node asked me to write a new sd, I did it and since then, I couldn’t start it again.

I restarted numerous times, but it didn’t help. Does nobody have any idea?

I could trace it down further. Apparently, the .env file got corrupted. It doesn’t seem to be a valid text file anymore, but it’s detected as binary file.

Is it possible to regenerate the .env file?

I got it fixed :smiley:

Somehow, many files in the scripts directory disappeared and the .env file got corrupted. I have no idea how that can happen. Does anyone?

After manually restoring those files from the repository, and setting the permissions, this helped:

cd umbrel
sudo ./scripts/stop
sudo rm .env && sudo ./scripts/configure
sudo ./scripts/start

The node is back up and running and all the data is still there.

How can I prevent these issues in the future?