Immich crashed after update to 1.14.7

Hi,

(I am not IT person just to clarify :slight_smile: )

I have just performed a failed update to v. 1.14.7 from 1.14.6. App just crashed. I tried roll back with success to 1.12 and 1.11.4 but the app still does not start. I have regular snapshots if that helps somehow… Pls advice me what to do

Error: 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/api/base/decorator.py", line 96, in wrapped
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/app_scale.py", line 62, in start
    compose_action(app_name, app_config['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 'immich' app. Please check /var/log/app_lifecycle.log for more details
 

  1. Did you already update the postgres version of immich? Postgres 15 got depreciated and you need to update to 16 or 18 BEFORE updating immich
  2. did you check the app_lifecycle log as suggested in the error?

Hi Lars,

Yes, I had to switch to Postgres 18 before moving to 1.14.6. It worked.

Yes, I viewed the log but can’t understand it well enough to identify issues. Chatbot suggests permission issue is most frequently to blame…

Post the logs maybe we can help you understand it

this is part of /var/log/app_lifecycle.log do you need anything else?

ok, ended up removing and installing immich from scratch. Had to remove dataset with pgData (causing errors). Luckily recovered all from immich’s backup.

1 Like