{"id":1920,"date":"2021-10-28T21:57:53","date_gmt":"2021-10-28T12:57:53","guid":{"rendered":"https:\/\/esoro.jp\/?p=1920"},"modified":"2021-12-14T09:00:33","modified_gmt":"2021-12-14T00:00:33","slug":"gitbucket%e3%82%92%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%82%a2%e3%83%83%e3%83%97%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/esoro.jp\/?p=1920","title":{"rendered":"GitBucket\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u3066\u307f\u305f\u3002"},"content":{"rendered":"<p>\u3000\u5185\u90e8Git\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u3044\u308bGitBucket\u304c\u5c0e\u5165\u304b\u30893\u5e74\u8fd1\u304f\u7d4c\u3063\u305f\u306e\u3067\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u691c\u8a0e\u3059\u308b\u4e8b\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3000\u4f7f\u7528\u4e2d\u306eGitBucket\u306f\u30014.13\u3001\u6700\u65b0\u306f4.36.2\u3068\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u3001\u7aef\u672b\u4e0a\u3067WAR\u306e\u307f\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3057\u3066\u8a66\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u4e0b\u8a18\u304c\u539f\u56e0\u3067\u6b62\u307e\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<ul>\norg.apache.catalina.LifecycleException: org.h2.jdbc.JdbcSQLException: \u30c6\u30fc\u30d6\u30eb &#8220;PRIORITY&#8221; \u306f\u3059\u3067\u306b\u5b58\u5728\u3057\u307e\u3059\n<\/ul>\n<p>\u3000\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306f\u57fa\u672c\u7684\u306bDB\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u306e\u304c\u6b63\u89e3\u306e\u3088\u3046\u306a\u306e\u3067\u3001GitBucket\u306eSystem administration\u3088\u308aDB\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3001SQL\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001DB\u3092\u4e00\u65e6\u30af\u30ea\u30a2\u3057\u3066\u3001\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u7acb\u3061\u4e0a\u3052\u3001SQL\u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u304c\u4e0b\u8a18\u3067\u5931\u6557\u3057\u307e\u3059\u3002<\/p>\n<ol>\norg.h2.jdbc.JdbcSQLException: \u30c6\u30fc\u30d6\u30eb &#8220;ACTIVITY&#8221; \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093<br \/>\nTable &#8220;ACTIVITY&#8221; not found; SQL statement:<br \/>\nDELETE FROM ACTIVITY [42102-196]\n<\/ol>\n<p>\u3000\u3069\u3046\u3084\u3089\u3001<a href=\"https:\/\/github.com\/gitbucket\/gitbucket\/pull\/2468\">ACTIVITY\u30c7\u30fc\u30bf\u304cDB\u7ba1\u7406\u304b\u3089JSON\u30d5\u30a1\u30a4\u30eb\u306b\u79fb\u884c\u3057\u305f\u3088\u3046\u3067\u3059\u3002<\/a><\/p>\n<p>\u3000\u3044\u308d\u3044\u308d\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u6bce\u306b\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u306a\u304c\u3089\u8a66\u3057\u305f\u3068\u3053\u308d\u3001DB\u3092\u30af\u30ea\u30a2\u3057\u305f\u72b6\u614b\u30674.32\u3092\u7acb\u3061\u4e0a\u3052\u3066\u3001DB\u3092\u30a4\u30f3\u30dd\u30fc\u30c8(RELEASE\u30c6\u30fc\u30d6\u30eb\u3067\u6012\u3089\u308c\u308b\u304c\u3001\u30c7\u30fc\u30bf\u304c\u7121\u304b\u3063\u305f\u306e\u3067\u3001SQL\u304b\u3089DELETE\u6587\u3092\u524a\u9664)<\/p>\n<p>\u3000\u305d\u306e\u5f8c\u3001DB\u306f\u305d\u306e\u307e\u307e\u3067\u6700\u65b0\u306e4.36.2\u3092\u7acb\u3061\u4e0a\u3052\u308b\u3068\u3046\u307e\u304f\u52d5\u4f5c\u3057\u307e\u3057\u305f\u3002\u3064\u3044\u3067\u306bDB\u3082H2\u304b\u3089postgres\u306b\u79fb\u884c\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u30d6\u30e9\u30f3\u30c1\u306e\u30de\u30fc\u30b8\u64cd\u4f5c\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u307e\u3057\u305f\u3002\u3069\u3046\u3082\u30b7\u30fc\u30b1\u30f3\u30b9\u304c\uff11\u304b\u3089\u306b\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>System Administration -> Database viewer\u3067\u3001<\/p>\n<p><code>select * from issue_comment_comment_id_seq;<br \/>\nselect max(comment_id) from issue_comment;<br \/>\nselect setval('issue_comment_comment_id_seq',xxxx);<\/code><\/p>\n<p>\u3067\u30b7\u30fc\u30b1\u30f3\u30b9\u3092\u66f4\u65b0\u3057\u3066\u3068\u308a\u3042\u3048\u305a\u306f\u89e3\u6d88\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u5185\u90e8Git\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u3044\u308bGitBucket\u304c\u5c0e\u5165\u304b\u30893\u5e74\u8fd1\u304f\u7d4c\u3063\u305f\u306e\u3067\u3001\u30d0 &hellip; <a href=\"https:\/\/esoro.jp\/?p=1920\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/posts\/1920"}],"collection":[{"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/esoro.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1920"}],"version-history":[{"count":4,"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/posts\/1920\/revisions"}],"predecessor-version":[{"id":1931,"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/posts\/1920\/revisions\/1931"}],"wp:attachment":[{"href":"https:\/\/esoro.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/esoro.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/esoro.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}