WSL (Windows Subsystem for Linux) findings
Since Windows 10 Creators update (Build 15063.138) allows the installation of the GitLab Development Kit. I attempted to install the gitlab omnibus package for Ubuntu 14.04 since that's the version that the WSL ships with.
So far the relevant section of the /etc/gitlab/gitlab.rb
that I changed to solve a redis error is this one
gitlab_rails['redis_host'] = '127.0.0.1'
gitlab_rails['redis_port'] = 6379
The bundled version on redis won't start for some reason, so installing an independent server should suffice
Unfortunately upstart won't cooperate as WSL won't allow to run programs at boot, so far I get this error message when running gitlab-ctl reconfigure
================================================================================
Error executing action `run` on resource 'execute[initctl reload-configuration]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of initctl reload-configuration ----
STDOUT:
STDERR: initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
---- End output of initctl reload-configuration ----
Ran initctl reload-configuration returned 1
Resource Declaration:
---------------------
# In /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/recipes/upstart.rb
29: execute "initctl reload-configuration" do
30: command "initctl reload-configuration"
31: end
32:
The problem is shown in a fresh install
Summary:
- Windows Subsystem for Linux in Windows 10 build 15063.138 (Ubuntu 14.04).
- Clean installation.
- Install an independent redis server and change the specific config so the omnibus package can use it.
- Upstart won't allow GitLab to run
cc @stanhu