Reinstalling gitlab docker issue
So today I messed up accidentally typed docker-compose down instead of stop and since my dockerfile has "latest" tag it tried to update it and it failed now I can’t access it.
From my understanding ce version is being discontinued and ee is recommended so I don’t mind reinstalling and even loosing my data since there were only two repos anyway but whenever I try to install gitlab-ee:latest I get this error
"It seems you are upgrading from major version 12 to major version 15…."
I did ran docker volume prune
and docker system prune -a,
but I still get same error. How can I completely delete old ce gitlab and install latest ee version?
Also I’m using laradock so I just replace FROM gitlab-ce:latest
to FROM gitlab-ee:latest
2
Answers
Ok so it might be laradock specific but if anyone encounters something similair I did this:
Keep in mind that this will delete all non running images and volumes so make sure that containers you want to leave is running
And then (in my case) /home/[your_user]/.laradock/data delete everything gitlab related.
It did actually complained when I tried to pull gitlab-ce but did all steps again and gitlab-ee installed without issues.
Not that I know of.
gitlab-ce
Docker image is very much maintained.And you could reinstall the
12.10.14-ce.0
, which would still be compatible with your old version.By using a
FROM gitlab/gitlab-ce:12.10.14-ce.0
instead ofgitlab/gitlab-ce:latest
means that adocker-compose
would not accidentally upgrade your GitLab.