

{"id":1220,"date":"2018-01-27T16:30:49","date_gmt":"2018-01-27T07:30:49","guid":{"rendered":"https:\/\/curecode.jp\/tech\/?p=1220"},"modified":"2018-12-27T16:32:11","modified_gmt":"2018-12-27T07:32:11","slug":"redmine-4-3-local-avatar-plugin-error","status":"publish","type":"post","link":"https:\/\/curecode.jp\/tech\/redmine-4-3-local-avatar-plugin-error\/","title":{"rendered":"Redmine 3.4 \u306b\u30a2\u30d0\u30bf\u30fc\u753b\u50cf\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308b  Local Avatar Plugin \u306e\u5c0e\u5165\u3068\u30a8\u30e9\u30fc\u56de\u907f"},"content":{"rendered":"<h3>Redmine \u30c1\u30b1\u30c3\u30c8\u306e\u30a2\u30a4\u30b3\u30f3\u306b\u3064\u3044\u3066<\/h3>\n<p>Redmine \u306b\u306f\u3001\u8a2d\u5b9a\u3067\u300cGravatar\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u4f7f\u7528\u3059\u308b\u300d\u3092ON\u306b\u3059\u308b\u3068\u30c1\u30b1\u30c3\u30c8\u306e\u5de6\u4e0a\u306b\u4f5c\u6210\u8005\u306e\u30a2\u30a4\u30b3\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u4f5c\u6210\u8005\u3088\u308a\u3082\u62c5\u5f53\u8005\u306e\u65b9\u306e\u30a2\u30a4\u30b3\u30f3\u306b\u3057\u305f\u3044\u3068\u3044\u3046\u6539\u5584\u8981\u671b\u306f\u4ee5\u524d\u304b\u3089\u591a\u304f\u3042\u3063\u305f\u3088\u3046\u3067\u3059\u3002Redmine \u306e\u4f7f\u3044\u65b9\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u304c\u3001\u30c1\u30b1\u30c3\u30c8\u306e\u62c5\u5f53\u8005\u306e\u65b9\u304c\u4f5c\u6210\u8005\uff08\u5831\u544a\u8005\uff09\u3088\u308a\u3082\u91cd\u8981\u3068\u3044\u3046\u30b1\u30fc\u30b9\u304c\u591a\u3044\u304b\u3089\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>Redmine 3.4.0 \u3067\u306f\u3001\u3088\u3046\u3084\u304f\u4f5c\u6210\u8005\u306e\u30a2\u30a4\u30b3\u30f3\u306b\u52a0\u3048\u3066\u62c5\u5f53\u8005\u306e\u30a2\u30a4\u30b3\u30f3\u3082\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\uff08\u62c5\u5f53\u8005\u306e\u65b9\u304c\u5c0f\u3055\u3044\u3067\u3059\u304c\uff09<\/p>\n<div class=\"screenshot\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1221 aligncenter\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/uploads\/2018\/01\/redmine_avater.png\" alt=\"Redmine 3.4 \u3067\u306f\u30c1\u30b1\u30c3\u30c8\u306e\u30a2\u30d0\u30bf\u30fc\u306b\u62c5\u5f53\u8005\u3082\u8ffd\u52a0\" width=\"235\" height=\"120\" srcset=\"https:\/\/curecode.jp\/tech\/wp-content\/uploads\/2018\/01\/redmine_avater.png 235w, https:\/\/curecode.jp\/tech\/wp-content\/uploads\/2018\/01\/redmine_avater-200x102.png 200w\" sizes=\"auto, (max-width: 235px) 100vw, 235px\" \/><\/div>\n<p>\u3057\u304b\u3057\u3001Redmine \u306e\u30a2\u30a4\u30b3\u30f3\u306f Gravatar \u3068\u3044\u3046\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u308f\u306a\u3044\u3068\u5909\u66f4\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u6b8b\u5ff5\u4ed5\u69d8\u3067\u3057\u305f\u3002<\/p>\n<h3>Local Avatars for redmine \u30d7\u30e9\u30b0\u30a4\u30f3<\/h3>\n<p>\u305d\u3053\u3067\u3001<a href=\"https:\/\/www.yamamanx.com\/redmine-local-avatar-plugin\/\" target=\"_blank\" rel=\"noopener noreferrer\">Redmine 3.0.0 \u306bLocal Avatar \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u304c\u30a2\u30d0\u30bf\u30fc\u3092\u7c21\u5358\u306b\u5909\u66f4\u51fa\u6765\u308b\u3088\u3046\u306b\u3059\u308b | \u30e4\u30de\u30e0\u30ae<\/a> \u3068\u3044\u3046\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3001<strong><a href=\"https:\/\/github.com\/ncoders\/redmine_local_avatars\" target=\"_blank\" rel=\"noopener noreferrer\">Local Avatars for redmine<\/a><\/strong> \u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5165\u308c\u3066\u30a2\u30a4\u30b3\u30f3\u3092\u5909\u66f4\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u5c0e\u5165\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u69d8\u306a\u624b\u9806\u3067\u3059\u3002<\/p>\n<pre class=\"lang:sh decode:true \" >cd \/var\/lib\/redmine\/plugins\r\nsudo git clone https:\/\/github.com\/ncoders\/redmine_local_avatars.git\r\ncd ..\r\nbundle exec rake redmine:plugins RAILS_ENV=production<\/pre>\n<p>\u3053\u308c\u3067\u3001Redmine \u306e\u53f3\u4e0a\u306b\u3042\u308b\u300c\u500b\u4eba\u8a2d\u5b9a\u300d\u304b\u3089\u5404\u81ea\u30a2\u30d0\u30bf\u30fc\u753b\u50cf\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<div class=\"screenshot\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1224 aligncenter\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/uploads\/2018\/01\/redmine_local_avatar.png\" alt=\"\" width=\"275\" height=\"246\" srcset=\"https:\/\/curecode.jp\/tech\/wp-content\/uploads\/2018\/01\/redmine_local_avatar.png 275w, https:\/\/curecode.jp\/tech\/wp-content\/uploads\/2018\/01\/redmine_local_avatar-200x179.png 200w\" sizes=\"auto, (max-width: 275px) 100vw, 275px\" \/><\/div>\n<h3>Mysql2::Error: Data too long for column \u30a8\u30e9\u30fc<\/h3>\n<p>\u3057\u304b\u3057\u3001\u5b9f\u969b\u306b\u767b\u9332\u3057\u3088\u3046\u3068\u3059\u308b\u3068<\/p>\n<pre class=\"lang:mysql decode:true \" >Mysql2::Error: Data too long for column 'digest' at row 1: INSERT INTO `attachments`...<\/pre>\n<p>\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002<\/p>\n<p>\u8abf\u3079\u308b\u3068\u3053\u308c\u306f MySQL(MariaDB) \u306e\u6587\u5b57\u30b3\u30fc\u30c9\u304c\u5408\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306b\u51fa\u308b\u3088\u3046\u3067\u3059\u304c\u3001Rails \u306e\u8a2d\u5b9a\u3082 MySQL \u306e\u8a2d\u5b9a\u3082\u3059\u3079\u3066 utf8 \u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001<a href=\"https:\/\/stackoverflow.com\/questions\/24310178\/rails-4-migration-mysql2error-data-too-long-for-column-xxxx\" target=\"_blank\" rel=\"noopener noreferrer\">Rails 4 Migration: Mysql2::Error: Data too long for column &#8216;xxxx&#8217;<\/a><br \/>\n\u3092\u53c2\u8003\u306b\u3001strict \u30e2\u30fc\u30c9\u3092\u7121\u52b9\u5316\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\/var\/lib\/redmine\/config\/database.yml \u306b<\/p>\n<pre class=\"lang:yaml decode:true \" >production:\r\n  adapter: mysql2\r\n  database: redmine_db_name\r\n  strict: false\r\n...\r\n<\/pre>\n<p>\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066 Apache \u3092\u518d\u8aad\u8fbc\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h3>IT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u4e2d\uff01<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u52df\u96c6\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u5c11\u4eba\u6570\u306e\u8077\u5834\u306a\u306e\u3067\u3001\u4e0a\u6d41\u30fb\u4e0b\u6d41\u3084\u30b5\u30fc\u30d0\u30fc\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5bfe\u5fdc\u306e\u57a3\u6839\u306a\u304f\u3001\u3042\u306a\u305f\u306e\u5f37\u307f\u3092\u6d3b\u304b\u3057\u306a\u304c\u3089 \u3044\u308d\u3044\u308d\u306a\u3053\u3068\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u53ef\u80fd\u3067\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u306e\u672a\u7d4c\u9a13\u306e\u65b9\u3001\u7d4c\u9a13\u304c\u5c11\u306a\u3044\u65b9\u3082\u6b53\u8fce\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u8a18\u3088\u308aIT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u306e\u63a1\u7528\u60c5\u5831\u3092\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/curecode.jp\/recruit\/itengineer\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/it_recruit.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n<h3>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u516c\u5f0f\u30a4\u30f3\u30b9\u30bf\u30b0\u30e9\u30e0<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306e\u65b0\u30b5\u30fc\u30d3\u30b9\u60c5\u5831\u3084\u3001\u30aa\u30d5\u30a3\u30b9\u30e9\u30a4\u30d5\u306e\u7d20\u6575\u306a\u77ac\u9593\u307e\u3067\u3002\u79c1\u305f\u3061\u306e\u65e5\u3005\u306e\u55b6\u307f\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/www.instagram.com\/curecode\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/insta_bn.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Redmine \u30c1\u30b1\u30c3\u30c8\u306e\u30a2\u30a4\u30b3\u30f3\u306b\u3064\u3044\u3066 Redmine \u306b\u306f\u3001\u8a2d\u5b9a\u3067\u300cGravatar\u306e\u30a2\u30a4\u30b3\u30f3 [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":555,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[85,71,61,59],"class_list":["post-1220","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby","tag-mariadb","tag-mysql","tag-rails","tag-redmine"],"_links":{"self":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/1220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/comments?post=1220"}],"version-history":[{"count":5,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/1220\/revisions"}],"predecessor-version":[{"id":1391,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/1220\/revisions\/1391"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media\/555"}],"wp:attachment":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media?parent=1220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/categories?post=1220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/tags?post=1220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}