Update and request for help: I messed up, or, how i lost access to my webgui

Hi again everyone

Original post

I delayed turning on my system for about a month as i was petrified of what damage i might have done. I had completely lost access to the gui. I have managed to get that back by disabling k3s. I have applied the latest update and am now running 24.10.2.4

My apps are now displaying this message when i click on the apps tab

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 211, in call_method
result = await self.middleware.call_with_audit(message[‘method’], serviceobj, methodobj, params, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1529, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1460, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 179, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 49, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/apps.py”, line 18, in latest
await self.middleware.call(
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1629, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1471, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1364, 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/catalog/apps.py”, line 67, in available
for app in self.middleware.call_sync(‘app.query’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1665, in call_sync
return methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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/schema/processor.py”, line 183, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 110, in query
apps = list_apps(available_apps_mapping, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/ix_apps/query.py”, line 135, in list_apps
with os.scandir(get_app_parent_config_path()) as scan:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/mnt/.ix-apps/app_configs’

When i close that error window, apps shows:

Its seems i have disconnected ix apps and i need to remount. Is anyone able to help me do this please?

It has been suggested to me to reinstall truenas. I have been assured my data will most likely be ok but im terriied of losing configs for apps. I have really important data within my apps

Any ideas? I wont go back to chatgpt for this time

I didn’t track the original post. And I don’t understand what you are exactly trying to accomplish now. In the original post you were suggested to reinstall truenas (with saving config and encryption keys beforehand). Did you reinstall?


Also, I’m not very experienced with apps. However, fwiw, /mnt/.ix-apps/app_configs doesn’t look like a correct path. Mine reside at /mnt/<pool-name>/.ix-apps/app_configs. OTOH, the first path can be from the apps installed to the boot pool. Perhaps someone more familiar with apps could help.

Thanks for your reply swc-phil

How can i change to /mnt/<pool-name>/.ix-apps/app_configs

I have some apps in ixvol and some in dedicated paths i have created myself

I don’t know how. And I don’t even know whether you really have to… FWIW, there is a mention of how to.

Do they also not work?

Thanks for that link. I only have one pool but i still set it again

Ive found the app_configs folder using midnight commander (usually id use file browser but apps down atm). Its in this location:

/mnt/mnt/super_rad_cool_pool/ix-applications/app_configs

Unfortunately not.

  • On the left side is the locations where i have created datasets specifically for apps.
  • On the right side is the ix volumes app configs/

I know that somehow i need to remount these but i am not sure how