Good morning, apologies first i am very new to this and figuring my way round. I set up TrueNAS for the first time a few months ago and it just worked with no issues at all. So didnt need to know much. A couple of days ago i had a power cut and the system went off when it came back it had HDD errors but after a full scan the have gone and is showing as clear now but……
When i reboot my apps come back on but they are unmanageable. I cannot change them or delete them at all. i just get errors for everything. As an example i set up IMMICH but this is one of 3 that will not start at all (several other do start and run but can not change anything) as this will not start i decided to delete this and start again but when i do this is what i get
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 627, 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 624, 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 101, in wrapped
result = func(*args)
^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 300, in do_delete
return self.delete_internal(job, app_name, app_config, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 306, in delete_internal
compose_action(
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/compose_utils.py”, line 20, in compose_action
*[(‘-f’, item) for item in get_rendered_templates_of_app(app_name, app_version)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/ix_apps/lifecycle.py”, line 31, in get_rendered_templates_of_app
for entry in pathlib.Path(get_installed_app_rendered_dir_path(app_name, version)).iterdir():
File “/usr/lib/python3.11/pathlib.py”, line 932, in iterdir
for name in os.listdir(self):
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/mnt/.ix-apps/app_configs/immich/versions/1.11.4/templates/rendered’
I have gone through loads of help files etc advising commands and things to unmount, remount, remove, forceful remove, mount to another location, unset pool (this also doesn’t work and gets stuck), and loads of other stuff but nothing works so now i am looking for what next.
As i said i am new to this but not new to IT so i know there is not much in this but please let me know what you need to help and i will do my best to get it
thank you