Roel Komdeur's picture

Hi all,

I'm getting the following error when I create a new container.

FATAL [lxc-turnkey]: failed to download 'debian-8-turnkey-gitlab_14.0-1_amd64.tar.gz'
FATAL [lxc-turnkey]: failed to install turnkey gitlab
lxc_container: container creation template for gitlab failed
lxc_container: Error creating container gitlab

The template can't get the new filenames. What do i need to update?

---

Roel

 

 

Forum: 
Jeremy Davis's picture

Due to a serious GitLab vulnerability we removed the GitLab appliance and rebuilt it. My guess is that for some reason the mirror you are connecting to is a bit slow updating. Try again now and see how you go.
Jeremy Davis's picture

Sorry my mistake. It's not the new GitLab image that is the issue. The issue is that the LXC appliance defaults to v14.0 images but they've been cleaned off the mirror. So you need to specify the version as 14.1-jessie. Do that like this:
lxc-create -n gitlab -f /etc/lxc/natbridge.conf -t turnkey -- gitlab -i /root/inithooks.conf --version=14.1-jessie
Obviously that assumes that you've pre-configured a inithooks.conf in /root/inithooks.conf
Roel Komdeur's picture

Hi Jeremy,

specifying

--version=14.1-jessie

did it!

Thanks,

---

Roel

Groeten,

Roel Komdeur

Jeremy Davis's picture

IMO it's a bug. The LXC app should at least default to downloading the same version images as it is. Ideally it should default to downloading the current/latest images but we'd probably need to host a file somewhere to get them but that's probably doable.

Add new comment