Nextcloud fail to deploy
Description
Problem/Justification
Impact
Activity
Stavros Kois July 24, 2023 at 5:47 PMEdited
I assume this worked for you?
I’m going to close this for now, if you still having issues feel free to ping back.
Thanks
Stavros Kois July 18, 2023 at 5:56 PM
From the logs looks like your nextcloud directories does not have the correct permissions/ownership.
It should be accessible from user:group `www-data:www-data` (id 33).
Also nextcloud wants the data dir to have 770
for permissions
770 means:
User: Read,Write,Execute
Group: Read,Write,Execute
Others: None
Let me know if that worked.
This is usually handled by nextcloud at initial startup,
I assume you trying to do a restore or a migration of another instance?
If you try to use an empty directory that was previously used by other nextcloud instance, there might be hidden leftover files such as .htaccess
that you probably need to also cleanup. At least .htaccess
shows up in the logs as not being accessible.
You can view nextcloud logs to see if something stands out, by going to Apps > Installed Apps > Select the 3-dots button in the nextcloud card > Select Logs.
For pod Select the one that do not have postgres
in it’s name.
For container select nextcloud
Bonnie Follweiler July 17, 2023 at 2:09 PM
Thank you for your ticket submission .
I have moved this ticket into our queue to review now.
An engineering representative will update with any further questions or details in the near future.
Automation for Jira July 17, 2023 at 1:52 AM
Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.
https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153
Installation of Nextcloud from Apps will stuck on "Deploying 1/2" no matter the config.
2023-07-17 11:45:36
Job has reached the specified backoff limit
2023-07-17 11:45:36
Saw completed job: nextcloud-cronjob-28159305, status: Failed
2023-07-17 11:45:33
Created container nextcloud-cronjob
2023-07-17 11:45:33
Started container nextcloud-cronjob
2023-07-17 11:45:32
Add eth0 [172.16.0.159/16] from ix-net
2023-07-17 11:45:32
Container image "nextcloud:27.0.0" already present on machine
2023-07-17 11:45:31
Created pod: nextcloud-cronjob-28159305-jvzlx
2023-07-17 11:45:31
Successfully assigned ix-nextcloud/nextcloud-cronjob-28159305-jvzlx to ix-truenas
2023-07-17 11:45:29
Started container nextcloud-cronjob
2023-07-17 11:45:28
Add eth0 [172.16.0.158/16] from ix-net
2023-07-17 11:45:28
Container image "nextcloud:27.0.0" already present on machine
2023-07-17 11:45:28
Created container nextcloud-cronjob
2023-07-17 11:45:27
Created pod: nextcloud-cronjob-28159305-zrflr
2023-07-17 11:45:27
Successfully assigned ix-nextcloud/nextcloud-cronjob-28159305-zrflr to ix-truenas
2023-07-17 11:45:24
Started container nextcloud-cronjob
2023-07-17 11:45:23
Add eth0 [172.16.0.157/16] from ix-net
2023-07-17 11:45:23
Container image "nextcloud:27.0.0" already present on machine
2023-07-17 11:45:23
Created container nextcloud-cronjob
2023-07-17 11:45:20
Created pod: nextcloud-cronjob-28159305-f5wbt
2023-07-17 11:45:20
Successfully assigned ix-nextcloud/nextcloud-cronjob-28159305-f5wbt to ix-truenas
2023-07-17 11:45:18
Started container nextcloud-cronjob
2023-07-17 11:45:17
Add eth0 [172.16.0.156/16] from ix-net
2023-07-17 11:45:17
Container image "nextcloud:27.0.0" already present on machine
2023-07-17 11:45:17
Created container nextcloud-cronjob
2023-07-17 11:45:16
Created pod: nextcloud-cronjob-28159305-l6vj9
2023-07-17 11:45:16
Successfully assigned ix-nextcloud/nextcloud-cronjob-28159305-l6vj9 to ix-truenas
2023-07-17 11:45:13
Started container nextcloud-cronjob
2023-07-17 11:45:12
Add eth0 [172.16.0.155/16] from ix-net
2023-07-17 11:45:12
Container image "nextcloud:27.0.0" already present on machine
2023-07-17 11:45:12
Created container nextcloud-cronjob
2023-07-17 11:45:10
Created pod: nextcloud-cronjob-28159305-hgq2m
2023-07-17 11:45:10
Successfully assigned ix-nextcloud/nextcloud-cronjob-28159305-hgq2m to ix-truenas
2023-07-17 11:45:08
Started container nextcloud-cronjob
2023-07-17 11:45:07
Add eth0 [172.16.0.154/16] from ix-net
2023-07-17 11:45:07
Container image "nextcloud:27.0.0" already present on machine
2023-07-17 11:45:07
Created container nextcloud-cronjob
2023-07-17 11:45:06
Created pod: nextcloud-cronjob-28159305-vktqj
2023-07-17 11:45:06
Successfully assigned ix-nextcloud/nextcloud-cronjob-28159305-vktqj to ix-truenas
2023-07-17 11:45:03
Started container nextcloud-cronjob
2023-07-17 11:45:02
Add eth0 [172.16.0.153/16] from ix-net
2023-07-17 11:45:02
Container image "nextcloud:27.0.0" already present on machine
2023-07-17 11:45:02
Created container nextcloud-cronjob
2023-07-17 11:45:00
Created job nextcloud-cronjob-28159305
2023-07-17 11:45:00
Created pod: nextcloud-cronjob-28159305-zjvjn
2023-07-17 11:45:00
Successfully assigned ix-nextcloud/nextcloud-cronjob-28159305-zjvjn to ix-truenas
2023-07-17 11:41:33
Startup probe failed: HTTP probe failed with statuscode: 502
2023-07-17 11:32:48
Container nextcloud failed startup probe, will be restarted
2023-07-17 11:32:08
Startup probe failed: HTTP probe failed with statuscode: 403
2023-07-17 11:32:03
Startup probe failed: HTTP probe failed with statuscode: 403
2023-07-17 11:31:53
Started container nextcloud
2023-07-17 11:31:52
Created container nextcloud
2023-07-17 11:31:50
Started container nginx
2023-07-17 11:31:50
Container image "nextcloud:27.0.0" already present on machine
2023-07-17 11:31:49
Container image "nginx:1.23.3" already present on machine
2023-07-17 11:31:49
Created container nginx
2023-07-17 11:31:32
Started container init-postgresdb
2023-07-17 11:31:31
Created container init-postgresdb
2023-07-17 11:31:31
Started container nextcloud-postgres
2023-07-17 11:31:30
Add eth0 [172.16.0.151/16] from ix-net
2023-07-17 11:31:30
Container image "postgres:13.1" already present on machine
2023-07-17 11:31:30
Add eth0 [172.16.0.152/16] from ix-net
2023-07-17 11:31:30
Container image "postgres:13.1" already present on machine
2023-07-17 11:31:30
Created container nextcloud-postgres
2023-07-17 11:31:28
Scaled up replica set nextcloud-554845d485 to 1
2023-07-17 11:31:27
Scaled up replica set nextcloud-postgres-9fd9d8645 to 1
2023-07-17 11:31:27
Created pod: nextcloud-postgres-9fd9d8645-vxs2j
2023-07-17 11:31:27
Successfully assigned ix-nextcloud/nextcloud-postgres-9fd9d8645-vxs2j to ix-truenas
2023-07-17 11:31:27
Created pod: nextcloud-554845d485-zjgqt
2023-07-17 11:31:27
Successfully assigned ix-nextcloud/nextcloud-554845d485-zjgqt to ix-truenas