-
Notifications
You must be signed in to change notification settings - Fork 30
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
Database import from .sql file failes, but process keeps running in the background #544
Comments
Thanks for reporting the issue @countfak . We will check it. |
Just wanted to follow up on this and share my latest successful attempt. What I tried and didn't work out:
What worked for me was:
Please note that this only applies in case of large databases with a lot of entries (for reference mine was around 40MB), the built-in import works fine if I try with a smaller database. |
Thanks for sharing your workaround @countfak, it's useful. We will check how we can improve Studio Importer to support databases of any size. |
Hi @countfak and thank you for reporting the issue! In the upcoming Studio release, we have introduced the following:
I am going to close this now as it addresses the issue reported. Once the new Studio release is out, would you be able to give it another test and let us know if the issue persists? Feel free to re-open if the issue still happens! 🙇 |
Hi @countfak - we have just released a new version of Studio: https://github.com/Automattic/studio/releases |
Hi guys, I tried with a big database (120MB) and a smaller one (40MB) and after a while it failed both times with the following log:
|
Thanks for giving it a test @countfak - let's reopen the issue and keep on investigating |
I am unable to reproduce the issue. I tried with a couple of sql files, biggest one being 829M and as soon as import fails, Electron Helper process which was eating up the CPU also stops doing that. |
hi @ashfame please note that the process thing was reported by me on September 2024, new versions came out in the meanwhile, so it may not be that way anymore. in fact, I think I also checked and couldn't find the process still running after the import failed. that may have been fixed. |
Hi @countfak Yes, that's likely that stray process in background isn't an issue anymore. And import is currently failing on some zips due to a regression that I am looking into. But since your report is prior to that change, it's probably a different issue that I will come back to. |
Documenting the work I am doing in this regard:
|
I realized So, as a first step which could perhaps be the solution as well, I have created #904 which allows higher timeouts for import/export. |
Hi @countfak Do you mind giving |
Quick summary
Hi, I wanted to share my experience with database import from a .sql file.
I tried multiple times with different database sizes, last one was around 40MB.
The import goes on for a while, then the import failed message appears. But the import process is still running in the background.
Steps to reproduce
Drop a large .sql file with the built-in import functionality of an existing site and start the import. It will likely fail, open up the Activity Monitor app and find the Studio process at the top with high CPU usage, meaning that the import is still running in the background. After a while the CPU usage of the process drops, and the import is actually finished.
What you expected to happen
I wasn't expecting to get the error message if the import process was still running in the background.
What actually happened
Got import failed message even if the import was still running, see above.
Impact
One
Available workarounds?
No but the app is still usable
Platform
Mac Silicon
Logs or notes
No response
The text was updated successfully, but these errors were encountered: