truecharts / public

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

photoprism auto update error: Mariadb failed to start #2921

Closed zzzhouuu closed 2 years ago

zzzhouuu commented 2 years ago

App Name

photoprism

SCALE Version

22.02.1

App Version

220614_10.0.5

Application Events

2022-06-17 18:55:22
Startup probe failed: command "/bin/bash -ec until /opt/bitnami/scripts/mariadb/healthcheck.sh; do sleep 2; done" timed out
2022-06-17 18:55:08
Started container photoprism-mariadb
2022-06-17 18:55:08
Created container photoprism-mariadb
2022-06-17 18:55:08
Container image "ghcr.io/truecharts/mariadb:v10.7.4@sha256:7f7b98e81d4db5808b35a12564697818dca7f28408610f58e2fa436bbcf0fbe5" already present on machine
2022-06-17 18:55:08
Started container autopermissions
2022-06-17 18:55:07
Created container autopermissions
2022-06-17 18:55:07
Container image "ghcr.io/truecharts/alpine:v3.15.2@sha256:29ed3480a0ee43f7af681fed5d4fc215516abf1c41eade6938b26d8c9c2c7583" already present on machine
2022-06-17 18:55:07
Add eth0 [172.16.2.249/16] from ix-net
2022-06-17 18:55:05
Started container mariadb-init
2022-06-17 18:55:05
Created container mariadb-init
Successfully assigned ix-photoprism/photoprism-mariadb-0 to ix-truenas
2022-06-04 15:25:18
create Pod photoprism-mariadb-0 in StatefulSet photoprism-mariadb successful
2022-06-17 18:55:05
Container image "ghcr.io/truecharts/mariadb:v10.7.4@sha256:7f7b98e81d4db5808b35a12564697818dca7f28408610f58e2fa436bbcf0fbe5" already present on machine
2022-06-17 18:55:04
Stopping container autopermissions
2022-06-17 18:55:04
Started container autopermissions
2022-06-17 18:55:04
Started container autopermissions
2022-06-17 18:55:04
Started container autopermissions
2022-06-17 18:55:03
Created container autopermissions
2022-06-17 18:55:03
Created container autopermissions
2022-06-17 18:55:03
Created container autopermissions
2022-06-17 18:55:03
Container image "ghcr.io/truecharts/alpine:v3.15.2@sha256:29ed3480a0ee43f7af681fed5d4fc215516abf1c41eade6938b26d8c9c2c7583" already present on machine
2022-06-17 18:55:03
Add eth0 [172.16.2.248/16] from ix-net
2022-06-17 18:55:03
Container image "ghcr.io/truecharts/alpine:v3.15.2@sha256:29ed3480a0ee43f7af681fed5d4fc215516abf1c41eade6938b26d8c9c2c7583" already present on machine
2022-06-17 18:55:03
Add eth0 [172.16.2.247/16] from ix-net
2022-06-17 18:55:03
Container image "ghcr.io/truecharts/alpine:v3.15.2@sha256:29ed3480a0ee43f7af681fed5d4fc215516abf1c41eade6938b26d8c9c2c7583" already present on machine
2022-06-17 18:55:03
Add eth0 [172.16.2.246/16] from ix-net
Successfully assigned ix-photoprism/photoprism-b6b576797-tjgzr to ix-truenas
2022-06-17 18:55:01
Created pod: photoprism-b6b576797-tjgzr
Successfully assigned ix-photoprism/photoprism-mariadb-0 to ix-truenas
Successfully assigned ix-photoprism/photoprism-b6b576797-fwhhr to ix-truenas
2022-06-17 18:55:01
Created pod: photoprism-b6b576797-fwhhr
2022-06-16 1:39:18
Scaled up replica set photoprism-b6b576797 to 1
2022-06-09 17:38:12
delete Pod photoprism-mariadb-0 in StatefulSet photoprism-mariadb successful
2022-06-17 18:54:45
Stopping container mariadb-init
2022-06-17 18:54:45
Deleted pod: photoprism-b6b576797-k4sfk
2022-06-16 1:48:51
Scaled down replica set photoprism-b6b576797 to 0
2022-06-17 18:45:50
Startup probe failed: command "/bin/bash -ec until /opt/bitnami/scripts/mariadb/healthcheck.sh; do sleep 2; done" timed out
2022-06-17 18:45:39
Started container mariadb-init
2022-06-17 18:45:39
Created container mariadb-init
2022-06-17 18:45:38
Container image "ghcr.io/truecharts/mariadb:v10.7.4@sha256:7f7b98e81d4db5808b35a12564697818dca7f28408610f58e2fa436bbcf0fbe5" already present on machine
2022-06-17 18:45:36
Started container photoprism-mariadb
2022-06-17 18:45:36
Created container photoprism-mariadb
2022-06-17 18:45:35
Container image "ghcr.io/truecharts/mariadb:v10.7.4@sha256:7f7b98e81d4db5808b35a12564697818dca7f28408610f58e2fa436bbcf0fbe5" already present on machine
2022-06-17 18:45:35
Started container autopermissions
2022-06-17 18:45:35
Started container autopermissions
2022-06-17 18:45:35
Created container autopermissions
2022-06-17 18:45:35
Created container autopermissions
2022-06-17 18:45:34
Container image "ghcr.io/truecharts/alpine:v3.15.2@sha256:29ed3480a0ee43f7af681fed5d4fc215516abf1c41eade6938b26d8c9c2c7583" already present on machine
2022-06-17 18:45:34
Container image "ghcr.io/truecharts/alpine:v3.15.2@sha256:29ed3480a0ee43f7af681fed5d4fc215516abf1c41eade6938b26d8c9c2c7583" already present on machine
2022-06-17 18:45:34
Add eth0 [172.16.2.245/16] from ix-net
2022-06-17 18:45:34
Add eth0 [172.16.2.244/16] from ix-net
Successfully assigned ix-photoprism/photoprism-mariadb-0 to ix-truenas
Successfully assigned ix-photoprism/photoprism-b6b576797-k4sfk to ix-truenas

Application Logs

mariadb 11:05:48.11
mariadb 11:05:48.11 Welcome to the Bitnami mariadb container
mariadb 11:05:48.11 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb
mariadb 11:05:48.11 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb/issues
mariadb 11:05:48.11
mariadb 11:05:48.11 INFO  ==> ** Starting MariaDB setup **
mariadb 11:05:48.13 INFO  ==> Validating settings in MYSQL_*/MARIADB_* env vars
mariadb 11:05:48.13 INFO  ==> Initializing mariadb database
mariadb 11:05:48.15 INFO  ==> Updating 'my.cnf' with custom configuration
mariadb 11:05:48.15 INFO  ==> Setting user option
mariadb 11:05:48.18 INFO  ==> Setting slow_query_log option
mariadb 11:05:48.18 INFO  ==> Setting long_query_time option
mariadb 11:05:48.19 INFO  ==> Using persisted data
mariadb 11:05:48.22 INFO  ==> Running mysql_upgrade
mariadb 11:05:48.22 INFO  ==> Starting mariadb in background
2022-06-17 11:05:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-06-17 11:05:48 0 [Note] InnoDB: Using transactional memory
2022-06-17 11:05:48 0 [Note] InnoDB: Number of transaction pools: 1
2022-06-17 11:05:48 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-06-17 11:05:48 0 [Note] InnoDB: Using Linux native AIO
2022-06-17 11:05:48 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2022-06-17 11:05:48 0 [Note] InnoDB: Completed initialization of buffer pool
2022-06-17 11:05:48 0 [ERROR] InnoDB: Missing FILE_CHECKPOINT at 31761858 between the checkpoint 31761858 and the end 31761846.
2022-06-17 11:05:48 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2022-06-17 11:05:48 0 [Note] InnoDB: Starting shutdown...
2022-06-17 11:05:49 0 [ERROR] Plugin 'InnoDB' init function returned error.
2022-06-17 11:05:49 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2022-06-17 11:05:49 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-06-17 11:05:49 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2022-06-17 11:05:49 0 [ERROR] Aborting

Application Configuration

default config

Describe the bug

Mariadb failed to start

To Reproduce

bash /mnt/ssdpool/appdata/tools/truetool/truetool.sh -U

Expected Behavior

None

Screenshots

None

Additional Context

None

I've read and agree with the following

PrivatePuffin commented 2 years ago

To be clear: Auto-Update has nothing to do with this, it's the automatic version of manually hitting the update button.

I also do not see enough information to even known what the update was (from, to). Nor do you have shared anything about your configuration.

We really need you to go over this with the support staff on discord first, to ensure your setup was correct. And even if filing a ticket include ALL required information, just as we required when filing a support ticket.

PrivatePuffin commented 2 years ago

Note: Entering "none" on a question, just means we are going to close your bugreport.

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