{"id":380,"date":"2011-01-10T09:05:24","date_gmt":"2011-01-10T09:05:24","guid":{"rendered":"http:\/\/www.knowledgement.ie\/?p=380"},"modified":"2011-01-10T09:05:24","modified_gmt":"2011-01-10T09:05:24","slug":"upgrade-redmine-from-0-9-3-to-1-0-5","status":"publish","type":"post","link":"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/","title":{"rendered":"Upgrade Redmine from 0.9.3 to 1.0.5"},"content":{"rendered":"<p>This article has been contributed by our Winter Intern Sebastien Thouvenin.<\/p>\n<p>You may have installed Redmine 0.9.3 with <a href=\"https:\/\/targetintegration.com\/technical\/installing-redmine-project-and-bug-tracking-on-ubuntu-10-04\" target=\"_blank\" rel=\"noopener noreferrer\" name=\"Installing Redmine on Ubuntu 10.04\">this <\/a>method to track bugs and manage your projects and we hope that you like it. But now you need something more\u2026 powerful? You may want to install a test case management tool which integrates with Redmine e.g. <a href=\"http:\/\/www.klaros-testmanagement.com\/\" target=\"_blank\" rel=\"noopener noreferrer\" name=\"Klaros Test Case Management\">Klaros Test Case Management Tool<\/a>. Most of the test case management plug in or software which could work with Redmine are only available for Redmine1.0.x<\/p>\n<p>So let&#8217;s start the upgrade process.<\/p>\n<p>In the beginning, you need to download a new version. At this moment, the last stable version is 1.0.5, so I downloaded it in my Downloads folder :<\/p>\n<p>{code}sudo wget http:\/\/rubyforge.org\/frs\/download.php\/73692\/redmine-1.0.5.tar.gz {\/code}<\/p>\n<p>Uncompressed this file:<\/p>\n<p>{code}sudo tar -xvf redmine-1.0.5.tar.gz{\/code}<\/p>\n<p>Now copy this folder in \/usr\/share\/ :<\/p>\n<p>{code}sudo cp -R redmine-1.0.5 \u00a0\/usr\/share{\/code}<\/p>\n<p>Now, that you need to copy your database information. In your old installation you can find your database information in \/etc\/redmine\/default\/database.yml and the email information in \/etc\/redmine\/default\/email.yml. So copy these files as below :<\/p>\n<p>{code}sudo cp \/etc\/redmine\/default\/database.yml \u00a0\/usr\/share\/redmine-1.0.5\/config\/<\/p>\n<p>sudo cp \/etc\/redmine\/default\/email.yml \u00a0\/usr\/share\/redmine-1.0.5\/config{\/code}<\/p>\n<p>And create a link like this :<\/p>\n<p>{code}sudo ln -s \/usr\/share\/redmine-1.0.5\/public\/ \u00a0\/var\/www\/redmine-1.0.5{\/code}<\/p>\n<p>The version 1.0.5 need a gem installation, so just do this :<\/p>\n<p>{code}sudo gem install -v=0.42i18n{\/code}<\/p>\n<p>Wait a while, and go to your new installation\u2019s folder :<\/p>\n<p>{code}cd \/usr\/share\/redmine-1.0.5{\/code}<\/p>\n<p>Do a little rake to create a secret key to protect your information:<\/p>\n<p>{code}sudo rake generate_session_store{\/code}<\/p>\n<p>To carry on you need to upgrade your rack version :<\/p>\n<p>{code}sudo gem install rack -v=1.0.1{\/code}<\/p>\n<p>And now you can update your new database with information of your old redmine :<\/p>\n<p>{code}rake db:migrate RAILS_ENV=production{\/code}<\/p>\n<p>Change the permission of settings.yml and database.yml :<\/p>\n<p>{code}sudo chmod 644 \/usr\/share\/redmine-1.0.5\/config\/settings.yml<\/p>\n<p>sudo chmod 644 \/usr\/share\/redmine-1.0.5\/config\/database.yml<\/p>\n<p>sudo chmod 644 \/usr\/share\/redmine-1.0.5\/config\/email.yml{\/code}<\/p>\n<p>Add following lines in \/etc\/apache2\/sites-available\/default :<\/p>\n<p>{code}<\/p>\n<p>RailsEnv production<\/p>\n<p>RailsBaseURI \/redmine-1.0.5<\/p>\n<p>&lt;Directory \/opt\/redmine-1.0.5\/public\/&gt;<\/p>\n<p>Options FollowSymLinks<\/p>\n<p>AllowOverride None<\/p>\n<p>Order deny,allow<\/p>\n<p>Allow from all<\/p>\n<p>&lt;\/Directory&gt;<\/p>\n<p>{\/code}<\/p>\n<p>You can either comment our or delete the following lines pointing to the old installation :<\/p>\n<p>{code}<\/p>\n<p>#RailsEnv production<\/p>\n<p>#RailsBaseURI \/redmine<\/p>\n<p>#&lt;Directory \/opt\/redmine\/public\/&gt;<\/p>\n<p>#Options FollowSymLinks<\/p>\n<p>#AllowOverride None<\/p>\n<p>#Order deny,allow<\/p>\n<p>#Allow from all<\/p>\n<p>#&lt;\/Directory&gt;<\/p>\n<p>{\/code}<\/p>\n<p>Restart Apache :<\/p>\n<p>{code}<\/p>\n<p>sudo \/etc\/init.d\/apache2 restart<\/p>\n<p>{\/code}<\/p>\n<p>You can see your new version on http:\/\/YourIpAddress\/redmine-1.0.5\/<\/p>\n<p>If you prefer your old address (http:\/\/YourIpAddress\/redmine\/) :<\/p>\n<p>{code}<\/p>\n<p>sudo rm -r \/var\/www\/redmine (you delete the old link)<\/p>\n<p>sudo mv \/var\/www\/redmine-1.0.5 \u00a0\/var\/www\/redmine (change the name of the link)<\/p>\n<p>sudo nano \/etc\/apache2\/sites-available\/default<\/p>\n<p>{\/code}<\/p>\n<p>and modify the redmine-1.0.5 to redmine in\u00a0\/etc\/apache2\/sites-available\/default<\/p>\n<p>That&#8217;s it your upgraded Redmine is now ready.<\/p>\n<p style=\"text-align: right;\"><em>&#8212; Contributed by Sebastien Thouvenin<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article has been contributed by our Winter Intern Sebastien Thouvenin. You may have installed Redmine 0.9.3 with this method&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[58,66,44],"class_list":["post-380","post","type-post","status-publish","hentry","category-article","tag-civicrm","tag-hr","tag-online-services"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Upgrade Redmine from 0.9.3 to 1.0.5 -<\/title>\n<meta name=\"description\" content=\"This article has been contributed by our Winter Intern Sebastien Thouvenin. You may have installed Redmine 0.9.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Upgrade Redmine from 0.9.3 to 1.0.5 -\" \/>\n<meta property=\"og:description\" content=\"This article has been contributed by our Winter Intern Sebastien Thouvenin. You may have installed Redmine 0.9.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/\" \/>\n<meta property=\"og:site_name\" content=\"Target Integration\" \/>\n<meta property=\"article:published_time\" content=\"2011-01-10T09:05:24+00:00\" \/>\n<meta name=\"author\" content=\"Aman Thakral\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aman Thakral\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/\"},\"author\":{\"name\":\"Aman Thakral\",\"@id\":\"https:\/\/targetintegration.com\/#\/schema\/person\/9956d46591619b474ed534d4bae9a37d\"},\"headline\":\"Upgrade Redmine from 0.9.3 to 1.0.5\",\"datePublished\":\"2011-01-10T09:05:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/\"},\"wordCount\":528,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/targetintegration.com\/#organization\"},\"keywords\":[\"CiviCRM\",\"HR\",\"online services\"],\"articleSection\":[\"Article\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/\",\"url\":\"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/\",\"name\":\"Upgrade Redmine from 0.9.3 to 1.0.5 -\",\"isPartOf\":{\"@id\":\"https:\/\/targetintegration.com\/#website\"},\"datePublished\":\"2011-01-10T09:05:24+00:00\",\"description\":\"This article has been contributed by our Winter Intern Sebastien Thouvenin. You may have installed Redmine 0.9.\",\"breadcrumb\":{\"@id\":\"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/targetintegration.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upgrade Redmine from 0.9.3 to 1.0.5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/targetintegration.com\/#website\",\"url\":\"https:\/\/targetintegration.com\/\",\"name\":\"Target Integration\",\"description\":\"Empowering You!\",\"publisher\":{\"@id\":\"https:\/\/targetintegration.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/targetintegration.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/targetintegration.com\/#organization\",\"name\":\"Target Integration\",\"url\":\"https:\/\/targetintegration.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/targetintegration.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/targetintegration.com\/wp-content\/uploads\/\/2021\/05\/ti-logo2-2.svg\",\"contentUrl\":\"https:\/\/targetintegration.com\/wp-content\/uploads\/\/2021\/05\/ti-logo2-2.svg\",\"width\":172,\"height\":65,\"caption\":\"Target Integration\"},\"image\":{\"@id\":\"https:\/\/targetintegration.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/targetintegration.com\/#\/schema\/person\/9956d46591619b474ed534d4bae9a37d\",\"name\":\"Aman Thakral\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/targetintegration.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5d3832136f194dc02b46be42471b0a19833e6a89e0c27d4f36549afb93d2a431?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5d3832136f194dc02b46be42471b0a19833e6a89e0c27d4f36549afb93d2a431?s=96&d=mm&r=g\",\"caption\":\"Aman Thakral\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Upgrade Redmine from 0.9.3 to 1.0.5 -","description":"This article has been contributed by our Winter Intern Sebastien Thouvenin. You may have installed Redmine 0.9.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/","og_locale":"en_US","og_type":"article","og_title":"Upgrade Redmine from 0.9.3 to 1.0.5 -","og_description":"This article has been contributed by our Winter Intern Sebastien Thouvenin. You may have installed Redmine 0.9.","og_url":"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/","og_site_name":"Target Integration","article_published_time":"2011-01-10T09:05:24+00:00","author":"Aman Thakral","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Aman Thakral","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/#article","isPartOf":{"@id":"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/"},"author":{"name":"Aman Thakral","@id":"https:\/\/targetintegration.com\/#\/schema\/person\/9956d46591619b474ed534d4bae9a37d"},"headline":"Upgrade Redmine from 0.9.3 to 1.0.5","datePublished":"2011-01-10T09:05:24+00:00","mainEntityOfPage":{"@id":"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/"},"wordCount":528,"commentCount":0,"publisher":{"@id":"https:\/\/targetintegration.com\/#organization"},"keywords":["CiviCRM","HR","online services"],"articleSection":["Article"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/","url":"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/","name":"Upgrade Redmine from 0.9.3 to 1.0.5 -","isPartOf":{"@id":"https:\/\/targetintegration.com\/#website"},"datePublished":"2011-01-10T09:05:24+00:00","description":"This article has been contributed by our Winter Intern Sebastien Thouvenin. You may have installed Redmine 0.9.","breadcrumb":{"@id":"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/targetintegration.com\/en_us\/upgrade-redmine-from-0-9-3-to-1-0-5\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/targetintegration.com\/"},{"@type":"ListItem","position":2,"name":"Upgrade Redmine from 0.9.3 to 1.0.5"}]},{"@type":"WebSite","@id":"https:\/\/targetintegration.com\/#website","url":"https:\/\/targetintegration.com\/","name":"Target Integration","description":"Empowering You!","publisher":{"@id":"https:\/\/targetintegration.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/targetintegration.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/targetintegration.com\/#organization","name":"Target Integration","url":"https:\/\/targetintegration.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/targetintegration.com\/#\/schema\/logo\/image\/","url":"https:\/\/targetintegration.com\/wp-content\/uploads\/\/2021\/05\/ti-logo2-2.svg","contentUrl":"https:\/\/targetintegration.com\/wp-content\/uploads\/\/2021\/05\/ti-logo2-2.svg","width":172,"height":65,"caption":"Target Integration"},"image":{"@id":"https:\/\/targetintegration.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/targetintegration.com\/#\/schema\/person\/9956d46591619b474ed534d4bae9a37d","name":"Aman Thakral","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/targetintegration.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5d3832136f194dc02b46be42471b0a19833e6a89e0c27d4f36549afb93d2a431?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5d3832136f194dc02b46be42471b0a19833e6a89e0c27d4f36549afb93d2a431?s=96&d=mm&r=g","caption":"Aman Thakral"}}]}},"_links":{"self":[{"href":"https:\/\/targetintegration.com\/en_us\/wp-json\/wp\/v2\/posts\/380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/targetintegration.com\/en_us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/targetintegration.com\/en_us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/targetintegration.com\/en_us\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/targetintegration.com\/en_us\/wp-json\/wp\/v2\/comments?post=380"}],"version-history":[{"count":0,"href":"https:\/\/targetintegration.com\/en_us\/wp-json\/wp\/v2\/posts\/380\/revisions"}],"wp:attachment":[{"href":"https:\/\/targetintegration.com\/en_us\/wp-json\/wp\/v2\/media?parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/targetintegration.com\/en_us\/wp-json\/wp\/v2\/categories?post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/targetintegration.com\/en_us\/wp-json\/wp\/v2\/tags?post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}