Skip to content

Redis exits with "#Opening Unix Socket: bind: Invalid Argument" while running GDK on WSL

I'm trying to get the GDK running on WSL, and after running gdk run I get the following output:

Starting GitLab in /mnt/c/Users/pmdec/Documents/dev/dev7/gitlab-development-kit on http://localhost:3000/


lib/run.rb:49: warning: Insecure world writable dir /mnt/c/ProgramData/DockerDesktop/version-bin in PATH, mode 040777
20:40:49 redis.1                  | started with pid 5137
20:40:49 minio.1                  | started with pid 5138
20:40:49 postgresql.1             | started with pid 5139
20:40:49 gitaly.1                 | started with pid 5140
20:40:49 gitlab-workhorse.1       | started with pid 5141
20:40:49 rails-background-jobs.1  | started with pid 5142
20:40:49 webpack.1                | started with pid 5148
20:40:49 rails-web.1              | started with pid 5152
20:40:49 gitlab-pages.1           | started with pid 5159
20:40:49 registry.1               | started with pid 5163
20:40:49 redis.1                  | 5137:M 22 Dec 20:40:49.326 * Increased maximum number of open files to 10032 (it was originally set to 1024).
20:40:49 minio.1                  | Object Storage disabled.
20:40:49 redis.1                  | 5137:M 22 Dec 20:40:49.329 # Opening Unix socket: bind: Invalid argument
20:40:49 postgresql.1             | support/postgresql-signal-wrapper:10: warning: Insecure world writable dir /mnt/c/ProgramData/DockerDesktop/version-bin in PATH, mode 040777
20:40:49 gitlab-pages.1           | time="2018-12-22T20:40:49+01:00" level=info msg="GitLab Pages Daemon" revision=HEAD version=dev
20:40:49 gitlab-pages.1           | time="2018-12-22T20:40:49+01:00" level=info msg="URL: https://gitlab.com/gitlab-org/gitlab-pages"
20:40:49 gitlab-pages.1           | time="2018-12-22T20:40:49+01:00" level=info msg="Updated all domains" count(domains)=0 duration=0.0004921 hash="<empty>"
20:40:49 redis.1                  | exited with code 1
20:40:49 system                   | sending SIGTERM to all processes
20:40:49 minio.1                  | terminated by SIGTERM
20:40:49 webpack.1                | support/exec-cd:9: warning: Insecure world writable dir /mnt/c/ProgramData/DockerDesktop/version-bin in PATH, mode 040777
20:40:49 postgresql.1             | support/postgresql-signal-wrapper:12:in `exit': no implicit conversion from nil to integer (TypeError)
20:40:49 postgresql.1             |     from support/postgresql-signal-wrapper:12:in `<main>'
20:40:49 postgresql.1             | Sending INT to 5176
20:40:49 postgresql.1             | exited with code 1
20:40:50 gitaly.1                 | terminated by SIGTERM
20:40:50 gitlab-workhorse.1       | terminated by SIGTERM
20:40:50 rails-background-jobs.1  | terminated by SIGTERM
20:40:50 rails-web.1              | terminated by SIGTERM
20:40:50 gitlab-pages.1           | terminated by SIGTERM
20:40:50 registry.1               | terminated by SIGTERM
20:40:51 webpack.1                | yarn run v1.12.3
20:40:51 webpack.1                | $ nodemon -w 'config/webpack.config.js' --exec 'webpack-dev-server --config config/webpack.config.js'
20:40:54 system                   | sending SIGKILL to all processes

A quick search is leading me to believe that redis can't open a socket, although the bind() method is quite generic in socket development. Anyone has any troubleshooting idea's?