Pull changes from Kinsta : Something bad happened

I’m installed DevKinsta 2.13.4 on to Ubuntu 24.04.2.LTS.

I’ve cloned my site from Kinsta and that seems fine.

All seems to be OK with the installation, except when I try to do a Sync - pulling from the Live site.

I get the following messages:

  • Pull changes from Kinsta
  • :white_check_mark:Creating site backup
  • :white_check_mark:Connecting to remote environment
  • :white_check_mark:Creating DB Dump
  • :small_red_triangle:Something bad happened Retry

Followed by the grayed out steps of

  • Importing DB dump
  • Updating WP config
  • Replacing links to xxxxx.local
  • Deleting site backup

I’ve tried the Retry option twice, and it seems to fail at the same point each time.

xxxx_access.log and xxxx_error.log do not show anything interesting.

Is there another log I can look at?

Hi @jeff_porter ! :waving_hand: Can you please retrieve the main.log file for your DevKinsta installation, and provide it to us here? Troubleshooting - Error Codes - Kinsta® Docs

Where is the log location on Linux?

Hi @jeff_porter! Thank you for your reply.

The main.log file can be found under /home/username/.config/DevKinsta/logs on Ubuntu. (Replace username with the name of the user on your system)

Please let us know if you need any further assistance locating this file.

We look forward to hearing back from you!

[2025-03-27 20:36:40.142] [error] [ipcMainStep] Error in operation SITE_PULL, step rsync: Error: Encountered an error in child process 39187: 11. rsync: [client] failed to open exclude file /
tmp/rsync/rsync_exclude_pull_ba4d36e6001a4cc7a3c7f576116d9df2.tmp: No such file or directory (2)

rsync error: error in file IO (code 11) at exclude.c(1481) [client=3.2.7]
at handleChildProcessClosure (/opt/DevKinsta/resources/app.asar/main.prod.js:2:617689)
at ChildProcess.<anonymous> (/opt/DevKinsta/resources/app.asar/main.prod.js:2:616646)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at Pipe.<anonymous> (node:net:322:12)

The file does exist though.

jp@jp-Inspiron-3721:/tmp/rsync$ ls -lsa
total 16
4 drwxrwxr-x 2 jp jp 4096 Mar 27 20:36 .
12 drwxrwxrwt 33 root root 12288 Mar 28 09:17 ..
0 -rw-rw-r-- 1 jp jp 0 Mar 27 20:33 rsync_exclude_pull_3cbb93a1c94b469ca841a9fda8228115.tmp
0 -rw-rw-r-- 1 jp jp 0 Mar 27 20:36 rsync_exclude_pull_ba4d36e6001a4cc7a3c7f576116d9df2.tmp

I gave it all the permissions (777) : no change.

I renamed it, run the pull-sync again, file recreated (0 bytes), and same error.

Any advice?

Hello @jeff_porter :waving_hand:

This indicates an rsync error but, in the situation as is, it’s not very clear why is this happening. Can I please trouble you to send the whole main.log file here ?

Kind regards!

1 Like

The only other error I can see in the log is this…

[2025-03-28 17:55:44.339] [error] [setSsl] Error while setting ssl to true {
e: “Error: ENOENT: no such file or directory, stat ‘/home/jp/.mozilla/firefox/’\n” +
’ at statSync (node:fs:1615:3)\n’ +
’ at Object. (node:electron/js2c/asar_bundle:2:4807)\n’ +
’ at Object.statSync (/opt/DevKinsta/resources/app.asar/main.prod.js:8:426365)\n’ +
’ at nssBrowsers_getAllNSSProfiles (/opt/DevKinsta/resources/app.asar/main.prod.js:2:819005)\n’ +
’ at /opt/DevKinsta/resources/app.asar/main.prod.js:2:819503\n’ +
’ at tryCatch (/opt/DevKinsta/resources/app.asar/main.prod.js:8:1832189)\n’ +
’ at Generator. (/opt/DevKinsta/resources/app.asar/main.prod.js:8:1833838)\n’ +
’ at Generator.next (/opt/DevKinsta/resources/app.asar/main.prod.js:8:1832738)\n’ +
’ at asyncGeneratorStep (/opt/DevKinsta/resources/app.asar/main.prod.js:8:1824034)\n’ +
’ at _next (/opt/DevKinsta/resources/app.asar/main.prod.js:8:1824333)’

I do have firefox installed, but I don’t use it.

I do not have a .mozilla folder in my home folder.

I presume this SSL issue is causing the download/pull of the site to fail?

I created the missing .mozilla/firefox folder & this error is no longer in the log & I’m able to enable HTTPS on the DevKinsta app for this site.
ref: SSL Update Failed (Linux) - #10 by iMark64

The pull from Kinsta still fails with the same message though…

[2025-03-28 19:18:11.290] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2025-03-28 19:18:11.379] [info] [ProgressIndicator] { isFailed: false, isOpen: true }
[2025-03-28 19:18:11.921] [warn] [terminalExec] Error: rsync: [client] failed to open exclude file /tmp/rsync/rsync_exclude_pull_ba4d36e6001a4cc7a3c7f576116d9df2.tmp: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1481) [client=3.2.7]

[2025-03-28 19:18:12.105] [info] [terminalExec] Child process exited with code 11
[2025-03-28 19:18:12.106] [error] [downloadSite] Error while downloading files Error: Encountered an error in child process 47503: 11. rsync: [client] failed to open exclude file /tmp/rsync/rsync_exclude_pull_ba4d36e6001a4cc7a3c7f576116d9df2.tmp: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1481) [client=3.2.7]

at handleChildProcessClosure (/opt/DevKinsta/resources/app.asar/main.prod.js:2:617689)
at ChildProcess.<anonymous> (/opt/DevKinsta/resources/app.asar/main.prod.js:2:616646)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at Pipe.<anonymous> (node:net:322:12)

[2025-03-28 19:18:12.109] [error] [ipcMainStep] Error in operation SITE_PULL, step rsync: Error: Encountered an error in child process 47503: 11. rsync: [client] failed to open exclude file /tmp/rsync/rsync_exclude_pull_ba4d36e6001a4cc7a3c7f576116d9df2.tmp: No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1481) [client=3.2.7]

at handleChildProcessClosure (/opt/DevKinsta/resources/app.asar/main.prod.js:2:617689)
at ChildProcess.<anonymous> (/opt/DevKinsta/resources/app.asar/main.prod.js:2:616646)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at Pipe.<anonymous> (node:net:322:12)

[2025-03-28 19:18:12.200] [info] [ProgressIndicator] { isFailed: true, isOpen: true }

rsync --version
rsync version 3.2.7 protocol version 31

This seems to be a recent version, so I don’t think its to do with the version of rsync.

Error code 11 for rsync seems to be disk space, but…

Filesystem Size Used Avail Use% Mounted on
tmpfs 1.6G 2.6M 1.6G 1% /run
/dev/sda2 229G 35G 183G 16% /
tmpfs 7.8G 123M 7.7G 2% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 1.6G 208K 1.6G 1% /run/user/1000

Hi @jeff_porter! Thank you for your reply!

After investigating into this issue further, I have located a previous report of a similar issue. It appears that this is a rather mysterious issue that our development team hasn’t seen in testing. However, there are a few things we can try to see if it helps resolve the problem.

The first thing to try would be to re-install Docker on your system. Please try a Docker Desktop installation, and if that doesn’t work than please try installing Docker via apt. Below, you may find a link to Docker’s documentation that goes into how to install Docker via both methods:

If you do continue to experience any issue after reinstalling Docker however please let us know so we can further investigate.

Best regards

I tried Docker Desktop, but that would had issues starting the docker agent.

So I removed all docker packages, removed DevKinsta, rebooted and started a fresh.

I installed docker via apt-get, ran hello world and that was fine.

I then installed DevKinsta again & tried to clone my site.

I’m now in the position that it has not installed the docker images it needs.

docker logs -f devkinsta_nginx
Error response from daemon: No such container: devkinsta_nginx

I’ve also started another setup on a Windows machine, which is also failing due to other DevKinsta issues.

What machines/env are you running this on? Why am I seeing so many issues?

To narrow down the issue, I have reinstalled Ubuntu 24 LTS, installed DevKinsta. No other packages/apps have been installed (except Filezilla). I’m still in the same position with Pull not working.

Is there a way to install the missing containers?

Ok, I’ve taken a new approach.

I’ve wiped the Ubuntu machine again.

1: install ubuntu 24 LTS
2: install chrome
3: update drivers/updates
4; install DevKinsta
5: follow apt-get flow for installing Docker

6: Ran this to fix docker issue:
sudo chmod 666 /var/run/docker.sock
7: Clicked retry in the DevKinsta install
8: Click clone of my kinsta site.
9: Click sync-pull again.

This now worked.

Here is the full list of commands and downloads I used…

1 sudo apt-get purge bcmwl-kernel-source
2 sudo apt-get install broadcom-sta-source broadcom-sta-dkms broadcom-sta-common
3 sudo apt update
4 sudo apt install ca-certificates curl gnupg lsb-release
5 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
6 sudo chmod a+r /etc/apt/keyrings/docker.gpg
7 echo “deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] Index of linux/ubuntu/ $(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
8 sudo apt update
9 sudo apt install docker-ce docker-ce-cli containerd.io
10 sudo chmod 666 /var/run/docker.sock

76604 -rw-rw-r-- 1 x x 78439242 Mar 29 09:30 DevKinsta.deb
111804 -rw-rw-r-- 1 x x 114483440 Mar 29 09:26 google-chrome-stable_current_amd64.deb

Distributor ID: Ubuntu
Description: Ubuntu 24.04.2 LTS
Release: 24.04
Codename: noble

Thank you for your reply, @jeff_porter!

I am glad to hear you have found a solution! We appreciate you sharing the steps you took to resolve this issue!

If you do have any further questions always feel free to reach out on the forums!

Have a great day!