{"action":"created","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8959","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8959/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8959/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8959/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/8959","id":62061073,"number":8959,"title":"Change git_data_dir to mounted cifs share resolves in error.","user":{"login":"mengine23","id":2075605,"avatar_url":"https://avatars.githubusercontent.com/u/2075605?v=3","gravatar_id":"","url":"https://api.github.com/users/mengine23","html_url":"https://github.com/mengine23","followers_url":"https://api.github.com/users/mengine23/followers","following_url":"https://api.github.com/users/mengine23/following{/other_user}","gists_url":"https://api.github.com/users/mengine23/gists{/gist_id}","starred_url":"https://api.github.com/users/mengine23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengine23/subscriptions","organizations_url":"https://api.github.com/users/mengine23/orgs","repos_url":"https://api.github.com/users/mengine23/repos","events_url":"https://api.github.com/users/mengine23/events{/privacy}","received_events_url":"https://api.github.com/users/mengine23/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-16T12:17:05Z","updated_at":"2015-12-07T07:44:48Z","closed_at":"2015-12-07T07:44:48Z","body":"Hi there,\r\n\r\ni recently tried to set up a gitlab server and wanted the git_data_dir to be on a mounted windows share. So here are the steps i made:\r\n\r\n*mount a share with help of cifs-tools (added to /etc/fstab)\r\n//8.8.8.8/xxx/GIT-Repos /media/gitrepos cifs uid=git,gid=git,credentials=/home/xxx/.smbcredentials,iocharset=utf8,dir_mode=0770,sec=ntlm 0 0\r\n\r\n*Change git_data_dir the mounted folder & run gitlab-ctl reconfigure\r\nThis does not lead to any errors. Everything seems to be fine. The folder \"gitlab-satellites\" & \"repositories\" are created properly.\r\n\r\nNow i tried to create a new project via web interface. This always lead to the error message \"Failed to create repository\". I checked the logs, but there is no entry or hint that something went wrong. I post the related lines from production.log:\r\n\r\nStarted GET \"/projects/new\" for 127.0.0.1 at 2015-03-16 12:29:24 +0100\r\nProcessing by ProjectsController#new as HTML\r\nCompleted 200 OK in 85ms (Views: 56.7ms | ActiveRecord: 10.8ms)\r\nStarted POST \"/projects\" for 127.0.0.1 at 2015-03-16 12:34:01 +0100\r\nProcessing by ProjectsController#create as HTML\r\n  Parameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"WFF01LII0r8HC4EoPUKczdnISHaO9tEWNkzyqNCI90A=\", \"project\"=>{\"path\"=>\"test\", \"namespace_id\"=>\"1\", \"import_url\"=>\"\", \"description\"=>\"\", \"visibility_level\"=>\"0\"}}\r\nCompleted 200 OK in 857ms (Views: 70.9ms | ActiveRecord: 17.9ms)\r\n\r\nWhen i now peek inside the mounted folder, the repo has been created. So im confused about what can lead to that error?!"},"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/162439068","html_url":"https://github.com/gitlabhq/gitlabhq/issues/8959#issuecomment-162439068","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8959","id":162439068,"user":{"login":"jvanbaarsen","id":1362793,"avatar_url":"https://avatars.githubusercontent.com/u/1362793?v=3","gravatar_id":"","url":"https://api.github.com/users/jvanbaarsen","html_url":"https://github.com/jvanbaarsen","followers_url":"https://api.github.com/users/jvanbaarsen/followers","following_url":"https://api.github.com/users/jvanbaarsen/following{/other_user}","gists_url":"https://api.github.com/users/jvanbaarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jvanbaarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvanbaarsen/subscriptions","organizations_url":"https://api.github.com/users/jvanbaarsen/orgs","repos_url":"https://api.github.com/users/jvanbaarsen/repos","events_url":"https://api.github.com/users/jvanbaarsen/events{/privacy}","received_events_url":"https://api.github.com/users/jvanbaarsen/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T07:44:48Z","updated_at":"2015-12-07T07:44:48Z","body":"We are currently in the process of closing down the issue tracker on GitHub, to prevent duplication with the GitLab.com issue tracker. Since this is an older issue I'll be closing this for now. If you think this is still an issue I encourage you to open it on the [GitLab.com issue tracker](https://gitlab.com/gitlab-org/gitlab-ce/issues)."}}