{"action":"opened","issue":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/477","labels_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/477/comments","events_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/477/events","html_url":"https://github.com/sameersbn/docker-gitlab/issues/477","id":112520320,"number":477,"title":"It is more or less related to issue #167 - mysql database is not getting updated with create repo / repo push","user":{"login":"phani1kumar","id":9419954,"avatar_url":"https://avatars.githubusercontent.com/u/9419954?v=3","gravatar_id":"","url":"https://api.github.com/users/phani1kumar","html_url":"https://github.com/phani1kumar","followers_url":"https://api.github.com/users/phani1kumar/followers","following_url":"https://api.github.com/users/phani1kumar/following{/other_user}","gists_url":"https://api.github.com/users/phani1kumar/gists{/gist_id}","starred_url":"https://api.github.com/users/phani1kumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phani1kumar/subscriptions","organizations_url":"https://api.github.com/users/phani1kumar/orgs","repos_url":"https://api.github.com/users/phani1kumar/repos","events_url":"https://api.github.com/users/phani1kumar/events{/privacy}","received_events_url":"https://api.github.com/users/phani1kumar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-21T06:20:57Z","updated_at":"2015-10-21T06:20:57Z","closed_at":null,"body":"Hi @sameersbn \r\n\r\nFirst of all thank you very  much for such a wonderful docker containers. I was using the gitlab, redis, redmine, mysql containers sucessfully until recently. My setup was:\r\n\r\nWindows host (with Oracle Virtualbox) - Ubuntu 14.04 guest --> the guest has the docker containers for all the above mentioned. All of them have the data volumes mounted from Virtualbox Share directory.\r\n\r\nRecently I moved my host to Ubuntu, to have a homogeneous and robust environment. After a lot of trouble I was able to set things up correctly and now have all the containers except for gitlab working. My current set-up is:\r\n\r\nUbuntu 14.04 host (with oracle virtualbox) - Ubuntu 14.05 guest --> the guest has been exported from windows host and imported into the linux host, thus has all the docker containers within. \r\nHost is sharing the volumes for the docker containers to the guest. Individual volumes are shared separately because of linux permission issues. gitlab requires the owner to be uid=1000, and gid=1000. \r\n\r\nProblem I am facing: \r\n1. When I tried to create a project from the Gitlab user interface, the creation is successful from filesystem point of view (files getting created in the shared directory). But the newly created project is not displayed in the UI. Also, there is no change in the state of mysql database files / ib_logfile0 / ib_logfile1 / ibdata1. With this I could imagine that the mysql update of the repository didn't happen. \r\n\r\n2. When I tried to push changes to an existing repository --> again the files are updated into the gitlab file shared directory. But the new push is not reflecting in UI and also no change to the database. \r\n\r\nWith the above two scenarios I could imagine that there is some issue with the mysql connectivity. I checked the same from gitlab:\r\n\r\nroot@af3ee5c845e9:/# mysqladmin -h ${MYSQL_PORT_3306_TCP_ADDR} -u ${DB_USER} -p${DB_PASS} status\r\nUptime: 4378  Threads: 5  Questions: 630  Slow queries: 0  Opens: 105  Flush tables: 1  Open tables: 98  Queries per second avg: 0.143\r\n\r\nThe ${DB_HOST} is coming empty. Hence used the other value:MYSQL_PORT_3306_TCP_ADDR Also. The correct IP is present in the database.yml file (I've cross checked this). I've checked the logs in /var/log/gitlab/gitlab, /var/log/gitlab/gitlab-shell, /var/log/gitlab/nginx, /var/log/gitlab/supervisor but there is no error message anywhere! \r\n\r\nKindly help with my situation. \r\n "}}