Summary of the issue you are facing:
I’m trying to install Nextcloud (version v2.0.17 from the TrueNAS Apps catalog) on TrueNAS SCALE. The app briefly starts deploying but then immediately crashes and disappears from the app list. No Nextcloud logs or app-specific error messages are available in the UI.
Steps to replicate it :
In the TrueNAS SCALE web interface, navigate to the “Apps” page.
Go to “Available Applications,” find Nextcloud, and click to install.
The app begins to deploy, but the process fails while trying to download the Nextcloud Docker image.
The app then crashes and is completely removed from the app list.
I’ve confirmed that my storage pool, ssd_t500_pool, is online and has ample free space (approx. 895 GiB). Therefore, the issue is not related to insufficient storage.
[EFAULT] Failed ‘up’ action for ‘nextcloud’ app. Please check /var/log/app_lifecycle.log for more details
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 148, 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 193, in create_internal
raise e from None
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 186, 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 61, in compose_action
raise CallError(err_msg)
middlewared.service_exception.CallError: [EFAULT] Failed ‘up’ action for ‘nextcloud’ app. Please check /var/log/app_lifecycle.log for more details
Hi @LarsR ,
Thanks for your response
I’m not very familiar with Linux,
but based on the permissions, it should be writable.
Where should I make the changes?
Nextcloud Postgres Data Storage
/mnt/ssd_t500_pool/NextCloud/Postgres
drwxr-xr-x 5 root root 5 Aug 14 21:42 /mnt
drwxrwxrwx 9 root root 9 Aug 15 18:02 /mnt/ssd_t500_pool
drwxrwxrwx 4 apps apps 4 Aug 15 20:24 /mnt/ssd_t500_pool/NextCloud/
drwx------ 19 netdata netdata 25 Aug 15 21:55 /mnt/ssd_t500_pool/NextCloud/Postgres/
sky683@sky683-Nas:/mnt/ssd_t500_pool/NextCloud$ sudo ls -al /mnt/ssd_t500_pool/NextCloud/Postgres/
total 61
drwx------ 19 netdata netdata 25 Aug 15 21:55 .
drwxrwxrwx 4 apps apps 4 Aug 15 20:24 …
-rwx------ 1 netdata netdata 3 Aug 15 20:26 PG_VERSION
drwx------ 6 netdata netdata 6 Aug 15 20:26 base
drwx------ 2 netdata netdata 65 Aug 15 21:55 global
drwx------ 2 netdata netdata 2 Aug 15 20:26 pg_commit_ts
drwx------ 2 netdata netdata 2 Aug 15 20:26 pg_dynshmem
-rwx------ 1 netdata netdata 5743 Aug 15 20:26 pg_hba.conf
-rwx------ 1 netdata netdata 2640 Aug 15 20:26 pg_ident.conf
drwx------ 4 netdata netdata 5 Aug 15 21:55 pg_logical
drwx------ 4 netdata netdata 4 Aug 15 20:26 pg_multixact
drwx------ 2 netdata netdata 2 Aug 15 20:26 pg_notify
drwx------ 2 netdata netdata 2 Aug 15 20:26 pg_replslot
drwx------ 2 netdata netdata 2 Aug 15 20:26 pg_serial
drwx------ 2 netdata netdata 2 Aug 15 20:26 pg_snapshots
drwx------ 2 netdata netdata 3 Aug 15 21:55 pg_stat
drwx------ 2 netdata netdata 2 Aug 15 20:26 pg_stat_tmp
drwx------ 2 netdata netdata 3 Aug 15 20:26 pg_subtrans
drwx------ 2 netdata netdata 2 Aug 15 20:26 pg_tblspc
drwx------ 2 netdata netdata 2 Aug 15 20:26 pg_twophase
drwx------ 4 netdata netdata 5 Aug 15 20:26 pg_wal
drwx------ 2 netdata netdata 3 Aug 15 20:26 pg_xact
-rwx------ 1 netdata netdata 88 Aug 15 20:26 postgresql.auto.conf
-rwx------ 1 netdata netdata 30777 Aug 15 20:26 postgresql.conf
-rwx------ 1 netdata netdata 36 Aug 15 21:55 postmaster.opts