Needing help with installing apps. I have created datasets and added apps to the acl permissions. Have a general smb user. But when I try to install anything I am met with [EFAULT] Failed ‘up’ action for ‘portainer’ app, please check /var/log/app_lifecycle.log for more details … Logs
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/service/crud_service.py”, line 268, in nf
rv = 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/schema/processor.py”, line 183, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 203, in do_create
return self.create_internal(job, app_name, version, data[‘values’], complete_app_details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 248, in create_internal
raise e from None
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 241, in create_internal
compose_action(app_name, 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 ‘portainer’ app, please check /var/log/app_lifecycle.log for more details
But when I got to look at this location or /var/log/messages it tell me there is no such file location. Have tried finding anything but nothing pertaining to this
Forgot to mention I have done a complete reinstall but nothing changes
Can you post the command you’re using to look for /var/log/app_lifecycle.log and the output in code tags (backticks, like: `this`)?
How would I go about doing this ? Sorry I’m pretty new to nas and home setup etc.
I’m trying to figure out what you mean by “go to look at this location” here:
How did you attempt to look at that location and how were you told it doesn’t exist?
oh im sorry, I used the truenas shell and typed in /var/log/messages and the lifecycle.log and it said the location does not exist
Try cat /var/log/app_lifecycle.log
Sorry for late respond. I did the cat command in shell and is still saying no directory or file
I’m not sure what I did. But I ended up reinstalling it completely from 20.04 and upgrading then reimporting pool. And now everything seems to be downloading and deploying good
Glad you got it figured out. I do wonder why you were not finding built-in files present on the system, but at least it’s working.