Section | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Please read the following upgrade steps prior to starting the migration.
Note |
---|
frevvo recommends that you test the upgrade process on your test server before performing it on your production server. Contact your frevvo Account Manager for information if you do not have a test environment. |
Prepare for the upgrade
- Please read and understand the Migration Considerations that may require your action before beginning.
- Install OpenJDK (11.x)before beginning.
If upgrading from a version prior to v10.1, install Chrome on that same server as your frevvo installation. This is required for PDF Snapshot generation to work in your v11 installation.
Expand title Click here for steps to install Chrome... PDF Snapshot Generator: Install Chrome/Chromium
A stable version of chrome or chromium browser needs to be installed on same server where frevvo is installed. First, check to see if Chrome is already installed. If not, use one of the following links to install Chrome or a Chromium browser.
The snapshot generator looks for the chrome browser at the following paths. If found, it launches the browser.
/usr/bin/chromium
/usr/bin/chromium-browser
/usr/bin/google-chrome-stable
/usr/bin/google-chrome
/Applications/Chromium.app/Contents/MacOS/Chromium
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary
C:/Program Files (x86)/Google/Chrome/Application/chrome.exe
If the browser is not installed at any of these paths then set the CHROME_PATH environment variable to point to the correct path of the browser binary or set frevvo.chrome.path property in frevvo-config.properties file.
Windows Os:
Open the Start Search, type in “env”, and choose “Edit the system environment variables”
Click the “Environment Variables…” button
Click the "New..." button in the "System Variables" section
Set the variable name to "CHROME_PATH" and the value to <path to chromium browser exe>
MacOs/Linux
Set the CHROME_PATH environment variable in system profile files (/etc/profile, ~/.bash_profile, ~/.bashrc)
export CHROME_PATH=/opt/bin/chromium
...
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.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).
- Install a JDBC Driver.
- Ensure that Chrome or a Chromium browser is installed on the same server as the frevvo 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.0.x installation
Configure the Database and Email
- Select your database type
Refer to the Configure the Connection URL topic to point to your current frevvo database. 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
- If you made changes to the Default Port in previous releases, make those changes again in the v11.0.x server.xml file.
- Configure SSL for tomcat if it was configured in prior version of frevvo.
- Save the changes to the server.xml file.
...
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. |
Follow the steps to start the Insight server BEFORE starting frevvo.
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.
You will see this message:
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 frevvo 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.
...
- Ensure that the scripts are executable: chmod 755 <frevvo-home>/tomcat/bin/*.sh
- Navigate to <frevvo-home>/solr/bin. Run this command to make the solr startup file executable:
chmod +x solr - Navigate back to the solr directory.
cd .. - Start the Insight server by typing: bin/solr start - this starts the Insight server in the background.
- 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.
...
- Login as a tenant admin
- Click on the Configuration Checklist link to verify that all configurations are complete.
- 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
- Verify that your submissions are displayed when you click the Submissions icon.
- Test forms/flows
Login as the superuser admin.
- Verify that the Refresh Searchable Items process ran and completed successfully.
Troubleshooting
Warning |
---|
If you start frevvo before the Insight server, you will see this message when you browse the frevvo 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 frevvo. 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 frevvo. |
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 frevvo server, you can follow these simple steps instead of the more lengthy upgrade steps.
Note |
---|
The latest major frevvo version and the compatible frevvo connectors are available from the frevvo Software Downloads Directory. |
...
Stop frevvo.
Back up the current frevvo 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).
- Install a JDBC Driver.
- 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 new installation
- Configure the database and email.
- Install any 1069267765 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 frevvo.