Determine Your Upgrade Path
Your DocuPhase Forms Version | Upgrade Path to v11.3.x |
---|---|
v9.0.x | Upgrade to v10+ (see v10.0 Upgrade Guide), then upgrade to v11.3. |
v10.0.x, v10.1.x, v11.1 | Upgrade directly to v11.0 |
Note: Upgrades from DocuPhase Forms 6.3.9 - 6.3.12 through v7.4.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 can upgrade to later versions of DocuPhase Forms.
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
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.
Stop DocuPhase Forms with one of the methods listed below:
Stop DocuPhase Forms and the Insight Server through the Computer Management Services console if they are running as Window's services.
ORExecute <frevvo-home>\stop-frevvo.[bat,sh]
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
Back up the forms database from your current DocuPhase Forms installation.
Back up the current DocuPhase Forms server's installation directory so that you have a copy of all custom configuration parameters.
Remove Services
Remove the old services, as you will reinstall them for the upgraded version.
To remove the frevvo service, run the <frevvo-home>/frevvo/Remove-Service.(bat) file (Windows)
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
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).
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.
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 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 properties.
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.
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.
Configure Email (Mail Resource) with your SMTP settings. See the Configure Email section for details.
Configure the Default Port (if not using the standard defaults.)
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.
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 startup. |
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.
Edit the frevvo-config.properties file in your prior version. This file is usually located in the<frevvo home>/tomcat/conf directory.
Copy the properties you added or changed.
Edit the frevvo-config.properties file in the upgraded version, and paste the properties you copied from your prior version.
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.
Google connector (Legacy)
Note that on v11.3, a new Google Connector is built in! Consider migrating to the new connector as a part of your upgrade. The Legacy Connector is no longer supported and will be removed in a future release.
SharePoint Connector (Legacy)
Note that on v11.3, a new SharePoint Connector is built in! Consider migrating to the new connector as a part of your upgrade. The Legacy Connector is no longer supported and will be removed in a future release.
Starting the New Version
Install Services
Follow the guides to install Solr and frevvo services.
Note that you may already have the nssm downloaded from your previous installation.
Install DocuPhase Forms Service (run <frevvo-home>/Install-Service.bat)
Start the Insight Server
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. |
Start the Insight server BEFORE starting DocuPhase Forms by starting the Solr/insightserver Service.
Expand | ||
---|---|---|
| ||
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. Linux:
|
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.
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)
Apply license if prompted (upgrades from versions prior to v11.x)
Verify that the Refresh Searchable Items process ran and completed successfully.
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
Warning |
---|
If 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: 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. |
Applying a Minor Patch Update
If you're applying a minor patch update, for example, applying patch v11.0.x to your installed v11.0.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. |
Unzip the downloaded build zipfile to a temp directory.
Copy the \temp\frevvo\tomcat\webapps\frevvo directory.
Stop DocuPhase Forms.
Delete the frevvo.war and/or frevvo directory file from your <frevvo-home>\tomcat\webapps directory.
Paste the frevvo directory copied above in your <frevvo-home>\tomcat\webapps directory.
Delete everything inside \frevvo\tomcat\temp directory of your installation.
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 Forms server, follow these modified upgrade instructions. Refer to the sections above for detailed steps.
Stop DocuPhase Forms.
Back up the current DocuPhase Forms server's installation directory so that you have a copy of all custom configuration parameters.
Install the Upgraded Version.
Download the latest v11.0.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).
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 v10.1.x installation
Install any Upgrade Guide#Connectors that were installed in your previous version.
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 the Insight Server.
Start DocuPhase Forms.