[Support] GitLab-CE


Recommended Posts

GitLab Community Edition docker image based on the Omnibus package. I just created a template for this. It's pretty easy to get up and running, as this docker contains all necessary dependencies already (Redis, PostgreSQL, Nginx etc.).

 

Application Name: GitLab-CE

Application Site: https://gitlab.com/

Docker Hub: https://hub.docker.com/r/gitlab/gitlab-ce/

Github: https://github.com/gitlabhq/gitlabhq

unRAID Template: https://github.com/tynor88/docker-templates

Setup/Configuration: http://docs.gitlab.com/omnibus/docker/

 

Feel free to post any questions/issues/requests relating to this docker in this thread.

  • Upvote 1
Link to comment
  • 2 weeks later...

Well I checked the folders and it appears there is nothing in them...

 

*EDIT

I got the Docker to run, but I can't connect to the frontend of Gitlab.

 

Can you post the docker run command which is being used or a screenshot of the docker configuration?

 

Mine is working fine with this config:

 

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="GitLab-CE" --net="bridge" -e TZ="Europe/Paris" -e HOST_OS="unRAID" -p 45300:80/tcp -p 45305:443/tcp -p 45310:22/tcp -v "/mnt/cache/appdata/gitlab-ce/config":"/etc/gitlab":rw -v "/mnt/cache/appdata/gitlab-ce/data":"/var/opt/gitlab":rw -v "/mnt/cache/appdata/gitlab-ce/log":"/var/log/gitlab":rw gitlab/gitlab-ce

Link to comment

It's the default docker config.

 

You've got to give me something in order for me to help.

 

  • What happens when you try to access the WebUI?
  • Are you trying HTTP or HTTPS? - You should use http unless you've changed the config file to make https work
  • Can you try with this direct link: http://[iP]:[PORT]/users/sign_in
  • Post the output of the log on pastebin so we can see it

Link to comment

I believe it's not fully starting, when I try to go to the website, I get "Site can't be reached" and the docker shuts down after a minute.  This is via HTTP, I can't touched the config file at all.

Here's the output from the log: http://pastebin.com/7yytsaQM

 

And you're not using a user share e.g. /mnt/user/appdata rather than /mnt/cache/appdata for the application files?

Link to comment

 

Looks like mine.

 

Other users experienced that error aswell. (https://gitlab.com/gitlab-org/omnibus-gitlab/issues/721)

 

Could you try to delete the docker, wipe /mnt/cache/appdata/gitlab-ce and try to install it from stracth?

 

Ok did what you suggested, but I get either "Site can't be reached" or it changes the IP address of my unRAID box to chars.

Example:

IP is 192.168.1.2 (Gitlab is point to port 45300), opening the webui it takes me to the site but then redirects to http://5a2ef303db9f/users/sign_in.

Here's the log http://pastebin.com/L7p6N7Zg.

 

It looks like its the SHA2 key (root@5a2ef303db9f).  Any ideas?

 

Link to comment

 

Looks like mine.

 

Other users experienced that error aswell. (https://gitlab.com/gitlab-org/omnibus-gitlab/issues/721)

 

Could you try to delete the docker, wipe /mnt/cache/appdata/gitlab-ce and try to install it from stracth?

 

Ok did what you suggested, but I get either "Site can't be reached" or it changes the IP address of my unRAID box to chars.

Example:

IP is 192.168.1.2 (Gitlab is point to port 45300), opening the webui it takes me to the site but then redirects to http://5a2ef303db9f/users/sign_in.

Here's the log http://pastebin.com/L7p6N7Zg.

 

It looks like its the SHA2 key (root@5a2ef303db9f).  Any ideas?

 

Use a direct link (like i suggested in a previous post). In Your case http://192.168.1.2:45300/users/sign_in

 

I have yet to figure out why it's changing the ip address to these chars. It started on that 2 days ago when they pushed the last update.

Link to comment

 

Looks like mine.

 

Other users experienced that error aswell. (https://gitlab.com/gitlab-org/omnibus-gitlab/issues/721)

 

Could you try to delete the docker, wipe /mnt/cache/appdata/gitlab-ce and try to install it from stracth?

 

Ok did what you suggested, but I get either "Site can't be reached" or it changes the IP address of my unRAID box to chars.

Example:

IP is 192.168.1.2 (Gitlab is point to port 45300), opening the webui it takes me to the site but then redirects to http://5a2ef303db9f/users/sign_in.

Here's the log http://pastebin.com/L7p6N7Zg.

 

It looks like its the SHA2 key (root@5a2ef303db9f).  Any ideas?

 

Use a direct link (like i suggested in a previous post). In Your case http://192.168.1.2:45300/users/sign_in

 

I have yet to figure out why it's changing the ip address to these chars. It started on that 2 days ago when they pushed the last update.

 

The direct link takes me to: http://5a2ef303db9f/users/password/edit?reset_password_token=3yaDdMTpS3DKxbydzfdJ.

:o :o

Link to comment

 

Looks like mine.

 

Other users experienced that error aswell. (https://gitlab.com/gitlab-org/omnibus-gitlab/issues/721)

 

Could you try to delete the docker, wipe /mnt/cache/appdata/gitlab-ce and try to install it from stracth?

 

Ok did what you suggested, but I get either "Site can't be reached" or it changes the IP address of my unRAID box to chars.

Example:

IP is 192.168.1.2 (Gitlab is point to port 45300), opening the webui it takes me to the site but then redirects to http://5a2ef303db9f/users/sign_in.

Here's the log http://pastebin.com/L7p6N7Zg.

 

It looks like its the SHA2 key (root@5a2ef303db9f).  Any ideas?

 

Use a direct link (like i suggested in a previous post). In Your case http://192.168.1.2:45300/users/sign_in

 

I have yet to figure out why it's changing the ip address to these chars. It started on that 2 days ago when they pushed the last update.

 

The direct link takes me to: http://5a2ef303db9f/users/password/edit?reset_password_token=3yaDdMTpS3DKxbydzfdJ.

:o :o

 

Whenever it inserts those magic chars just replace it with the correct IP/Port. Eventually it will work after all has been setup. Remember to use the root user for the intial login.

 

I will try to figure out why the IP gets replaced with those chars.

Link to comment

 

Looks like mine.

 

Other users experienced that error aswell. (https://gitlab.com/gitlab-org/omnibus-gitlab/issues/721)

 

Could you try to delete the docker, wipe /mnt/cache/appdata/gitlab-ce and try to install it from stracth?

 

Ok did what you suggested, but I get either "Site can't be reached" or it changes the IP address of my unRAID box to chars.

Example:

IP is 192.168.1.2 (Gitlab is point to port 45300), opening the webui it takes me to the site but then redirects to http://5a2ef303db9f/users/sign_in.

Here's the log http://pastebin.com/L7p6N7Zg.

 

It looks like its the SHA2 key (root@5a2ef303db9f).  Any ideas?

 

Use a direct link (like i suggested in a previous post). In Your case http://192.168.1.2:45300/users/sign_in

 

I have yet to figure out why it's changing the ip address to these chars. It started on that 2 days ago when they pushed the last update.

 

The direct link takes me to: http://5a2ef303db9f/users/password/edit?reset_password_token=3yaDdMTpS3DKxbydzfdJ.

:o :o

 

Whenever it inserts those magic chars just replace it with the correct IP/Port. Eventually it will work after all has been setup. Remember to use the root user for the intial login.

 

I will try to figure out why the IP gets replaced with those chars.

 

Nope, what do you mean by "setup"?

Link to comment

 

Looks like mine.

 

Other users experienced that error aswell. (https://gitlab.com/gitlab-org/omnibus-gitlab/issues/721)

 

Could you try to delete the docker, wipe /mnt/cache/appdata/gitlab-ce and try to install it from stracth?

 

Ok did what you suggested, but I get either "Site can't be reached" or it changes the IP address of my unRAID box to chars.

Example:

IP is 192.168.1.2 (Gitlab is point to port 45300), opening the webui it takes me to the site but then redirects to http://5a2ef303db9f/users/sign_in.

Here's the log http://pastebin.com/L7p6N7Zg.

 

It looks like its the SHA2 key (root@5a2ef303db9f).  Any ideas?

 

Use a direct link (like i suggested in a previous post). In Your case http://192.168.1.2:45300/users/sign_in

 

I have yet to figure out why it's changing the ip address to these chars. It started on that 2 days ago when they pushed the last update.

 

The direct link takes me to: http://5a2ef303db9f/users/password/edit?reset_password_token=3yaDdMTpS3DKxbydzfdJ.

:o :o

 

Whenever it inserts those magic chars just replace it with the correct IP/Port. Eventually it will work after all has been setup. Remember to use the root user for the intial login.

 

I will try to figure out why the IP gets replaced with those chars.

 

Nope, what do you mean by "setup"?

 

After you have logged in with the root user, it will ask you to change the password. Once it's up and running it shouldn't mess with those URL redirects. I still haven't figured out why it does that - it seems it started after their last update.

Link to comment

If the redirect string stays constant like I think it should, then you can try adding it to your hosts file, which may allow it to work.

 

Add a line something like

192.168.1.2          5a2ef303db9f

to your hosts file and see what happens.

Tried that didn't work.

I made 1 edit to external_url (added the http://192.168.1.2:45300), but I'm getting "404 File not found", if I check the logs I see  "401 unauthorized while accessing".

 

 

Link to comment

unRAID version : 6.1.9

unRAID proficiency : noob

Issue : override docker hostname external_url

---

 

1 - Install and initialise this app

2 - # docker stop GitLab-CE

3 - # docker rm GitLab-CE

4 - # vim appdata/gitlab-ce/config/gitlab.rb

  - define external_url 'http://fqdn:81'

5 - Re-install app

6 - Sip ice tea

 

---

TLDR; version

 

1 - # docker exec -it GitLab-CE vim /etc/gitlab/gitlab.rb

2 - # docker restart GitLab-CE

Link to comment

unRAID version : 6.1.9

unRAID proficiency : noob

Issue : override docker hostname external_url

---

 

1 - Install and initialise this app

2 - # docker stop GitLab-CE

3 - # docker rm GitLab-CE

4 - # vim appdata/gitlab-ce/config/gitlab.rb

  - define external_url 'http://fqdn:81'

5 - Re-install app

6 - Sip ice tea

 

---

TLDR; version

 

1 - # docker exec -it GitLab-CE vim /etc/gitlab/gitlab.rb

2 - # docker restart GitLab-CE

 

Post some logs.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.