Versions Compared

Key

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

Prerequisites

Planning and Supported Platforms

Prerequisites

Planning and Supported Platforms

  • Please check the Supported Platforms to confirm the latest requirements. Note that v11.3.x is certified on OpenJDK (1121.0.2.1012).

    • IMPORTANT: Check that your DocuPhase Forms database is a supported version; v11 will not work on some older unsupported versionsdatabases.

  • Please read and understand Planning for v11.3 which may require your action before you begin your upgrade. Note that v11.3 includes changes introduced in v11.1. There are important migration considerations to review before you upgrade.

  • A note on our name: Our software is known as “DocuPhase Forms”. However, many installation filepaths file paths and properties will still use our previous name, “frevvo.” In this documentation, we refer to the software as DocuPhase Forms but list the filepaths file paths and properties as they are in the product, including often the term “frevvo.” You may consider the terms generally interchangeable, but please always use exact filepath file path and property names.

Warning

v11 License Key Required

  • A v11 license key is required for this version of DocuPhase Forms if you are upgrading from a prior version. Request a v11 license by completing this form before you begin the upgrade. 

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printabletrue

Determine Your Upgrade Path

Your DocuPhase Forms Version

Upgrade Path to v11.3.x

v9

v10.0.x

Upgrade to

v10+

v11.0 (see

v10

v11.0 Upgrade Guide), then upgrade to v11.3.

v10

.0

.

x, v10.

1.x, v11.

1

0

Upgrade directly to v11.

0

3

Note: Upgrades from DocuPhase Forms 6.3.9 - 6.3.12 through

v7

v9.

4

0.x are supported but these versions are not available for general release.

Migrating from HSQLDB

DocuPhase Forms does not support the use of HSQLDB for use beyond demo/trials of the DocuPhase Forms software. If by mistake you continued to use the demo/trial HSQLDB database for production use, you will need to first migrate your data to one of DocuPhase Forms supported production databases

 BEFORE you

 BEFORE you can upgrade to later versions of DocuPhase Forms.

Table of ContentsminLevel1maxLevel6outlinefalsestyledefaulttypelistprintabletrue

Upgrading DocuPhase Forms 

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

Note

DocuPhase Forms recommends that you test the upgrade process on your test server before performing it on your production server. Contact your DocuPhase Forms Account Manager for information if you do not have a test environment.

Prepare for the upgrade

  1. Read and understand the Migration Considerations that may require your action before beginning (review Migration Considerations for all interim versions as well.)Install OpenJDK (11.x)before beginning.

  2. Stop DocuPhase Forms with one of the methods listed below:

    1. Stop DocuPhase Forms and the Insight Server through the Computer Management Services console if they are running as Window's services.
      OR

    2. Execute <frevvo-home>\stop-frevvo.[bat,sh]

    3. Stop the Insight Server by closing the window or if you are using the tomcat bundle by typing these commands in the <frevvo-home>\solr directory of your existing installation.
      bin\solr.cmd stop -all

  3. Back up the forms database from your current DocuPhase Forms installation.

  4. Back up the current DocuPhase Forms server's installation directory so that you have a copy of all custom configuration parameters.

  5. Install OpenJDK (21.x).

Remove Services

Remove the old services, as you will reinstall them for the upgraded version.

  1. To remove the frevvo service, run the <frevvo-home>/frevvo/Remove-Service.(bat) file (Windows)

  2. To remove the Insight Server (Solr) services, open a command prompt and run the command:

    Code Block
    sc delete insightserver

    Replace ‘insightserver’ with the service name if you changed it. Verify the Insight Server service name by double clicking it in the Windows Services list.

Oracle DB Permission

Customers using Oracle DB should grand the following permission before upgrading.

Code Block
GRANT EXECUTE ON SYS.DBMS_CRYPTO TO <DocuPhase Forms user>;

If you do not do this, you may see an error like "liquibase.exception.DatabaseException: ORA-00904: "DBMS_CRYPTO"."HASH": invalid identifier" in the log file while upgrading, and the upgrade will fail.

Install Upgraded Version

  1. Download the latest v11.3.x software. 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).

  2. Install a JDBC DriverJDBC Driver (databases other than SQL Server).

  3. Ensure that Chrome or a Chromium browser is installed on the same server as the DocuPhase Forms installation for PDF Snapshot generation. See the related Installation Task for details.

  4. If you increased Memory Settings in your previous installation, make those changes to the appropriate files in the new installation. Refer to Hardware and Memory Requirements for the details.Navigate to the server.xml file in the <frevvo-home>\tomcat\conf directory of your v11.3.x installation

Configure the Database and Email

Note

IMPORTANT

Do not copy the server.xml or other configuration files from your previous installation. Rather, reference your backups so that you can set the properties (e.g. your database URL, your email credentials, etc.) correctly. With tomcat upgrades, there are often changes to the configuration documents and files; using older versions can cause your upgrade to fail.

The following are the most common properties you need to update in your server.xml. However, you may have further customizations. Compare your backup and the new configuration file to ensure you copy all necessary propertiesfile to ensure you copy all necessary properties.

  1. Navigate to the server.xml file in the <frevvo-home>\tomcat\conf directory of your v11.3.x installation.

  2. Configure your Database. Comment out HQSQL and comment in your database type, and fill in your credentials and database URL. See this documentation for details.

    1. If you are using SQL Server, remember to add the sendStringParametersAsUnicode property with a value of false to your database connection URL if it is not already there.

  3. Configure Email (Mail Resource) with your SMTP settings. See the Configure Email section for details.

  4. Configure the Default Port (if not using the standard defaults).)

  5. Configure SSL for tomcat if it was configured in prior version of DocuPhase Forms. If you keep the certificate in the frevvo installation directory, copy it from the old to the new.

  6. Save the changes to the server.xml file. 

Info

All database initialization and/or required upgrades will be automatically done by frevvo.war as part of the frevvo v11.3.x startupdatabase initialization and/or required upgrades will be automatically done by frevvo.war as part of the frevvo v11.3.x startup.

Info

If there was not a solr upgrade between the versions you upgrading from and to, you may restore the contents of the <frevvo-home>\data\solr directory from the previous installation directory backup that you made in the Prepare for the Upgrade section to your latest version's <frevvo-home>\data directory.

Copy Properties

See Installation Tasks for commonly used properties. Read the Detailed Release Notes to be sure that all properties you are using are valid in the upgraded version.

  1. Edit the frevvo-config.properties file in your prior version. This file is usually located in the<frevvo home>/tomcat/conf directory.

  2. Copy the properties you added or changed.

  3. Edit the frevvo-config.properties file in the upgraded version, and paste the properties you copied from your prior version. 

  4. Save the frevvo-config.properties file.

You may have also configured properties in other installation files. One common example is the sameSiteCookies attribute, configured in tomcat/conf/context.xml.

Tip

Consider documenting your installation's particular customizations for smooth upgrades.

Connectors

Follow the links below to upgrade and configure your connectors. You must always use the latest compatible connector version for your DocuPhase Forms version; however, in many cases configuration files can be copied from your prior version.

Starting the New Version

Install Services

Follow the guides to install Solr and frevvo services.

Start the Insight Server

InfoIf there was not a solr upgrade between the versions you upgrading from and to, you may restore the contents of the <frevvo-home>\data\solr directory from the previous installation directory backup that you made in the Prepare for the Upgrade section to your latest version's <frevvo-home>\data directory.

Start the Insight Server

Start the Insight server BEFORE starting DocuPhase Forms by starting the Solr/insightserver Service.

Expand
titleOptionally, click here for instructions to start Solr from the command prompt

Windows:

Open a command prompt. Navigate to <frevvo-home>\solr. Type bin\solr.cmd start to run the Insight server in the background, listening on the default port 8983.
image-20240625-204528.png
You will see this message:
image-20240625-204631.png

Linux:

  1. Ensure that the scripts are executable: chmod 755 <frevvo-home>/tomcat/bin/*.sh

  2. Navigate to <frevvo-home>/solr/bin. Run this command to make the solr startup file executable:
    chmod +x solr

  3. Navigate back to the solr directory. 
    cd ..     

  4. Start the Insight server by typing: bin/solr start - this starts the Insight server in the background.

Warning

If you close the Insight server (Solr) startup window, the server will stop running. Leave the window open or see these instructions to remove existing services and set up DocuPhase Forms and the Insight Server to run as Windows services.

Browse http://<your server:port>/ solr to verify the Insight server is running. The <server:port> default values are localhost:8983. Change localhost to the server name and 8983 to the port the Insight server is running on if they are different than the defaults. Do not include the angle brackets <>. You will see the Insight server (Solr) dashboard with the current status.

Image Removed

Start DocuPhase Forms

Start DocuPhase Forms service. Optionally, start the application manually by running the start-frevvo.bat or start-frevvo.sh files (depends on your Operating system) in the <frevvo-home>\frevvo directory.

Then follow these instructions to login and enter your upgrade license key.

Log in, Apply License, and Check Configuration

  • Verify that any DocuPhase Forms Connectors are up and running. Installed connectors will have a health URL you can browse to check their status.

  • Login as a the superuser admin (admin@d)

    1. Apply license if prompted (upgrades from versions prior to v11.x)

    2. Verify that the Refresh Searchable Items process ran and completed successfully.

    3. Click on the Configuration Checklist link to verify that all configurations are complete.

  • Login as the tenant admin. Click on the Reports link. Click on one of the Reports to verify that submission data is displayed.

  • Login as a tenant designer user

  • View and edit a form/flow

  • View Submissions and verify submissions are displayed.

  • Test forms/flows 

    Troubleshooting

    WarningIf you start DocuPhase Forms before the Insight server, you will see this message when you browse the DocuPhase Forms login URL. Follow these steps to start the servers in the correct order:
    Image Removed

    Navigate to your <frevvo-home> directory.

    Run the stop-frevvo.bat or stop-frevvo.sh file depending on your Operating system to stop DocuPhase Forms.

    Open a command prompt. Navigate to <frevvo-home>\solr-6.6.2

    Start the Insight server. Refer to Start the Insight Server above for the instructions.

    Browse http://<your server:port>/solr to verify the Insight server is running. The <server:port> default values are localhost:8983. Change localhost to your server name and 8983 to the port the Insight server is running on if they are different from the defaults.Do not include the angle brackets <>.

    Start DocuPhase Forms

    .

    Image Added

    Start DocuPhase Forms

    Start DocuPhase Forms service. Optionally, start the application manually by running the start-frevvo.bat or start-frevvo.sh files (depends on your Operating system) in the <frevvo-home>\frevvo directory.

    Then follow these instructions to login and enter your upgrade license key.

    Log in, Apply License, and Check Configuration

    1. Verify that any DocuPhase Forms Connectors are up and running. Installed connectors will have a health or status URL you can browse to check their status.

    2. Login as a the superuser admin (admin@d)

      1. Apply license if prompted (upgrades from versions prior to v11.x)

      2. Verify that the Refresh Searchable Items process ran and completed successfully.

      3. Click on the Configuration Checklist link to verify that all configurations are complete.

    3. Login as the tenant admin. Click on the Reports link. Click on one of the Reports to verify that submission data is displayed.

    4. Login as a tenant designer user

      1. View and edit a form/flow

      2. View Submissions and verify submissions are displayed.

      3. Test forms/flows 

    Troubleshooting

    Insight Server Configuration Error

    If you start DocuPhase Forms before the Insight server, you will see this message when you browse the DocuPhase Forms login URL. Stop both services and follow the steps above to start the servers in the correct order.

    2f282349-109a-4697-8e43-416cca51a612.pngImage Added

    Logs

    Tail the catalina log file during start up to observe any start-up errors. Tail the frevvo.<date> log file to observe any errors running the upgrade processes. See Tomcat Logfiles for more info.

    Applying a Minor Patch Update

    If you're applying a minor patch update, for example, applying patch v11.03.x to your installed v11.03.2 DocuPhase Forms server, you can follow these simple steps instead of the more lengthy upgrade steps.  

    Note

    The latest major DocuPhase Forms version and the compatible DocuPhase Forms connectors are available from the DocuPhase Forms Software Downloads Directory.

    1. Unzip the downloaded build zipfile to a temp directory. 

    2. Copy the \temp\frevvo\tomcat\webapps\frevvo directory.

    3. Stop DocuPhase Forms.

    4. Delete the frevvo.war and/or frevvo directory file from your <frevvo-home>\tomcat\webapps directory.

    5. Paste the frevvo directory copied above in your <frevvo-home>\tomcat\webapps directory. 

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

    7. Start DocuPhase Forms. 

    Apply a Patch with Tomcat Upgrade

    If you are applying a patch release that includes an Apache Tomcat upgrade to your installed v11.0 DocuPhase 3 DocuPhase Forms server, follow these modified upgrade instructions. Refer to the sections above for detailed steps.

    1. Stop DocuPhase Forms.

    2. Back up the current DocuPhase Forms server's installation directory so that you have a copy of all custom configuration parameters.

    3. Install the Upgraded Version.

      1. Download the latest v11.03.x software. 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).

      2. Install a JDBC Driver.

      3. If you increased Memory Settings in your previous installation, make those changes to the appropriate files in the new installation. Refer to Hardware and Memory Requirements for the details.

      4. Navigate to the server.xml file in the <frevvo-home>\tomcat\conf directory of your v10.1.x installation

    4. Configure the database and email.

    5. Install any Upgrade Guide#ConnectorsConnectors that were installed in your previous version.

    6. Restore the contents of the <frevvo-home>\data\solr directory from the previous installation directory backup that you made in Step 2 to your latest version's <frevvo-home>\data directory. Then, start  start the Insight Server.

    7. Start DocuPhase Start DocuPhase Forms.