2026-04-14 13:06:43,103 ERROR Exception inside application: [Errno 2] No such file or directory: '/var/www/emba_logs/emba_update.log'
Traceback (most recent call last):
File "/var/www/.venv/lib/python3.12/site-packages/channels/routing.py", line 48, in __call__
return await application(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/.venv/lib/python3.12/site-packages/channels/sessions.py", line 44, in __call__
return await self.inner(dict(scope, cookies=cookies), receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/.venv/lib/python3.12/site-packages/channels/sessions.py", line 261, in __call__
return await self.inner(wrapper.scope, receive, wrapper.send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/.venv/lib/python3.12/site-packages/channels/auth.py", line 185, in __call__
return await super().__call__(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/.venv/lib/python3.12/site-packages/channels/middleware.py", line 24, in __call__
return await self.inner(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/.venv/lib/python3.12/site-packages/channels/routing.py", line 118, in __call__
return await application(
^^^^^^^^^^^^^^^^^^
File "/var/www/.venv/lib/python3.12/site-packages/channels/consumer.py", line 95, in app
return await consumer(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/.venv/lib/python3.12/site-packages/channels/consumer.py", line 58, in __call__
await await_many_dispatch(
File "/var/www/.venv/lib/python3.12/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/var/www/.venv/lib/python3.12/site-packages/channels/consumer.py", line 74, in dispatch
await handler(message)
File "/var/www/.venv/lib/python3.12/site-packages/channels/generic/websocket.py", line 180, in websocket_connect
await self.connect()
File "/var/www/embark/embark/logviewer.py", line 251, in connect
self.line_cache = LineCache(self.log_file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/embark/embark/logviewer.py", line 116, in __init__
self.filehandle = open(filepath, "rb")
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/emba_logs/emba_update.log'
Describe the bug
When opening the updater page (http://embark.local/updater/) the console shows the following error complaining about a missing log file:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When no update logs are present (yet), no error should be thrown.
A perfectly normal use-case that comes to mind is close to first start, when no such operations have yet been run.
Screenshots
/
Desktop (please complete the following information):
Additional context
/