MatthewBowker Posted January 12 Posted January 12 Hi all, First time posting on the HexOS forum, hopefully I've categories my issue in the right location. I'm having an issue with Immich, it's unfortunately not deploying on my NAS. Once I booted up HexOS for the first time I installed Immich to play around with the one click installation. I ended up playing with the app configure to try and move the data folder and ended up uninstalling the app. I've since tried re-installing the app but it's now stuck in a deploying loop and won't launch. I've logged into TrueNAS to see the jobs list and found the error log which I've copied and pasted below: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/job.py", line 488, in run await self.future File "/usr/lib/python3/dist-packages/middlewared/job.py", line 535, in __run_body rv = await self.middleware.run_in_thread(self.method, *args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1364, 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 1361, 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/schema/processor.py", line 183, in nf return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 55, in nf res = f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/app_scale.py", line 51, 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 57, in compose_action raise CallError( middlewared.service_exception.CallError: [EFAULT] Failed 'up' action for 'immich' app, please check /var/log/app_lifecycle.log for more details I don't know what any of this means as I'm the target audience for Hex which is enthusiast. If anyone knows how to resolve the issue I would love some support! Thanks in advance, Matt Quote
Ornival Posted January 14 Posted January 14 Not quite sure, because this is only a partial (system) log, but my best guess is that Immich fails to initialise start, because you skipped parts of the onboarding. By skipping initial user and share creation setting, and manually setting these afterwards (or from TrueNAS) docker locations and permissions aren't updated. It is best to "just reset" and start all over. You can do it without resetting from within TrueNAS, but why bother? Fixing takes more time than just restarting from scratch. Quote
MatthewBowker Posted January 15 Author Posted January 15 Is there a way of resetting without loosing all the data on my server? I have 1.2TB of files on there now which I've been transferring from Google Drive and it would be a real pain in the arse to upload it all again and download it after the reinstall. Quote
TwoStroke Posted January 20 Posted January 20 (edited) On 1/15/2025 at 6:42 PM, MatthewBowker said: Is there a way of resetting without loosing all the data on my server? I have 1.2TB of files on there now which I've been transferring from Google Drive and it would be a real pain in the arse to upload it all again and download it after the reinstall. Hey mate, You may be running into the same issue I was having, which occurred after uninstalling and reinstalling Immich. Here is how I resolved it, please give this a try before going through with resetting your server. Edited January 20 by TwoStroke Quote
Taptile Posted January 20 Posted January 20 I'm having the same kind of issue. I can get Immich set up, but when I start uploading photos, after about 100 or so photos Immich starts to do the deploying loop. The status is "running" for like 20 seconds at a time, and then it gois back to "deploying". I did reinstall the immich with your advice, deleting the folders immich created during the first installation, but no luck. I got a bit paranoid that maybe the HDD's arent getting enough power through my Zimaboard, but no, that wasnt the problem as I'm now powering them with a different psu and nothing changed. Can somebody help me with this? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.