{"id":261,"date":"2018-11-14T12:19:03","date_gmt":"2018-11-14T09:19:03","guid":{"rendered":"https:\/\/artem.services\/?p=261"},"modified":"2018-11-14T12:19:14","modified_gmt":"2018-11-14T09:19:14","slug":"fix-error-pginsufficientprivilege-error-permission-denied-to-create-extension-uuid-ossp","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=261","title":{"rendered":"FIX ERROR &#8212; PG::InsufficientPrivilege: ERROR: permission denied to create extension &quot;uuid-ossp&quot;"},"content":{"rendered":"<p>\u041e\u0448\u0438\u0431\u043a\u0430 \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 <strong>Ruby<\/strong>+<strong>PostgreSQL<\/strong><\/p>\n<pre>rake aborted!\r\nStandardError: An error has occurred, this and all later migrations canceled:\r\n\r\nPG::InsufficientPrivilege: ERROR: permission denied to create extension \"uuid-ossp\"\r\nHINT: Must be superuser to create this extension.\r\n: CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\"<\/pre>\n<ul>\n<li>\u041f\u0440\u0438\u0447\u0438\u043d\u0430:<\/li>\n<\/ul>\n<p>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<ul>\n<li>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/li>\n<\/ul>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nALTER USER user_name WITH SUPERUSER;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041e\u0448\u0438\u0431\u043a\u0430 \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 Ruby+PostgreSQL rake aborted! StandardError: An error has occurred, this and all later migrations canceled: PG::InsufficientPrivilege: ERROR: permission denied to create extension &quot;uuid-ossp&quot; HINT: Must be superuser to create this extension. : CREATE EXTENSION IF NOT EXISTS &quot;uuid-ossp&quot; \u041f\u0440\u0438\u0447\u0438\u043d\u0430: \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[49],"tags":[51,50,46,47],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/261"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=261"}],"version-history":[{"count":2,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/261\/revisions"}],"predecessor-version":[{"id":263,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/261\/revisions\/263"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}