Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ddev snapshot fails when spx is enabled #4

Open
rfay opened this issue Nov 26, 2024 · 0 comments
Open

ddev snapshot fails when spx is enabled #4

rfay opened this issue Nov 26, 2024 · 0 comments

Comments

@rfay
Copy link

rfay commented Nov 26, 2024

If I do ddev spx on and then ddev snapshot I see

rfay@rfay-thinkbook:~/workspace/d11$ ddev snapshot
Creating database snapshot d11_20241126075220
Failed to create snapshot: composeCmd failed to run 'COMPOSE_PROJECT_NAME=ddev-d11 docker-compose -f /home/rfay/workspace/d11/.ddev/.ddev-docker-compose-full.yaml exec -T db bash -c set -eu && ( set -eu -o pipefail; mariabackup --backup --stream=mbstream --user=root --password=root --socket=/var/tmp/mysql.sock  2>/tmp/snapshot_d11_20241126075220-mariadb_10.11.gz.log | gzip > "/var/tmp/d11_20241126075220-mariadb_10.11.gz" )', action='[exec -T db bash -c set -eu && ( set -eu -o pipefail; mariabackup --backup --stream=mbstream --user=root --password=root --socket=/var/tmp/mysql.sock  2>/tmp/snapshot_d11_20241126075220-mariadb_10.11.gz.log | gzip > "/var/tmp/d11_20241126075220-mariadb_10.11.gz" )]', err='exit status 1', stdout='', stderr='', stdout=, stderr=
Failed to snapshot d11: composeCmd failed to run 'COMPOSE_PROJECT_NAME=ddev-d11 docker-compose -f /home/rfay/workspace/d11/.ddev/.ddev-docker-compose-full.yaml exec -T db bash -c set -eu && ( set -eu -o pipefail; mariabackup --backup --stream=mbstream --user=root --password=root --socket=/var/tmp/mysql.sock  2>/tmp/snapshot_d11_20241126075220-mariadb_10.11.gz.log | gzip > "/var/tmp/d11_20241126075220-mariadb_10.11.gz" )', action='[exec -T db bash -c set -eu && ( set -eu -o pipefail; mariabackup --backup --stream=mbstream --user=root --password=root --socket=/var/tmp/mysql.sock  2>/tmp/snapshot_d11_20241126075220-mariadb_10.11.gz.log | gzip > "/var/tmp/d11_20241126075220-mariadb_10.11.gz" )]', err='exit status 1', stdout='', stderr=''

However, if I turn it off, then snapshot succeeds.

The error in the listed log inside the db container is:

[00] FATAL ERROR: 2024-11-26 07:52:51 Was only able to copy log from 47024 to 14702510, not 28173623; try increasing innodb_log_file_size

It's not at all clear to me how this add-on can cause this behavior, but it's quite repeatable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant