truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.14k stars 617 forks source link

[Nextcloud] stack in deploying 2/3 #2003

Closed krzysiek2788 closed 2 years ago

krzysiek2788 commented 2 years ago

App Name

Nextcloud

SCALE Version

22.02.0

App Version

23.0.2_11.0.31

Application Events

2022-03-03 8:00:19
Started container nextcloud
2022-03-03 7:59:49
Startup probe failed: HTTP probe failed with statuscode: 400
2022-03-03 8:00:19
Created container nextcloud
2022-03-03 8:00:09
Container image "tccr.io/truecharts/nextcloud:v23.0.2@sha256:a2b897413098ea9a54ab9308c9c645e96189a496a89550be249089f7853c8ed3" already present on machine
Successfully assigned ix-nextcloud/nextcloud-cronjob-27438180-n9l7q to ix-truenas
2022-03-03 8:00:00
Created pod: nextcloud-cronjob-27438180-n9l7q
2022-03-03 7:59:41
Startup probe failed: Get "http://172.16.1.100:80/status.php": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2022-03-03 7:59:26
Started container nextcloud
2022-03-03 7:59:25
Created container nextcloud
2022-03-03 7:59:18
Container image "tccr.io/truecharts/nextcloud:v23.0.2@sha256:a2b897413098ea9a54ab9308c9c645e96189a496a89550be249089f7853c8ed3" already present on machine
2022-03-03 7:58:52
Started container postgresql-init
2022-03-03 7:58:51
Created container postgresql-init
2022-03-03 7:58:51
Started container nextcloud-postgresql
2022-03-03 7:58:50
Created container nextcloud-postgresql
2022-03-03 7:58:48
Started container nextcloud-redis
2022-03-03 7:58:46
Created container nextcloud-redis
2022-03-03 7:58:32
Container image "ghcr.io/truecharts/postgresql:v14.1.0@sha256:1eb6ede5a83b4f6d15633c98b49f813b39519e3233b72e5d212a76f7e29bcd17" already present on machine
2022-03-03 7:58:31
Container image "ghcr.io/truecharts/postgresql:v14.1.0@sha256:1eb6ede5a83b4f6d15633c98b49f813b39519e3233b72e5d212a76f7e29bcd17" already present on machine
2022-03-03 7:58:31
Container image "ghcr.io/truecharts/redis:v6.2.6@sha256:f843271329edf9770752f2a01d8e6a1cafce3412cff56c59b5d6b305f75a99c0" already present on machine
2022-03-03 7:58:31
Started container inotify
2022-03-03 7:58:29
Started container inotify
2022-03-03 7:58:29
Started container inotify
2022-03-03 7:58:29
Created container inotify
2022-03-03 7:58:26
Created container inotify
2022-03-03 7:58:25
Created container inotify
2022-03-03 7:58:10
Container image "ghcr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c" already present on machine
2022-03-03 7:58:10
Container image "ghcr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c" already present on machine
2022-03-03 7:58:10
Container image "ghcr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c" already present on machine
2022-03-03 7:58:10
Started container autopermissions
2022-03-03 7:58:10
Started container autopermissions
2022-03-03 7:58:08
Started container autopermissions
2022-03-03 7:58:07
Created container autopermissions
2022-03-03 7:58:07
Created container autopermissions
2022-03-03 7:58:07
Created container autopermissions
2022-03-03 7:57:50
Container image "ghcr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c" already present on machine
2022-03-03 7:57:50
Add eth0 [172.16.1.101/16] from ix-net
2022-03-03 7:57:49
Container image "ghcr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c" already present on machine
2022-03-03 7:57:49
Add eth0 [172.16.1.100/16] from ix-net
2022-03-03 7:57:49
Container image "ghcr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c" already present on machine
2022-03-03 7:57:49
Add eth0 [172.16.1.99/16] from ix-net
Successfully assigned ix-nextcloud/nextcloud-redis-0 to ix-truenas
Successfully assigned ix-nextcloud/nextcloud-postgresql-0 to ix-truenas
2022-03-02 8:49:02
create Pod nextcloud-redis-0 in StatefulSet nextcloud-redis successful
Successfully assigned ix-nextcloud/nextcloud-5c969f698d-gdb54 to ix-truenas
2022-03-02 8:49:02
create Pod nextcloud-postgresql-0 in StatefulSet nextcloud-postgresql successful
2022-03-03 7:57:24
Created pod: nextcloud-5c969f698d-gdb54
2022-03-02 8:49:00
Scaled up replica set nextcloud-5c969f698d to 1

Application Logs

NextCloud Redis logs:
2022-03-03 06:58:52.196934+00:00redis 06:58:52.15 
2022-03-03 06:58:52.198115+00:00redis 06:58:52.19 Welcome to the Bitnami redis container
2022-03-03 06:58:52.199128+00:00redis 06:58:52.19 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-redis
2022-03-03 06:58:52.200141+00:00redis 06:58:52.19 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-redis/issues
2022-03-03 06:58:52.201217+00:00redis 06:58:52.20 
2022-03-03 06:58:52.202341+00:00redis 06:58:52.20 INFO  ==> ** Starting Redis setup **
2022-03-03 06:58:52.238318+00:00redis 06:58:52.23 WARN  ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
2022-03-03 06:58:52.416175+00:00redis 06:58:52.41 INFO  ==> Initializing Redis
2022-03-03 06:58:52.493543+00:00redis 06:58:52.49 INFO  ==> Setting Redis config file
2022-03-03 06:58:52.746305+00:00redis 06:58:52.74 INFO  ==> Configuring replication mode
2022-03-03 06:58:53.098814+00:002022-03-03T06:58:53.098814127Z
2022-03-03 06:58:53.098815+00:00redis 06:58:53.09 INFO  ==> ** Redis setup finished! **
2022-03-03 06:58:53.145821+00:00redis 06:58:53.14 INFO  ==> ** Starting Redis **
2022-03-03 06:58:53.670322+00:001:C 03 Mar 2022 06:58:53.668 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2022-03-03 06:58:53.670355+00:001:C 03 Mar 2022 06:58:53.668 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=1, just started
2022-03-03 06:58:53.670372+00:001:C 03 Mar 2022 06:58:53.668 # Configuration loaded
2022-03-03 06:58:53.670382+00:001:M 03 Mar 2022 06:58:53.669 * monotonic clock: POSIX clock_gettime
2022-03-03 06:58:53.690157+00:001:M 03 Mar 2022 06:58:53.690 * Running mode=standalone, port=6379.
2022-03-03 06:58:53.690191+00:001:M 03 Mar 2022 06:58:53.690 # Server initialized
2022-03-03 06:58:54.606767+00:001:M 03 Mar 2022 06:58:54.606 * DB loaded from append only file: 0.916 seconds
2022-03-03 06:58:54.606814+00:001:M 03 Mar 2022 06:58:54.606 * Ready to accept connections
2022-03-03 06:59:54.058774+00:001:M 03 Mar 2022 06:59:54.058 * 10000 changes in 60 seconds. Saving...
2022-03-03 06:59:54.059620+00:001:M 03 Mar 2022 06:59:54.059 * Background saving started by pid 161
2022-03-03 06:59:54.188993+00:00161:C 03 Mar 2022 06:59:54.188 * DB saved on disk
2022-03-03 06:59:54.189530+00:00161:C 03 Mar 2022 06:59:54.189 * RDB: 0 MB of memory used by copy-on-write
2022-03-03 06:59:54.260444+00:001:M 03 Mar 2022 06:59:54.260 * Background saving terminated with success

Nextcloud postgresql logs:
2022-03-03 06:58:52.487049+00:00postgresql 06:58:52.48 
2022-03-03 06:58:52.488527+00:00postgresql 06:58:52.48 Welcome to the Bitnami postgresql container
2022-03-03 06:58:52.489848+00:00postgresql 06:58:52.48 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-postgresql
2022-03-03 06:58:52.491109+00:00postgresql 06:58:52.49 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-postgresql/issues
2022-03-03 06:58:52.493478+00:00postgresql 06:58:52.49 
2022-03-03 06:58:52.682668+00:00postgresql 06:58:52.68 INFO  ==> ** Starting PostgreSQL setup **
2022-03-03 06:58:52.719789+00:00postgresql 06:58:52.71 INFO  ==> Validating settings in POSTGRESQL_* env vars..
2022-03-03 06:58:52.725819+00:00postgresql 06:58:52.72 INFO  ==> Loading custom pre-init scripts...
2022-03-03 06:58:53.064168+00:00postgresql 06:58:53.06 INFO  ==> Initializing PostgreSQL database...
2022-03-03 06:58:53.118983+00:00postgresql 06:58:53.11 INFO  ==> pg_hba.conf file not detected. Generating it...
2022-03-03 06:58:53.120528+00:00postgresql 06:58:53.12 INFO  ==> Generating local authentication configuration
2022-03-03 06:58:53.197767+00:00postgresql 06:58:53.19 INFO  ==> Deploying PostgreSQL with persisted data...
2022-03-03 06:58:54.689710+00:00postgresql 06:58:54.68 INFO  ==> Configuring replication parameters
2022-03-03 06:58:54.740827+00:00postgresql 06:58:54.74 INFO  ==> Configuring fsync
2022-03-03 06:58:54.748042+00:00postgresql 06:58:54.74 INFO  ==> Configuring synchronous_replication
2022-03-03 06:58:54.764137+00:00postgresql 06:58:54.76 INFO  ==> Loading custom scripts...
2022-03-03 06:58:54.768503+00:00postgresql 06:58:54.76 INFO  ==> Enabling remote connections
2022-03-03 06:58:54.816527+00:00postgresql 06:58:54.81 INFO  ==> ** PostgreSQL setup finished! **
2022-03-03 06:58:54.816542+00:002022-03-03T06:58:54.816542776Z
2022-03-03 06:58:54.847065+00:00postgresql 06:58:54.84 INFO  ==> ** Starting PostgreSQL **
2022-03-03 06:58:57.569324+00:002022-03-03 06:58:57.569 GMT [1] LOG:  pgaudit extension initialized
2022-03-03 06:58:57.605587+00:002022-03-03 06:58:57.605 GMT [1] LOG:  starting PostgreSQL 14.1 on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2022-03-03 06:58:57.618702+00:002022-03-03 06:58:57.618 GMT [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2022-03-03 06:58:57.618748+00:002022-03-03 06:58:57.618 GMT [1] LOG:  listening on IPv6 address "::", port 5432
2022-03-03 06:58:57.633088+00:002022-03-03 06:58:57.632 GMT [1] LOG:  listening on Unix socket "/tmp/.s.PGSQL.5432"
2022-03-03 06:58:57.782313+00:002022-03-03 06:58:57.782 GMT [85] LOG:  database system was shut down at 2022-03-03 06:56:31 GMT
2022-03-03 06:58:57.889502+00:002022-03-03 06:58:57.889 GMT [1] LOG:  database system is ready to accept connections

Application Configuration

image image image image image image

Describe the bug

Nextcloud cannot deploy. It is stack in 2/3 deploying stage. My NcStorage has permissions set to apps:apps so all should work just fine. Other apps such as plex, zigbee2mqtt, Unifi is working fine.

To Reproduce

I change only ncadmin password in configuration and added storage as mount point rest of the settings are intact.

Expected Behavior

Fully deployed nextcloud

Screenshots

image

Additional Context

nothing

I've read and agree with the following

PrivatePuffin commented 2 years ago

As I said on the discord, I really want independent confirmation before i'm going to look at this. Sorry that the support staff pointed you here too soon, to file a bugreport I really need evidence of a bug and we've other users deploying nextcloud without any issue.

Most likely still just permission issues. Also they should've adviced you not to mount inside /mnt in the container itself. So there is definately support steps to go there still.

PrivatePuffin commented 2 years ago

Whoops might different issues i'm confusing now...

truecharts-admin commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists