{"id":5344,"date":"2017-10-21T12:43:48","date_gmt":"2017-10-21T09:43:48","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=5344"},"modified":"2021-09-10T18:05:25","modified_gmt":"2021-09-10T15:05:25","slug":"atlassian-%d0%9d%d1%8e%d0%b0%d0%bd%d1%81%d1%8b-%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b8-%d0%b8-%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=5344","title":{"rendered":"[atlassian] \u041d\u044e\u0430\u043d\u0441\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f"},"content":{"rendered":"<p>1)<\/p>\n<p><code>Problems calling function 'cru:renderHeader'.\u00a0Required plugin module com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu was either missing or disabled<\/code><\/p>\n<p>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435: \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0443\u0433\u0430\u043d\u044c \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0433\u0438\u043d. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u043b\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0443 \u0432\u0441\u0435\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439.<\/p>\n<p><!--more--><\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u043f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043f\u0430\u043f\u043a\u0443\u00a0<strong>osgi_cache<\/strong> \u0432\u00a0<strong>FISHEY_INST,FISHEYE_HOME<\/strong> (\u0438\u043b\u0438 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043c\u0435\u0441\u0442\u0430\u0445 <strong>jira<\/strong>). \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043e\u0431\u043e\u0438\u0445: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u0447\u043d\u043e\u0439 \u0438 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439. \u0418\u043d\u0430\u0447\u0435 \u043e\u0448\u0438\u0431\u043a\u0430 \u043d\u0435 \u043f\u0440\u043e\u043f\u0430\u0434\u0451\u0442. \u0422\u0430\u043a \u0436\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 (300 \u0441\u0435\u043a\u0443\u043d\u0434): \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/p>\n<p><code>-Datlassian.plugins.enable.wait=300<\/code><\/p>\n<p>\u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>2)<\/p>\n<p><code>Cann't find function...<\/code><\/p>\n<p>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435: \u0432 \u0431\u0430\u0437\u0435 <strong>postgres<\/strong> \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 <strong>search_path<\/strong>.<\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 <strong>search_path<\/strong> (\u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 <strong>atlassian<\/strong>):<\/p>\n<p><code>ALTER USER jirauser SET search_path TO jira,public;<br \/>\nALTER USER confluence SET search_path TO confluence,public;<br \/>\nALTER USER fisheye SET search_path TO fisheye,public;<br \/>\nfisheye=&gt; SHOW search_path;<br \/>\nsearch_path<br \/>\n-----------------<br \/>\nfisheye, public<br \/>\n(1 row)<br \/>\n<\/code><\/p>\n<p>3)<\/p>\n<p><code>\"Unknown system variable 'storage_engine'\"<\/code><\/p>\n<p>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435: \u0432 \u0441\u0442\u0430\u0440\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 (\u0434\u043e <strong>7.2<\/strong> \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e) \u0431\u044b\u043b \u0437\u0430\u0445\u0430\u0440\u0434\u043a\u043e\u0434\u0436\u0435\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 storage_engine, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u043b\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 <strong>mysql<\/strong> \u0434\u043e <strong>5.6<\/strong> \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e (\u0432 <strong>5.7<\/strong> \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0443\u043f\u0440\u0430\u0437\u0434\u043d\u0451\u043d \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443).<\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u043b\u0438\u0431\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c <strong>jir&#8217;y<\/strong> \u0434\u043e \u0441\u0442\u0430\u0440\u0448\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u0439, \u043b\u0438\u0431\u043e \u043f\u043e\u0434\u0441\u0443\u043d\u0443\u0442\u044c \u0444\u0430\u0439\u043b <strong>{JIRA_INST}\/atlassian-jira\/WEB-INF\/classes\/com\/atlassian\/jira\/config\/database\/jdbcurlparser\/MySqlUrlParser.class<\/strong> \u0438\u0437 \u043d\u043e\u0432\u043e\u0439, \u0433\u0434\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043d\u0435\u0442. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e jir&#8217;y. \u041b\u0438\u0431\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>mysql<\/strong> \u0432\u0435\u0440\u0441\u0438\u0438 <strong>5.6<\/strong> \u0438 \u043d\u0438\u0436\u0435.<br \/>\n\u0412 \u0441\u0435\u0442\u0438 \u0445\u043e\u0434\u0438\u0442 \u0442\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043d\u043e \u043e\u043d \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u0439, \u0447\u0435\u043c \u0440\u0430\u0431\u043e\u0447\u0438\u0439:<\/p>\n<blockquote><p><span style=\"color: #993366;\">1. I removed the &#8220;InnoDB&#8221; inside\u00a0dbconfig.xml<\/span><br \/>\n<span style=\"color: #993366;\"> 2. Next I also removed it via\u00a0${JIRA_APPLICATION_DIR}\/atlassian-jira\/WEB-INF\/classes\/database-defaults\/mysql.properties<\/span><\/p><\/blockquote>\n<p>4)<\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441\u043e \u0441\u043c\u0430\u0439\u043b\u0430\u043c\u0438.<\/p>\n<p>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435: \u0442\u0430\u043a\u043e\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0431\u0430\u0437\u044b <strong>postgresql<\/strong> -&gt; <strong>mysql<\/strong><\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441:<\/p>\n<p><code>alter database fisheye character set utf8mb4 collate utf8mb4_bin;<\/code><\/p>\n<p>5) \u041a\u0440\u044f\u043a\u043e\u0437\u044f\u0431\u0440\u044b \u0432 <strong>fisheye\/jira\/confluence<\/strong>.<\/p>\n<p>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0431\u0430\u0437\u044b (<strong>jdbc:mysql<\/strong>:&#8230;) \u0443\u043a\u0430\u0436\u0438\u0442\u0435<\/p>\n<p><code>useUnicode=true&amp;amp;characterEncoding=utf8<\/code><\/p>\n<p>\u0418 \u043d\u0435\u0432\u0430\u0436\u043d\u043e, \u0447\u0442\u043e \u043e\u043d\u043e \u0435\u0441\u0442\u044c \u0432\u00a0<label><strong>Parameters<\/strong>. \u0423 \u043c\u0435\u043d\u044f, \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0432 <strong>Parameters<\/strong>.<\/label><\/p>\n<p>6)<br \/>\n\u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0438\u0437 \u0431\u044d\u043a\u0430\u043f\u0430:<\/p>\n<p><code>com.atlassian.bitbucket.internal.backup.client.RestoreException: Bitbucket does not have adequate permissions to create a temporary table in the target database when connected as the specified user. Please check that the user has permission to CREATE TEMPORARY TABLES. For information about creating a database for use with Bitbucket, please refer to the Bitbucket documentation.<\/code><\/p>\n<p>\u0438\u043b\u0438 \u0432 \u043b\u043e\u0433\u0430\u0445:<\/p>\n<p><code>o.hibernate.hql.spi.id.local.Helper unable to drop temporary id table after use [Statement violates GTID consistency: CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can only be executed outside transactional context.  These statements are also not allowed in a function or trigger because functions and triggers are also considered to be multi-statement transactions.]<\/code><\/p>\n<p>\u0412\u0441\u0435\u043c\u0443 \u0432\u0438\u043d\u043e\u0439 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u0430\u044f <strong>GTID<\/strong> \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044f (\u043f\u0440\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0438, \u0447\u0442\u043e \u043f\u0440\u0430\u0432\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0435\u0441\u0442\u044c), \u0442\u043e\u0447\u043d\u0435\u0435 \u0435\u0451 <a href=\"https:\/\/dev.mysql.com\/doc\/refman\/5.7\/en\/replication-gtids-restrictions.html\">\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f<\/a>:<\/p>\n<blockquote><p><span style=\"color: #993366;\">Temporary tables. CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE statements are not supported inside transactions when using GTIDs (that is, when the server was started with the &#8211;enforce-gtid-consistency option). It is possible to use these statements with GTIDs enabled, but only outside of any transaction, and only with autocommit=1.<\/span><\/p><\/blockquote>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0432\u043b\u0438\u0432\u0430\u043d\u0438\u044f \u0431\u044d\u043a\u0430\u043f\u0430 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c <strong>GTID<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1) Problems calling function &#8216;cru:renderHeader&#8217;.\u00a0Required plugin module com.atlassian.plugins.atlassian-nav-links-plugin:rotp-menu was either missing or disabled \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435: \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0443\u0433\u0430\u043d\u044c \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u043f\u043b\u0430\u0433\u0438\u043d. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u043b\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0443 \u0432\u0441\u0435\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-5344","post","type-post","status-publish","format-standard","hentry","category-others"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5344"}],"version-history":[{"count":5,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5344\/revisions"}],"predecessor-version":[{"id":5776,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5344\/revisions\/5776"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}