Nextcloud installation fails

Hello,

I can’t seem to get the Nextcloud installation working on Nextcloud Scale 25.04.1
The installation fails and points to /var/log/app_lifecycle.log where the following errors are logged.

It’s worth mentioning that I can install Nextcloud to the default iX location but not to a host path, even though I have created a dataset for the dataset and given the user and group www-data ownership and full permissions.

[2025/06/23 09:43:28] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: redis Pulling \n imaginary Pulling \n permissions Pulling \n cron Pulling >
[2025/06/23 09:43:37] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: nextcloud Pulling \n cron Pulling \n nextcloud Warning pull access denied f>
[2025/06/23 09:47:36] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: nextcloud Pulling \n cron Pulling \n cron Warning pull access denied for ix>
[2025/06/23 09:52:35] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 09:07:56] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 09:21:37] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 09:27:12] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: cron Pulling \n nextcloud Pulling \n cron Warning pull access denied for ix>
[2025/06/23 10:52:58] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 11:19:08] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 13:22:47] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: nextcloud Pulling \n cron Pulling \n nextcloud Warning pull access denied f>
[2025/06/23 13:23:22] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 13:23:52] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 13:24:40] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 13:25:07] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 13:33:51] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: permissions Pulling \n postgres_upgrade Pulling \n postgres Pulling \n next>
[2025/06/23 13:40:25] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: nextcloud Pulling \n cron Pulling \n nextcloud Warning pull access denied f>
[2025/06/23 13:45:15] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: nextcloud Pulling \n cron Pulling \n imaginary Pulling \n f18232174bc9 Pull>
[2025/06/23 13:51:12] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: nextcloud Pulling \n nextcloud Warning pull access denied for ix-nextcloud,>
[2025/06/23 14:02:58] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: nextcloud Pulling \n cron Pulling \n cron Warning pull access denied for ix>
[2025/06/23 14:10:19] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 14:14:35] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 14:16:03] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: Network ix-nextcloud_default Creating\n Network ix-nextcloud_default Crea>
[2025/06/23 14:22:30] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: postgres_upgrade Pulling \n imaginary Pulling \n postgres Pulling \n redis >
[2025/06/23 14:26:35] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘nextcloud’ app: nextcloud Pulling \n cron Pulling \n nextcloud Warning pull access denied f>

Any help is deeply appreciated!

if your dataset is nested into another dataset (example, like i have, POOL/DOCKER/NEXTCLOUD/…), is mandatory that the user/group involved can traverse into the dataset on top, otherwhise you will ever end with access denied error (taking my example, the DOCKER dataset)

Hi oxyde, I appreciate your answer.

I still can’t get it to work. Posting below the output of getfacl and ls -ld up to /ncdb which is the selected dataset for the database to be installed.

root@truenas[/mnt/.ix-apps]# ls -ld /mnt /mnt/aTs_Files /mnt/aTs_Files/ncdb
drwxr-xr-x 4 root root 4 Jun 22 21:42 /mnt
drwxr-xr-x 14 root root 13 Jun 23 14:04 /mnt/aTs_Files
drwx------ 3 www-data www-data 2 Jun 23 04:20 /mnt/aTs_Files/ncdb

root@truenas[/mnt/.ix-apps]# getfacl /mnt
getfacl /mnt/aTs_Files
getfacl /mnt/aTs_Files/ncdb
getfacl: Removing leading ‘/’ from absolute path names
file: mnt
owner: root
group: root
user::rwx
group::r-x
other::r-x

getfacl: Removing leading ‘/’ from absolute path names
file: mnt/aTs_Files
owner: root
group: root
user::rwx
group::r-x
other::r-x

getfacl: Removing leading ‘/’ from absolute path names
file: mnt/aTs_Files/ncdb
owner: www-data
group: www-data
user::rwx
group::—
other::—

root@truenas[/mnt/.ix-apps]# namei -l /mnt/aTs_Files/ncdb
f: /mnt/aTs_Files/ncdb
drwxr-xr-x root root /
drwxr-xr-x root root mnt
drwxr-xr-x root root aTs_Files
drwx------ www-data www-data ncdb

i think the problem is just this

the owner-group should be netdata (the user with the gid 999); www-data must be the user/group of the other dataset, the one with the data.
Hope this helps

Thanks Oxyde!
This worked (quoting from here Cannot install Nextcloud App from listing ONLY when using non-IX paths)

After a lot of trial an error today, I was able to get it working (fresh install) by using the CLI to create my directories and assign the following users and permissions:

  • App Data: 755 www-data:www-data
  • User Data: 755 www-data:www-data
  • Postgres: 700 netdata:docker
1 Like