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

EPF Wiki R1.5 Patch

Revision as of 06:08, 10 October 2008 by Unnamed Poltroon (Talk)

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.
  3. Check EPF Wiki and click on the button Start with Mongrel

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.

Release Notes

Back to the top