{"action":"closed","issue":{"url":"https://api.github.com/repos/Graylog2/graylog2-cookbook/issues/18","labels_url":"https://api.github.com/repos/Graylog2/graylog2-cookbook/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Graylog2/graylog2-cookbook/issues/18/comments","events_url":"https://api.github.com/repos/Graylog2/graylog2-cookbook/issues/18/events","html_url":"https://github.com/Graylog2/graylog2-cookbook/issues/18","id":59772249,"number":18,"title":"password_secret in /etc/graylog/server/server.conf ","user":{"login":"nilroy","id":10402266,"avatar_url":"https://avatars.githubusercontent.com/u/10402266?v=3","gravatar_id":"","url":"https://api.github.com/users/nilroy","html_url":"https://github.com/nilroy","followers_url":"https://api.github.com/users/nilroy/followers","following_url":"https://api.github.com/users/nilroy/following{/other_user}","gists_url":"https://api.github.com/users/nilroy/gists{/gist_id}","starred_url":"https://api.github.com/users/nilroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilroy/subscriptions","organizations_url":"https://api.github.com/users/nilroy/orgs","repos_url":"https://api.github.com/users/nilroy/repos","events_url":"https://api.github.com/users/nilroy/events{/privacy}","received_events_url":"https://api.github.com/users/nilroy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T09:38:01Z","updated_at":"2015-03-04T09:47:41Z","closed_at":"2015-03-04T09:47:41Z","body":"In template file graylog.server.conf.erb following line is putting a quotation (\") mark around password_secret\r\n\r\n<%= config_option 'password_secret', node.graylog2[:password_secret], enclose: '\"' -%>\r\n\r\nIts will create problem when migrating users from a different installation of graylog2 (older version). This will hinder to use the same password for the users who are in the older graylog2 installation. It seems graylog is misinterpreting the quotation mark. To avoid this problem the above mentioned line in graylog.server.conf.erb should be changed to\r\n\r\n<%= config_option 'password_secret', node.graylog2[:password_secret]-%>"}}