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

Never completing task drupal:import-db #743

Open
penyaskito opened this issue Nov 30, 2024 · 0 comments · May be fixed by #745
Open

Never completing task drupal:import-db #743

penyaskito opened this issue Nov 30, 2024 · 0 comments · May be fixed by #745
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@penyaskito
Copy link
Member

penyaskito commented Nov 30, 2024

Problem:

I've run ddev drupal:import-db, forgot about something, pressed Cntrl+c.

Fix my stuff, ddev drupal:import-db nothing happens. My dump is huge, so didn't notice until a while after (as I already expected it would take a while), pressed Cntrl+c and THEN I see:

[drupal:import-db] 📰 Importing database
^Ctask: Signal received: "interrupt"
[drupal:import-db] gzip: /var/www/html/files/db/db.sql already exists; do you wish to overwrite (y or n)?

Checked drupal.yml:

      - gunzip -k $DB_DIR/db.sql.gz

Checked gunzip options:

gunzip
  -f, --force       force overwrite of output file and compress links
  -k, --keep        keep (don't delete) input files

Should we use -kf here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant