{"action":"created","issue":{"url":"https://api.github.com/repos/twain47/Nominatim/issues/308","labels_url":"https://api.github.com/repos/twain47/Nominatim/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/twain47/Nominatim/issues/308/comments","events_url":"https://api.github.com/repos/twain47/Nominatim/issues/308/events","html_url":"https://github.com/twain47/Nominatim/issues/308","id":100884716,"number":308,"title":"Nominatim Data: DB Error : insufficient permission","user":{"login":"rakeshsukla53","id":9192661,"avatar_url":"https://avatars.githubusercontent.com/u/9192661?v=3","gravatar_id":"","url":"https://api.github.com/users/rakeshsukla53","html_url":"https://github.com/rakeshsukla53","followers_url":"https://api.github.com/users/rakeshsukla53/followers","following_url":"https://api.github.com/users/rakeshsukla53/following{/other_user}","gists_url":"https://api.github.com/users/rakeshsukla53/gists{/gist_id}","starred_url":"https://api.github.com/users/rakeshsukla53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakeshsukla53/subscriptions","organizations_url":"https://api.github.com/users/rakeshsukla53/orgs","repos_url":"https://api.github.com/users/rakeshsukla53/repos","events_url":"https://api.github.com/users/rakeshsukla53/events{/privacy}","received_events_url":"https://api.github.com/users/rakeshsukla53/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-13T22:38:23Z","updated_at":"2015-08-13T23:01:03Z","closed_at":null,"body":"I followed all the instructions from this [link](https://github.com/twain47/Nominatim/issues/306) and [installation] (http://wiki.openstreetmap.org/wiki/Nominatim/Installation) to start a nominatim server as you can see in the image below. But it is showing Data: DB Error : insufficient permission at the top \r\n\r\n![capture16](https://cloud.githubusercontent.com/assets/9192661/9263337/314068c2-41ea-11e5-8a85-893112c90e8b.JPG)\r\n\r\nand when I pass any query it is giving me an error as shown below. I have loaded only the finland data here right now and wondering why the insufficient error is coming. Could anyone provide me some help?\r\n\r\n\r\n![capture17](https://cloud.githubusercontent.com/assets/9192661/9263356/581eabfc-41ea-11e5-8e39-4790d4a2d80a.JPG)\r\n"},"comment":{"url":"https://api.github.com/repos/twain47/Nominatim/issues/comments/130872545","html_url":"https://github.com/twain47/Nominatim/issues/308#issuecomment-130872545","issue_url":"https://api.github.com/repos/twain47/Nominatim/issues/308","id":130872545,"user":{"login":"mtmail","id":3727288,"avatar_url":"https://avatars.githubusercontent.com/u/3727288?v=3","gravatar_id":"","url":"https://api.github.com/users/mtmail","html_url":"https://github.com/mtmail","followers_url":"https://api.github.com/users/mtmail/followers","following_url":"https://api.github.com/users/mtmail/following{/other_user}","gists_url":"https://api.github.com/users/mtmail/gists{/gist_id}","starred_url":"https://api.github.com/users/mtmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtmail/subscriptions","organizations_url":"https://api.github.com/users/mtmail/orgs","repos_url":"https://api.github.com/users/mtmail/repos","events_url":"https://api.github.com/users/mtmail/events{/privacy}","received_events_url":"https://api.github.com/users/mtmail/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T23:01:02Z","updated_at":"2015-08-13T23:01:02Z","body":"Which username is the Apache webserver using to handle requests? `top` should show that. On Ubuntu 14.04 the default is `www-data`.\r\n\r\nIf that user doesn't have permission inside the nominatim database you can try\r\n\r\n```\r\nsudo -u postgres psql nominatim\r\n\r\nGRANT usage ON SCHEMA public TO \"www-data\";\r\nGRANT SELECT ON ALL TABLES IN SCHEMA public TO \"www-data\";\r\n```"}}