1. What is not working as documented?
I see the following error message in the container log:
backup: mariadb-dump: Got error: 2026: \\"TLS/SSL error: SSL is required, but the server does not support it\\" when trying to connect (database)
2. How can we reproduce it?
Steps to reproduce the behavior:
- A backup runs automatically (unsure how to trigger manually)
- Observe container logging similar to
backup: creating database backup file 2025-03-04.sql
- Observe container logging error:
backup: mariadb-dump: Got error: 2026: \\"TLS/SSL error: SSL is required, but the server does not support it\\" when trying to connect (database)
3. What behavior do you expect?
I expect the database dump to succeed.
4. What could be the cause of your problem?
The mariadb commandline assumes --ssl by default, according to https://stackoverflow.com/questions/78677369/mariadb-11-also-mysql-cli-error-2026-hy000-tls-ssl-error-ssl-is-required. So in this case, with a database running without TLS, it should provide --skip-ssl as a flag when running mariadb_dump.
5. Can you provide us with example files for testing, error logs, or screenshots?

6. Which software versions do you use?
(a) PhotoPrism Architecture & Build Number: AMD64 Build [250228-43447fa38]
(b) Database Type & Version: MariaDB:10.11 (without TLS)
(c) Operating System Types & Versions: Linux/Docker:latest
1. What is not working as documented?
I see the following error message in the container log:
backup: mariadb-dump: Got error: 2026: \\"TLS/SSL error: SSL is required, but the server does not support it\\" when trying to connect (database)2. How can we reproduce it?
Steps to reproduce the behavior:
backup: creating database backup file 2025-03-04.sqlbackup: mariadb-dump: Got error: 2026: \\"TLS/SSL error: SSL is required, but the server does not support it\\" when trying to connect (database)3. What behavior do you expect?
I expect the database dump to succeed.
4. What could be the cause of your problem?
The mariadb commandline assumes --ssl by default, according to https://stackoverflow.com/questions/78677369/mariadb-11-also-mysql-cli-error-2026-hy000-tls-ssl-error-ssl-is-required. So in this case, with a database running without TLS, it should provide --skip-ssl as a flag when running mariadb_dump.
5. Can you provide us with example files for testing, error logs, or screenshots?
6. Which software versions do you use?
(a) PhotoPrism Architecture & Build Number: AMD64 Build [250228-43447fa38]
(b) Database Type & Version: MariaDB:10.11 (without TLS)
(c) Operating System Types & Versions: Linux/Docker:latest