Vaultwarden bricks after most recent update #75

Closed
opened 2025-07-08 08:39:06 -04:00 by AtHeartEngineer · 0 comments

Originally created by @Avidsensei on 5/22/2025

Vaultwarden Support String

I cannot start the app to get this.

Vaultwarden Build Version

1.33.2

Deployment method

Official Container Image

Custom deployment method

I am running Truenas Scale Fangtooth 25.04. I have been having this problem for awhile on multiple versions of truenas. after updates vaultwarden won't start unless I manually tell it to start 5 or more times and then it seems to work fine. This latest update I cannot get the app to start at all.
App Version: v1.33.2
Version: v1.2.19

Reverse Proxy

no

Host/Server Operating System

Linux

Operating System Version

Truenas scale 25.04

Clients

Desktop

Client Version

No response

Steps To Reproduce

Update vaultwarden, try to start it from the app control

Expected Result

Vaultwarden to start normally

Actual Result

Vaultwarden fails to start

Logs

When I try and install a new instance I get this message:


Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 515, in run
    await self.future
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 562, in __run_body
    rv = await self.middleware.run_in_thread(self.method, *args)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 599, in run_in_thread
    return await self.run_in_executor(io_thread_pool_executor, method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 596, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/service/crud_service.py", line 294, in nf
    rv = func(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/api/base/decorator.py", line 96, in wrapped
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 148, in do_create
    return self.create_internal(job, app_name, version, data['values'], complete_app_details)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 193, in create_internal
    raise e from None
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 186, in create_internal
    compose_action(app_name, version, 'up', force_recreate=True, remove_orphans=True)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/compose_utils.py", line 61, in compose_action
    raise CallError(err_msg)
middlewared.service_exception.CallError: [EFAULT] Failed 'up' action for 'vaultwarden2' app. Please check /var/log/app_lifecycle.log for more details

Screenshots or Videos

No response

Additional Context

Not sure if this is an app issue as every other app is still working fine or if this is a truenas issue.

*Originally created by @Avidsensei on 5/22/2025* ### Vaultwarden Support String I cannot start the app to get this. ### Vaultwarden Build Version 1.33.2 ### Deployment method Official Container Image ### Custom deployment method I am running Truenas Scale Fangtooth 25.04. I have been having this problem for awhile on multiple versions of truenas. after updates vaultwarden won't start unless I manually tell it to start 5 or more times and then it seems to work fine. This latest update I cannot get the app to start at all. App Version: v1.33.2 Version: v1.2.19 ### Reverse Proxy no ### Host/Server Operating System Linux ### Operating System Version Truenas scale 25.04 ### Clients Desktop ### Client Version _No response_ ### Steps To Reproduce Update vaultwarden, try to start it from the app control ### Expected Result Vaultwarden to start normally ### Actual Result Vaultwarden fails to start ### Logs ```text When I try and install a new instance I get this message: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 515, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 562, in __run_body rv = await self.middleware.run_in_thread(self.method, *args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 599, in run_in_thread return await self.run_in_executor(io_thread_pool_executor, method, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 596, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/service/crud_service.py", line 294, in nf rv = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/api/base/decorator.py", line 96, in wrapped result = func(*args) ^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 148, in do_create return self.create_internal(job, app_name, version, data['values'], complete_app_details) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 193, in create_internal raise e from None File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 186, in create_internal compose_action(app_name, version, 'up', force_recreate=True, remove_orphans=True) File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/compose_utils.py", line 61, in compose_action raise CallError(err_msg) middlewared.service_exception.CallError: [EFAULT] Failed 'up' action for 'vaultwarden2' app. Please check /var/log/app_lifecycle.log for more details ``` ### Screenshots or Videos _No response_ ### Additional Context Not sure if this is an app issue as every other app is still working fine or if this is a truenas issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#75