{"action":"created","issue":{"url":"https://api.github.com/repos/digibib/kohadevbox/issues/56","labels_url":"https://api.github.com/repos/digibib/kohadevbox/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/digibib/kohadevbox/issues/56/comments","events_url":"https://api.github.com/repos/digibib/kohadevbox/issues/56/events","html_url":"https://github.com/digibib/kohadevbox/issues/56","id":55170706,"number":56,"title":"config.cfg 'instance_name' of more than 11 characters will cause install to fail","user":{"login":"bartonski","id":1014867,"avatar_url":"https://avatars.githubusercontent.com/u/1014867?v=3","gravatar_id":"","url":"https://api.github.com/users/bartonski","html_url":"https://github.com/bartonski","followers_url":"https://api.github.com/users/bartonski/followers","following_url":"https://api.github.com/users/bartonski/following{/other_user}","gists_url":"https://api.github.com/users/bartonski/gists{/gist_id}","starred_url":"https://api.github.com/users/bartonski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartonski/subscriptions","organizations_url":"https://api.github.com/users/bartonski/orgs","repos_url":"https://api.github.com/users/bartonski/repos","events_url":"https://api.github.com/users/bartonski/events{/privacy}","received_events_url":"https://api.github.com/users/bartonski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-22T16:00:25Z","updated_at":"2015-01-23T07:11:14Z","closed_at":null,"body":"Apparently usernames of more than 16 characters are not allowed. Because the string 'koha_', five characters long,  is appended to 'instance_name', this leaves 11 characters for instance_name.\r\n\r\n==> default: ERROR 1470 (HY000) at line 2: String 'koha_barton_kohadev' is too long for user name (should be no longer than 16)\r\n\r\nBecause the user was not created, errors cascaded because the home directory for  koha_barton_kohadev was also not created."},"comment":{"url":"https://api.github.com/repos/digibib/kohadevbox/issues/comments/71155685","html_url":"https://github.com/digibib/kohadevbox/issues/56#issuecomment-71155685","issue_url":"https://api.github.com/repos/digibib/kohadevbox/issues/56","id":71155685,"user":{"login":"MagnusEnger","id":13331,"avatar_url":"https://avatars.githubusercontent.com/u/13331?v=3","gravatar_id":"","url":"https://api.github.com/users/MagnusEnger","html_url":"https://github.com/MagnusEnger","followers_url":"https://api.github.com/users/MagnusEnger/followers","following_url":"https://api.github.com/users/MagnusEnger/following{/other_user}","gists_url":"https://api.github.com/users/MagnusEnger/gists{/gist_id}","starred_url":"https://api.github.com/users/MagnusEnger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagnusEnger/subscriptions","organizations_url":"https://api.github.com/users/MagnusEnger/orgs","repos_url":"https://api.github.com/users/MagnusEnger/repos","events_url":"https://api.github.com/users/MagnusEnger/events{/privacy}","received_events_url":"https://api.github.com/users/MagnusEnger/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T07:11:14Z","updated_at":"2015-01-23T07:11:14Z","body":"There is already a Koha bug for this:\r\n\r\nBug 10205 - koha-create error handling\r\nhttp://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10205\r\n\r\nAnd an earlier version of that bug:\r\nBug 7428 - koha-create should check for length of instancename\r\nhttp://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7428\r\n\r\nI think actual checking of the length should be done in koha-create, but adding a warning about the max length to our config.cfg-sample is a good idea. "}}