thomast_88 Posted July 14, 2016 Share Posted July 14, 2016 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. 1 Quote Link to comment
Earache Posted July 23, 2016 Share Posted July 23, 2016 The docker doesn't start for me. Nothing in the logs either. Any ideas? Quote Link to comment
thomast_88 Posted July 23, 2016 Author Share Posted July 23, 2016 The docker doesn't start for me. Nothing in the logs either. Any ideas? Which version of unRAID? Can you post a screenshot of your container configuration? Quote Link to comment
Earache Posted July 23, 2016 Share Posted July 23, 2016 6.1.9, which is the latest. Quote Link to comment
krakent3ch Posted July 24, 2016 Share Posted July 24, 2016 The docker doesn't start for me. Nothing in the logs either. Any ideas? I have been using this docker without issues. So it must be something wrong with the config. Quote Link to comment
Earache Posted July 24, 2016 Share Posted July 24, 2016 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. Quote Link to comment
thomast_88 Posted July 24, 2016 Author Share Posted July 24, 2016 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 Quote Link to comment
Earache Posted July 24, 2016 Share Posted July 24, 2016 It's the default docker config. Quote Link to comment
thomast_88 Posted July 24, 2016 Author Share Posted July 24, 2016 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 Quote Link to comment
Earache Posted July 24, 2016 Share Posted July 24, 2016 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 Quote Link to comment
thomast_88 Posted July 24, 2016 Author Share Posted July 24, 2016 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? Quote Link to comment
Earache Posted July 24, 2016 Share Posted July 24, 2016 http://i.imgur.com/gMZ6vhX.png The config. Quote Link to comment
thomast_88 Posted July 24, 2016 Author Share Posted July 24, 2016 http://i.imgur.com/gMZ6vhX.png The config. 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? Quote Link to comment
Earache Posted July 24, 2016 Share Posted July 24, 2016 http://i.imgur.com/gMZ6vhX.png The config. 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? Quote Link to comment
thomast_88 Posted July 24, 2016 Author Share Posted July 24, 2016 http://i.imgur.com/gMZ6vhX.png The config. 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. Quote Link to comment
Earache Posted July 24, 2016 Share Posted July 24, 2016 http://i.imgur.com/gMZ6vhX.png The config. 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 Quote Link to comment
Earache Posted July 24, 2016 Share Posted July 24, 2016 I believe this has something to do with config.yml under gitlab-ce/data/gitlab-shell Quote Link to comment
thomast_88 Posted July 25, 2016 Author Share Posted July 25, 2016 http://i.imgur.com/gMZ6vhX.png The config. 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 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. Quote Link to comment
Earache Posted July 26, 2016 Share Posted July 26, 2016 http://i.imgur.com/gMZ6vhX.png The config. 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 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"? Quote Link to comment
thomast_88 Posted July 26, 2016 Author Share Posted July 26, 2016 http://i.imgur.com/gMZ6vhX.png The config. 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 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. Quote Link to comment
Earache Posted July 26, 2016 Share Posted July 26, 2016 Ya I tried for an hour, constantly hitting IP:Port but nothing changed. Need to keep digging I guess. Quote Link to comment
JonathanM Posted July 26, 2016 Share Posted July 26, 2016 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. Quote Link to comment
Earache Posted July 27, 2016 Share Posted July 27, 2016 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". Quote Link to comment
JugniJi Posted July 27, 2016 Share Posted July 27, 2016 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 Quote Link to comment
thomast_88 Posted July 27, 2016 Author Share Posted July 27, 2016 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. Quote Link to comment
Recommended Posts
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.