Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Before you begin the migration process, there are a few migration items that you need to consider. Please read and understand the Planning for v6.2 which may require your action before you begin your upgrade.

Determine Your Upgrade Path

Your Live Forms Version

Recommended Upgrade Path to v6.2

5.0 revision (22491)

Upgrade directly to v6.2

5.1.x

Upgrade to v5.3.8 then upgrade to v6.2

5.2 patch 8/9

Upgrade directly to v6.2

5.3.8

Upgrade directly to v6.2

6.1.x

Upgrade directly to v6.2

 Please follow the instructions on this page, to perform your upgrade. Click on the link for the section(s) that apply. 

Table of Contents
maxLevel1

...

Upgrading from 5.0 (r22491) or v5.2 patch 8/9+ or v5.3.8 or 6.1

Please read the following upgrade steps prior to starting the migration.

  1. Please read and understand the the Migration Considerations which  which may require your action before beginning.
  2. Backup the v5 server's forms and users databases from your current installation.
  3. Backup the v5 current server's installation directory so that you have a copy of all custom configuration parameters.
  4. Stop the v5 the  server using stop-frevvo.[bat,sh] or through the Computer Management Services console if is running as a window's service.
  5. Install a fresh v6.2  server:
    1. Download the latest v6.2 software.
    2. The download is a zip file. Extract the contents to any folder of your choice. This folder will be referred to as <frevvo-home> (note that the zip already contains a top level frevvo folder).
    3. Navigate to <frevvo-home>\tomcat\conf\catalina\localhost\frevvo.xml in the v6.2 directory structure.
    4. Point v6.2 frevvo database to your current frevvo database. Remember to add the sendStringParametersAsUnicode property with a value of false to your database connection URL if it is not already there.

      Note

      The execution of SQL scripts is no longer required. All database initialization and/or upgrade will be done by frevvo.war as part of the v6.2 startup.

     
  6. If you are upgrading from v6.1 you can skip steps 7a  - 7b. Go directly to step 8.
  7. If you are upgrading from a version prior to v6.1, then you MUST perform these steps:
Warning
  • The users schema for the version you are migrating from must be located on the same database server instance as the new frevvo 6.2 schema. The upgrade process directly selects from the old users schema and inserts into the new frevvo 6.2 schema using a single sql statement.
  • Only attempt the upgrade ONCE against a particular users and frevvo schema combination. If you need to run it again, RESTORE BOTH schemas from backup. If you encounter an exception reporting a migration failure, restore both schemas, verify that you have performed ALL the steps listed here and try again.
    1. If you are using the tomcat servlet, follow the steps below to configure the v6.2 <frevvo-home>\tomcat\conf\catalina\localhost\frevvo.xml file for migration

  1. .
    Navigate to <frevvo-home>\tomcat\conf\catalina\localhost\frevvo.xml in the v6
    1. .

  2. 2 directory structure.
  3. Point v6.2 frevvo database to your current frevvo database.
     

      1. For SQL server database migration: Uncomment " <Parameter name="frevvo.users.schemaName" value="users.dbo" override="false"/>" in frevvo.xml and comment out "<Parameter name="frevvo.users.schemaName" value="users" override="false"/>". 
      2. Set the value of frevvo.users.schemaName in the v6.2 frevvo.xml file to the name of the users database of the version you are migrating from.  If you didn't change the name of the users schema in the version you are migrating from, then you can leave it as the default, users. Make sure you append .dbo to the users schema name if you are using an SQL server database
  4. .
    Warning6.1 customers using LDAP must copy their LDAP config parameters from the frevvo.xml file of the version you are migrating from to the v6.2 version frevvo
      1. .
  5. xml BEFORE starting the v6.2 server for the first time. will then migrate the config to the tenant level on startup.  LDAP parameters can then be edited in the v6.2 UI.
      1. During the upgrade Live Forms copies the data in the old users schema into the corresponding new tables in the frevvo schema.  The users and frevvo schemas are consolidated in this release.  Live Forms uses the frevvo database user to select the data from the old users schema.  Therefore, the frevvo database user must have select access to all of the tables in the old user.  In case your database is  not already configured for this, you must grant select permission to the frevvo user on these tables BEFORE upgrading.

         Below is an example of the queries needed to grant select permission on the users schema to the frevvo user for the Oracle database: 

        Code Block
        GRANT  select ON users.resources  TO frevvo;
        GRANT  select ON users.roles  TO frevvo;
        GRANT  select ON users.spaces  TO frevvo;
        GRANT  select ON users.tenantcategories  TO frevvo;
        GRANT  select ON users.tenants  TO frevvo;
        GRANT  select ON users.users  TO frevvo;
        GRANT  select ON users.usersroles  TO frevvo;
        GRANT  select ON users.tenantroles  TO frevvo;

        If you are using a database other than Oracle, similar statements need to be executed. Please consult your database documentation for the correct syntax. 

        Info

        The frevvo db user id requires the database level privileges listed below on first startup. If your database is not set up for this already, privileges will be needed for the following actions:  

        • Create Table
        • Alter Table
        • Drop Table
        • Create Index
        • Create Sequence (Oracle)
        • Create Trigger
    1. Customers upgrading to v6.2 from a Live Forms version prior to v6.1, using LDAP, must copy their LDAP config parameters from the frevvo.xml file of the version you are migrating from to the v6.2 version frevvo.xml BEFORE starting the v6.2 server for the first time. Live Forms will then migrate the config to the tenant level on startup.  LDAP parameters can then be edited in the v6.2 UI.

8.

...

If you are using the JBOSS container, make the following additions to the configuration files:

    1. JBOSS container : Quartz parameter has to be added to frevvo-config.properties file. e.g in case of MSSQL database, add the following in this file:

      "org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.MSSQLDelegate" 

       

    2. JBOSS + SQL server : "SelectMethod=cursor" has to be added to the connection url in frevvo-ds.xml file as follows : 

      "<connection-url>jdbc:sqlserver://localhost:1433;databaseName=frevvo;SelectMethod=cursor;</connection-url>" 

    3. The Quartz parameter is not required for starting the frevvo server if you are using WEBLOGIC. 

  1. Configure

9. Configure the new installation

    • If you made changes to the following files in your

...

     11 10Start the v6.2 server.

Info

The users database, required for previous versions of , is no longer needed. The 6.2 automigration creates a new frevvo database that contains all the tables from frevvo and users databases of the the previous version along with any new ones.

Warning

Only attempt the upgrade ONCE against a particular users and frevvo schema combination. If you need to run it again, RESTORE BOTH schemas from backup. If you encounter an exception reporting a migration failure, restore both schemas, verify that you have performed ALL the steps listed here and try again.

  Things to Check:

  • Login as a tenant admin
  • Click on the Configuration Checklist link to verify that all configurations are complete
  • Login as a tenant designer user
  • View and edit a form/flow
  • View submissions that existed before
  • Test forms/flows 

Troubleshooting:

It is recommended that you do not change or delete the frevvo.users.schemaName property in frevvo.xml after the first startup of v6.2.  If the property is changed or deleted post migration you may see this error:

...

Applying a Minor Patch Update

If you're applying a minor patch update, for example, applying patch 6.2.1 to your installed v6.2 Live Forms server, you can follow these simple steps instead of the more lengthy upgrade steps.  You can download the latest build from frevvo download

 

Note

The latest major version and latest connector versions are available on the public Software Downloads page.

Follow these steps:

  1. Unzip the downloaded build zipfile to a temp directory. 
  2. Copy the \temp\frevvo\tomcat\webapps\frevvo.war file.

  3. Stop .

  4. Replace the frevvo.war file in your installation with the one copied above.

  5. If you made any change in the web.xml file of your frevvo.war, then you will have to make those changes again in the web.xml file of the new frevvo.war. The steps to do this are explained here or you can just copy the old web.xml and replace the new one with it.

  6. Delete everything inside \frevvo\tomcat\temp directory of your installation.

  7. Start . 

...