Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EPF Wiki R1.5 Patch"

m
m
Line 1: Line 1:
 
This document describes how to update the first release candidate of 1.5 release (epfwiki_r1_5_rc1.zip) to the 1.5 release.
 
This document describes how to update the first release candidate of 1.5 release (epfwiki_r1_5_rc1.zip) to the 1.5 release.
  
The instruction consists of the following steps:
+
== Installation ==
# Download and update EPF Wiki application sources
+
# Download and install TinyMCE 3.2.0.2
+
# Upgrade the database
+
# Restart the webserver
+
# Update your scheduled jobs
+
  
== Download and update EPF Wiki application sources ==
+
The five steps below describe in detail how the patch is installed.
 +
 
 +
=== Download and update EPF Wiki application sources ===
  
 
# Download EPF Wiki 1.5 from the [http://www.eclipse.org/epf/downloads/epfwiki/downloads.php downloads page]  
 
# Download EPF Wiki 1.5 from the [http://www.eclipse.org/epf/downloads/epfwiki/downloads.php downloads page]  
Line 14: Line 11:
 
# Extract the zip replacing all already existing files.
 
# Extract the zip replacing all already existing files.
  
== Download and install TinyMCE 3.2.0.2 ==
+
=== Download and install TinyMCE 3.2.0.2 ===
  
 
The old version of TinyMCE used by R1.5 RC1 is no longer available so R1.5 was updated to support the latest version 3.2.0.2.
 
The old version of TinyMCE used by R1.5 RC1 is no longer available so R1.5 was updated to support the latest version 3.2.0.2.
Line 21: Line 18:
 
# Extract the contents to temporary location and then copy the folder '''tinymce\jscripts\tiny_mce''' to the folder '''[EPF Wiki App Dir]\public\javascripts\''' replacing all already existing files.
 
# Extract the contents to temporary location and then copy the folder '''tinymce\jscripts\tiny_mce''' to the folder '''[EPF Wiki App Dir]\public\javascripts\''' replacing all already existing files.
  
== Upgrade the database ==
+
=== Upgrade the database ===
  
 
The patch contains a small database change. Assuming you are using InstantRails you can update the database as follows:
 
The patch contains a small database change. Assuming you are using InstantRails you can update the database as follows:
Line 44: Line 41:
  
  
== Restart the webserver ==
+
=== Restart the webserver ===
 
   
 
   
 
To activate the changes you should restart the webserver. Assuming you are using InstantRails this means:
 
To activate the changes you should restart the webserver. Assuming you are using InstantRails this means:
Line 50: Line 47:
 
# Start the InstantRails Manager (InstantRails.exe) and select '''I''' > '''Rails Applications''' > '''Manage Rails Applications'''.  
 
# Start the InstantRails Manager (InstantRails.exe) and select '''I''' > '''Rails Applications''' > '''Manage Rails Applications'''.  
  
== Update your scheduled jobs ==
+
=== Update your scheduled jobs ===
  
 
With the previous release you are expected to create four jobs in totaal: for the reporting (daily, weekly, monthly) and for the updating of Wiki sites (job_daily). With this release you are expected to schedule only one job, the daily job that is to run at night or when ever the site is used the least. So you can remove the reporting jobs, these are now part of the job_daily.
 
With the previous release you are expected to create four jobs in totaal: for the reporting (daily, weekly, monthly) and for the updating of Wiki sites (job_daily). With this release you are expected to schedule only one job, the daily job that is to run at night or when ever the site is used the least. So you can remove the reporting jobs, these are now part of the job_daily.
 
# Check EPF Wiki and click on the button '''Start with Mongrel'''
 
# Check EPF Wiki and click on the button '''Start with Mongrel'''
 +
 +
== Release Notes ==

Revision as of 06:06, 10 October 2008

This document describes how to update the first release candidate of 1.5 release (epfwiki_r1_5_rc1.zip) to the 1.5 release.

Installation

The five steps below describe in detail how the patch is installed.

Download and update EPF Wiki application sources

  1. Download EPF Wiki 1.5 from the downloads page
  2. Place zip file in the EPF Wiki application directory
  3. Extract the zip replacing all already existing files.

Download and install TinyMCE 3.2.0.2

The old version of TinyMCE used by R1.5 RC1 is no longer available so R1.5 was updated to support the latest version 3.2.0.2.

  1. Donwload tinymce_3_2_0_2.zip
  2. Extract the contents to temporary location and then copy the folder tinymce\jscripts\tiny_mce to the folder [EPF Wiki App Dir]\public\javascripts\ replacing all already existing files.

Upgrade the database

The patch contains a small database change. Assuming you are using InstantRails you can update the database as follows:

  1. Start the InstantRails Manager (InstantRails.exe) and select I > Rails Applications > Manage Rails Applications.
  2. Click the button Create New Rails App

This should open a command prompt window. Now type the following

set RAILS_ENV=production
rake db:migrate

These commands update the database. An example of the console output is below.

C:\InstantRails2.0\rails_apps\EPFWiki>set RAILS_ENV=production

C:\InstantRails2.0\rails_apps\EPFWiki>rake db:migrate
(in C:/InstantRails2.0/rails_apps/EPFWiki)
== 3 IpAddressOptional: migrating =============================================
-- change_column(:users, :ip_address, :string, {:limit=>20, :null=>true})
   -> 2.4060s
== 3 IpAddressOptional: migrated (2.4060s) ====================================


Restart the webserver

To activate the changes you should restart the webserver. Assuming you are using InstantRails this means:

  1. CTRL-C in the command prompt window for the Mongrel server to end the server process
  2. Start the InstantRails Manager (InstantRails.exe) and select I > Rails Applications > Manage Rails Applications.

Update your scheduled jobs

With the previous release you are expected to create four jobs in totaal: for the reporting (daily, weekly, monthly) and for the updating of Wiki sites (job_daily). With this release you are expected to schedule only one job, the daily job that is to run at night or when ever the site is used the least. So you can remove the reporting jobs, these are now part of the job_daily.

  1. Check EPF Wiki and click on the button Start with Mongrel

Release Notes

Back to the top