Another "Something Bad Happened" when importing a .zip site or import from Kinsta

Q: Date/Time this occurred (Provide your time zone also)
A: 03/15/2023 at 2:10PM EST

Q: DevKinsta Version
A: 2.10.0

Q: OS Version
A: MacOs Mojave 10.14.6

Q: Docker Desktop Version
A: 3.6.0

Q: Were any error codes or messages observed? If so, what were they?
A: I did not see error codes. Just the Something Bad Happened

Q: Detailed Description of the Problem
A: When trying to connect to a Kinsta hosted website or import a .zip site, the app does not import and stalls/errors on import.

main.log (565.0 KB)

Hello @oneblackcrayon (Fredrick) :wave:

Thank you for reaching us out!
I’ve moved your main.log file to our internal record (as it contains sensitive credentials information).

I’ve also checked it and noticed some rsync error like these when transferring/importing the site files from your MyKinsta to your local computer (DevKinsta), for examples:

[2023-03-14 21:46:00.079] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2023-03-14 21:46:00.318] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2023-03-14 21:46:00.496] [info] [ipc/site/createSite] Cancel site creation
[2023-03-14 21:46:00.499] [info] [cancelRsync] Searching for containers to kill… (try 1)
[2023-03-14 21:46:00.520] [info] [dockerUtil/getContainer] Get ‘ca164a196858a28b89922e705d30a68ea145dc5c1134442479dc17b4c3a98be3’ Docker container
[2023-03-14 21:46:00.587] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2023-03-14 21:46:00.631] [info] [cancelRsync] Killing 1 containers
[2023-03-14 21:46:00.632] [info] [cancelRsync] Killing container ca164a196858a28b89922e705d30a68ea145dc5c1134442479dc17b4c3a98be3
[2023-03-14 21:46:00.632] [info] [dockerUtil/getContainer] Get ‘ca164a196858a28b89922e705d30a68ea145dc5c1134442479dc17b4c3a98be3’ Docker container
[2023-03-14 21:46:00.633] [info] [dockerUtil/getContainerStatus] Check container status. containerId: ca164a196858a28b89922e705d30a68ea145dc5c1134442479dc17b4c3a98be3
[2023-03-14 21:46:00.633] [info] [dockerUtil/getContainer] Get ‘ca164a196858a28b89922e705d30a68ea145dc5c1134442479dc17b4c3a98be3’ Docker container
[2023-03-14 21:46:00.642] [info] [dockerUtil/stopContainer] Stop ‘ca164a196858a28b89922e705d30a68ea145dc5c1134442479dc17b4c3a98be3’ container
[2023-03-14 21:46:00.643] [info] [dockerUtil/getContainer] Get ‘ca164a196858a28b89922e705d30a68ea145dc5c1134442479dc17b4c3a98be3’ Docker container
[2023-03-14 21:46:00.720] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2023-03-14 21:46:00.915] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2023-03-14 21:46:01.065] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2023-03-14 21:46:01.194] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2023-03-14 21:46:01.199] [warn] [terminalExec] Error: rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(701) [generator=3.2.3]

[2023-03-14 21:46:01.316] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2023-03-14 21:46:01.475] [info] [dockerUtil/deleteContainer] Delete ‘ca164a196858a28b89922e705d30a68ea145dc5c1134442479dc17b4c3a98be3’ volume
[2023-03-14 21:46:01.560] [info] [terminalExec] Child process exited with code 20
[2023-03-14 21:46:01.561] [warn] [downloadSite] Download cancelled
[2023-03-14 21:46:01.563] [error] Error - undefined: Error: Operation canceled
at /Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:2:1008650
at tryCatch (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:8:2336081)
at Generator._invoke (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:8:2335704)
at Generator.throw (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:8:2336856)
at asyncGeneratorStep (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:8:2327493)
at _throw (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:8:2327878)
[2023-03-14 21:46:01.598] [error] [ipcMainStep] Error in operation SITE_CREATION, step rsync: Error - undefined: Error: Operation canceled
at /Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:2:1008650
at tryCatch (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:8:2336081)
at Generator._invoke (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:8:2335704)
at Generator.throw (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:8:2336856)
at asyncGeneratorStep (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:8:2327493)
at _throw (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:8:2327878)
[2023-03-14 21:46:01.600] [info] [ipc/site/create] Create site canceled or failed
[2023-03-14 21:46:01.750] [error] error deleting: ca164a196858a28b89922e705d30a68ea145dc5c1134442479

Note that rsync can have issues with slower or unstable connections. I could also see that your site (cuddlebuddys) size is quite large (~12 GB). You might have to reduce the site size (remove unnecessary files/old .zip backups files, etc.) and give it another try. If you have single large files that you can manually copy over/delete that might help.

Regarding the error when importing a .zip file, I’m not sure yet what’s wrong (might be related to the large size of your site’s files or something like that :man_shrugging: , as looks like it couldn’t process due to the maxBuffer length exceeded ), as I could noticed in your main.log.
I noticed the following (saw some of them) - looks like that was when trying to extract the .zip file possibly:

[2023-03-14 22:36:11.862] [info] extracting to /var/folders/60/9cd887m54p1325p98239l4yr0000gn/T//cuddlebuddys
[2023-03-14 22:36:12.189] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2023-03-14 22:36:32.695] [error] [validateBackupArchive] validating backup archive failed. Error: Encountered an error: RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
at /Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:2:755771
at ChildProcess.exithandler (node:child_process:415:5)
at ChildProcess.emit (node:events:526:28)
at ChildProcess.emit (node:domain:475:12)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
[2023-03-14 22:36:32.699] [error] [ipcMainStep] Error in operation SITE_CREATION, step validate: Error: Encountered an error: RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded

In case if that still does not work after you’ve reduced the size of your site, another method I could suggest would be to try to manually import that backup with the steps as mentioned in our documentation here.

Cheers,
Agus

I will use your suggestions.
Thanks.

Sure, please take your time, Frederick! :slight_smile:
You’re most welcome!

Cheers,
Agus