Fresh nextcloud on 24.10: container ix-nextcloud-postgres-1 is unhealthy

I am having issues trying to install nextcloud after upgrading to EE. I created new datasets with the Apps preset for appdata, config, database, and userdata. Try to install from the apps list and there is an error

[EFAULT] Failed ‘up’ action for ‘nextcloud’ app, please check /var/log/app_lifecycle.log for more details

so from the shell I run

sudo cat /var/log/app_lifecycle.log

53989aa24808 Pull complete
postgres Pulled
Network ix-nextcloud_default Creating
Network ix-nextcloud_default Created
Volume “ix-nextcloud_redis-data” Creating
Volume “ix-nextcloud_redis-data” Created
Container ix-nextcloud-permissions-1 Creating
time=“2024-11-10T19:42:06-05:00” level=warning msg=“config uid, gid and mode are not supported, they will be ignored”
time=“2024-11-10T19:42:06-05:00” level=warning msg=“config uid, gid and mode are not supported, they will be ignored”
Container ix-nextcloud-permissions-1 Created
Container ix-nextcloud-redis-1 Creating
Container ix-nextcloud-postgres-1 Creating
Container ix-nextcloud-redis-1 Created
Container ix-nextcloud-postgres-1 Created
Container ix-nextcloud-nextcloud-1 Creating
time=“2024-11-10T19:42:06-05:00” level=warning msg=“config uid, gid and mode are not supported, they will be ignored”
time=“2024-11-10T19:42:06-05:00” level=warning msg=“config uid, gid and mode are not supported, they will be ignored”
Container ix-nextcloud-nextcloud-1 Created
Container ix-nextcloud-nginx-1 Creating
Container ix-nextcloud-cron-1 Creating
time=“2024-11-10T19:42:06-05:00” level=warning msg=“config uid, gid and mode are not supported, they will be ignored”
time=“2024-11-10T19:42:06-05:00” level=warning msg=“config uid, gid and mode are not supported, they will be ignored”
Container ix-nextcloud-nginx-1 Created
Container ix-nextcloud-cron-1 Created
Container ix-nextcloud-permissions-1 Starting
Container ix-nextcloud-permissions-1 Started
Container ix-nextcloud-permissions-1 Waiting
Container ix-nextcloud-permissions-1 Waiting
Container ix-nextcloud-permissions-1 Exited
Container ix-nextcloud-permissions-1 Exited
Container ix-nextcloud-redis-1 Starting
Container ix-nextcloud-postgres-1 Starting
Container ix-nextcloud-postgres-1 Started
Container ix-nextcloud-redis-1 Started
Container ix-nextcloud-permissions-1 Waiting
Container ix-nextcloud-postgres-1 Waiting
Container ix-nextcloud-redis-1 Waiting
Container ix-nextcloud-permissions-1 Exited
Container ix-nextcloud-postgres-1 Error
Container ix-nextcloud-redis-1 Healthy
dependency failed to start: container ix-nextcloud-postgres-1 is unhealthy

Using IxVolume for the postgres database allowed the app to install, but I would still appreciate any advice on troubleshooting the issue with the host-path dataset.

Permissions (ACL if you set them).

Go check how the IXvolume was setup!

ix-applications:

and the dataset I created (I added netdata user):

The dataset needs to have posix permissions.

Take a look at the updated Nextcloud tutorial: Nextcloud | TrueNAS Documentation Hub

1 Like