Missing files in Gitpod / GitLab CE
Overview
When accessing https://gitlab.com/gitlab-org/gitlab-ce on gitlab.com via the new GitPod integration, GitLab CE fails to start due to missing config files.
Context
Would like to use GitPod for Create Stage Community Office Hours.
Steps to reproduce
- Created a regular user account (non-employee account)
- Forked https://gitlab.com/gitlab-org/gitlab
- Clicked GitPod button and authenticated via GitLab
- Environment builds
- Server does not start
Attempted step to fix
- Restarted GDK several times
- Deleted and recreated the environment
Snippet from build
> sleep 5
> printf "$(date) – GitLab is up (took ~%.1f minutes)\n" "$((10*$SECONDS/60))e-1" | tee -a /workspace/startup.log
> gp preview $(gp url 3000) || true
> )
>
> }
Mon 04 Jan 2021 11:43:44 PM UTC – Copying GDK
mv: cannot move '/workspace/gitlab-development-kit/secrets.yml' to '/workspace/gitlab-development-kit/gitlab/config': No such file or directory
Mon 04 Jan 2021 11:44:22 PM UTC – Reconfiguring GDK
touch: cannot touch 'gitlab/config/puma.example.development.rb': No such file or directory
touch: cannot touch 'gitlab/config/puma_actioncable.example.development.rb': No such file or directory
touch: cannot touch 'gitlab/config/unicorn.rb.example.development': No such file or directory
make: *** [Makefile:153: touch-examples] Error 1
❌️ ERROR: Failed to reconfigure.
GDK doctor
gitpod /workspace/gitlab-development-kit $ gdk doctor
#<Thread:0x000055598683dcd8 /workspace/gitlab-development-kit/lib/gdk/command/doctor.rb:32 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
8: from /workspace/gitlab-development-kit/lib/gdk/command/doctor.rb:33:in `block (2 levels) in jobs'
7: from /workspace/gitlab-development-kit/lib/gdk/command/doctor.rb:39:in `perform_diagnosis_for'
6: from /workspace/gitlab-development-kit/lib/gdk/diagnostic/pending_migrations.rb:10:in `diagnose'
5: from /workspace/gitlab-development-kit/lib/shellout.rb:32:in `run'
4: from /workspace/gitlab-development-kit/lib/shellout.rb:66:in `capture'
3: from /home/gitpod/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/open3.rb:281:in `capture3'
2: from /home/gitpod/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/open3.rb:101:in `popen3'
1: from /home/gitpod/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/open3.rb:213:in `popen_run'
/home/gitpod/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/open3.rb:213:in `spawn': No such file or directory - /workspace/gitlab-development-kit/gitlab (Errno::ENOENT)
cat: /workspace/gitlab-development-kit/gitlab/GITLAB_SHELL_VERSION: No such file or directory
Screenshots
Edited by Sean Carroll