Linux Ubuntu stuck on starting Docker

I’m getting

DK0004

Description

DevKinsta couldn’t start Docker Desktop.

Solution

Please try to start Docker Desktop manually and after that restart DevKinsta.

But as far as I can tell there is no Docker Desktop for Linux.

I have installed Docker and successfully run the hello world plugin that shows it works.

Another thing that’s happening is if I launch Dev Kinsta from the terminal I get a number of errors.

DevKinsta still starts, and then gets stuck on Starting Docker.

dane@dane-Alienware-Aurora-R9:~/.xmodmap$ dev-kinsta
04:02:13.480 › TypeError: Cannot read property 'getPath' of undefined
    at logs_getConfig (/opt/DevKinsta/resources/app.asar/main.prod.js:2:456946)
    at Module.49646 (/opt/DevKinsta/resources/app.asar/main.prod.js:2:457736)
    at __webpack_require__ (/opt/DevKinsta/resources/app.asar/main.prod.js:2:3590669)
    at /opt/DevKinsta/resources/app.asar/main.prod.js:2:3591587
    at Object.<anonymous> (/opt/DevKinsta/resources/app.asar/main.prod.js:2:3591672)
    at Module._compile (internal/modules/cjs/loader.js:1078:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
    at Module.load (internal/modules/cjs/loader.js:935:32)
    at Module._load (internal/modules/cjs/loader.js:776:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
04:02:13.481 › Error: ENOENT: no such file or directory, open '/home/dane/DevKinsta/kinsta/sites.ini'
    at Object.openSync (fs.js:476:3)
    at Object.func [as openSync] (electron/js2c/asar_bundle.js:5:1846)
    at Object.readFileSync (fs.js:377:35)
    at Object.e.readFileSync (electron/js2c/asar_bundle.js:5:8872)
    at logs_getSitesIni (/opt/DevKinsta/resources/app.asar/main.prod.js:2:456674)
    at Module.49646 (/opt/DevKinsta/resources/app.asar/main.prod.js:2:457762)
    at __webpack_require__ (/opt/DevKinsta/resources/app.asar/main.prod.js:2:3590669)
    at /opt/DevKinsta/resources/app.asar/main.prod.js:2:3591587
    at Object.<anonymous> (/opt/DevKinsta/resources/app.asar/main.prod.js:2:3591672)
    at Module._compile (internal/modules/cjs/loader.js:1078:30)
[bugsnag] Loaded!
04:02:13.618 › watchDocker - Error: connect EACCES /var/run/docker.sock
04:02:17.799 › Error: ENOENT: no such file or directory, open '/home/dane/DevKinsta/kinsta/sites.ini'
    at Object.openSync (fs.js:476:3)
    at Object.func [as openSync] (electron/js2c/asar_bundle.js:5:1846)
    at Object.readFileSync (fs.js:377:35)
    at Object.e.readFileSync (electron/js2c/asar_bundle.js:5:8872)
    at logs_getSitesIni (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:672862)
    at Module.1800 (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:673950)
    at __webpack_require__ (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:6134434)
    at file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:6135352
    at file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:6135436
04:07:18.313 › Error - DK0004: DOCKER_START_COMMON: Couldn't start Docker
    at file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:682771
    at tryCatch (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:5052116)
    at Generator._invoke (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:5051739)
    at Generator.next (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:5052882)
    at asyncGeneratorStep (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:1003)
    at _next (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:1302)
04:07:18.315 › Error - DK0004: DOCKER_START_COMMON: Couldn't start Docker
    at file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:682771
    at tryCatch (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:5052116)
    at Generator._invoke (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:5051739)
    at Generator.next (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:5052882)
    at asyncGeneratorStep (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:1003)
    at _next (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:1302)
04:07:18.316 › Error - DK0004: DOCKER_START_COMMON: Couldn't start Docker
    at file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:682771
    at tryCatch (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:5052116)
    at Generator._invoke (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:5051739)
    at Generator.next (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:5052882)
    at asyncGeneratorStep (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:1003)
    at _next (file:///opt/DevKinsta/resources/app.asar/dist/renderer.prod.js:2:1302)

You’re right. I just let the team know about that wording there.

Sounds like there might be a permission issue here. What happens if you run sudo systemctl start docker?

That gets me in. I would like to not have to remember to start Docker first each time if that’s possible. Can you help me get there?

I did add a docker group and I added myself to it.

But for some reason when I type groups, I don’t see that listed.

Well, how do you like that. This morning I just opened DevKinsta and it just opened Docker and everyone is happy.

1 Like

That’s awesome to hear @danemorgan !