bennetimo/ghost-backup

Error 2059 during backup

Opened this issue · 0 comments

What would be causing the ERROR 2059 during my backups? My dabs container is mysql:8.

Wed Mar 15 11:52:16 UTC 2023: Checking if a mysql container exists on the network at ghost_db:3306
Wed Mar 15 11:52:16 UTC 2023:  ...a mysql container exists on the network. Using mysql mode
Wed Mar 15 11:52:16 UTC 2023: creating backup: 20230315-1152...
Wed Mar 15 11:52:16 UTC 2023: backing up ghost database
Wed Mar 15 11:52:16 UTC 2023:  creating ghost db archive (mysql)...
mysqldump: Got error: 2059: "Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib/x86_64-linux-gnu/mariadb18/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory" when trying to connect
Wed Mar 15 11:52:16 UTC 2023:  ...completed: /backups/backup-db_20230315-1152.gz
Wed Mar 15 11:52:16 UTC 2023: backing up ghost content files
Wed Mar 15 11:52:16 UTC 2023:  creating ghost content files archive...
Wed Mar 15 11:52:20 UTC 2023:  ...completed: /backups/backup-ghost_20230315-1152.tar.gz
Wed Mar 15 11:52:20 UTC 2023: backing up ghost json file
Wed Mar 15 11:52:20 UTC 2023:  ...checking if a ghost container exists on the network at ghost:2368
Wed Mar 15 11:52:20 UTC 2023:  ...found ghost service on the network
Wed Mar 15 11:52:20 UTC 2023:  ...retrieving client secret for client: ghost-backup
ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib/x86_64-linux-gnu/mariadb18/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory