Immich struggling to fire up - 502 Bad Gateway

What app is this about, and its version: Immich 2.5.3~ynh1
What YunoHost version are you running: YunoHost 12.1.39 (stable).
What type of hardware are you using: Old laptop or computer

Describe your issue

My YMH server has been working perfectly for ages now (Cheers!). My family are now reliant on it for may services. Today, for no obvious reason my Immich Server is unreachable and showing a 502 Bad Gateway. I think this usually means I can reach the server but the service is not running. When I look at the YNH >Tools>Services , it is indeed runing BUT it has only been running for a second or so. Looking at the log it seems to be trying to start then closing then trying again. It thus looks like its running but it is failing to catch and start properly. I have not upgraded the Immich s/w but I did upgrade my YNH server with some updates last night. Could the latter be the cause? I can’t see anyone with the same problem on here so maybe its just me? Any ideas or suggestions welcomed. I know you guys are pretty good at helping amateurs like.

Share relevant logs or error messages

https://paste.yunohost.org/ohoqejusal

It looks like I have somehow lost an imoirtant file ???

  File "/var/www/immich/immich/app/machine-learning/immich_ml/models/transforms.py", line 5, in <module>
    import cv2
  File "/var/www/immich/immich/app/machine-learning/venv/lib/python3.11/site-packages/cv2/__init__.py", line 181, in <module>
    bootstrap()
  File "/var/www/immich/immich/app/machine-learning/venv/lib/python3.11/site-packages/cv2/__init__.py", line 153, in bootstrap
    native_module = importlib.import_module("cv2")
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/www/immich/immich/app/machine-learning/cpython-3.11.14-linux-x86_64-gnu/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Does this imply that my install has somehow become corrupt or is the issue wider, is the missing object part of the wider YNH software suite?

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Why not simply trying to update immich?

Im quickly coming to the same conclsion. I was just concerned that it may have been the YNH system update that had removed some key software modules that are a shared repository across apps and thus an upgrade would not fix it. For some reason I thought it looked like some kind of Python module was missing.

I took the easy option and upgraded. It now works OK but I am still concerned that something seemed to be removed when the only change applied was a YNH s/w upgrade with no change to the Immich app.