{"id":2109,"date":"2019-03-14T23:58:37","date_gmt":"2019-03-14T22:58:37","guid":{"rendered":"https:\/\/www.2diabolos.com\/blog\/?p=2109"},"modified":"2024-08-25T09:51:14","modified_gmt":"2024-08-25T08:51:14","slug":"redmine-migration","status":"publish","type":"post","link":"https:\/\/www.2diabolos.com\/blog\/2019\/03\/redmine-migration\/","title":{"rendered":"Redmine migration"},"content":{"rendered":"<div class=\"columns\">\n<ul class=\"wp-block-list\"><li> In the old PHPmyAdmin, make an export of the redmine database (normal parameters: utf-8\u2026.)<\/li><li>Copy all folders : \u201cfiles\u201d + \u201c plugins\u201d + Public\/Themes\/&#8230; (for attachments, plugins and theme)<ul><li>for my Bitnami installation, the path was : \/opt\/bitnami\/apps\/redmine\/htdocs<\/li><\/ul><\/li><li>In the new PHPmyAdmin (from the new Redmine you already installed), \u201cdrop all tables\u201d from the \u201credmine\u201d databaseImport your SQL file (from point 1)\u00a0 )<\/li><li>Here, you may have to execute a \u201cDB:migrate\u201d command. I was under windows, I succeed with this one : <\/li><\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>C:\\Bitnami\\redmine-3.3.3-1\\apps\\redmine\\htdocs&gt;c:\\Bitnami\\redmine-3.3.3-1\\ruby\\bin\\bundle exec rake db:migrate RAILS_ENV=production<\/p><cite>This means that you have to be in the htdocs folder of Redmine, and excecute the \u201cbundle.exe\u201d from Ruby\u2026. <\/cite><\/blockquote>\n\n\n\n<ul class=\"wp-block-list\"><li>Copy  all the folders (files + plugins + themes) where they belongs . the  \u201ctheme\u201d was not at the same place on Synology as in BitnamiRestart  your Redmine (I mean Apache and MySQL and probably ruby\u2026.. I don\u2019t  know, we are only using \u201cpackaged\u201d installation like Bitnami or Docker)Your are done <\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/mail.google.com\/mail\/e\/1f60a\" alt=\"\ud83d\ude0a\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">. All users\/tickets\/preferences have been moved. All attachments also.\n<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>If\n Ruby does not restart, then, delete plugins one after the other. One \nmay be incompatible. I had the luck that there where a new version for \nmy plugins working with my the new Redmine\u2026<\/li><\/ol>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>In the old PHPmyAdmin, make an export of the redmine database (normal parameters: utf-8\u2026.) Copy all folders : \u201cfiles\u201d + \u201c plugins\u201d + Public\/Themes\/&#8230; (for attachments, plugins and theme) for my Bitnami installation, the path was : \/opt\/bitnami\/apps\/redmine\/htdocs In the new PHPmyAdmin (from the new Redmine you already installed), \u201cdrop all tables\u201d from the \u201credmine\u201d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2109","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/www.2diabolos.com\/blog\/wp-json\/wp\/v2\/posts\/2109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.2diabolos.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.2diabolos.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.2diabolos.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.2diabolos.com\/blog\/wp-json\/wp\/v2\/comments?post=2109"}],"version-history":[{"count":2,"href":"https:\/\/www.2diabolos.com\/blog\/wp-json\/wp\/v2\/posts\/2109\/revisions"}],"predecessor-version":[{"id":2111,"href":"https:\/\/www.2diabolos.com\/blog\/wp-json\/wp\/v2\/posts\/2109\/revisions\/2111"}],"wp:attachment":[{"href":"https:\/\/www.2diabolos.com\/blog\/wp-json\/wp\/v2\/media?parent=2109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.2diabolos.com\/blog\/wp-json\/wp\/v2\/categories?post=2109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.2diabolos.com\/blog\/wp-json\/wp\/v2\/tags?post=2109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}