Upgrading the PostgreSQL database
When you upgrade RICOH ProcessDirector, you have the option of upgrading the PostgreSQL database during the RICOH ProcessDirector install program or manually, after the install program completes or at a later date.
- Log in to the primary computer as the user who installed RICOH ProcessDirector.
- Stop all RICOH ProcessDirector and Feature Manager services.
- Create an empty temporary directory called updatePostgresql in
C:\Program Files\Ricoh\ProcessDirector. - Go to
C:\Program Files\Ricoh\ProcessDirector\base\packagesand locate theupdatePostgresql-nnn.zipfile, where nnn is the build number. Copy it toC:\Program Files\Ricoh\ProcessDirector\updatePostgresql.- Note:
- The RICOH ProcessDirector documentation assumes that the product is installed in the default directory. If you chose a different installation directory, you must change the first part of the directory to match the installation directory that you choose.
- If you have downloaded a newer version of
updatePostgresql-nnn.zipfor support reasons, you can place the same ZIP file inC:\Program Files\Ricoh\ProcessDirector\updatePostgresqland continue with the next steps.
- Unzip the
updatePostgresql-nnn.zipfile inC:\Program Files\Ricoh\ProcessDirector\updatePostgresql - Start a Windows PowerShell session and go to the directory where the ZIP file is unpacked
to start the PostgreSQL update:
cd "C:\Program Files\Ricoh\ProcessDirector\updatePostgresql" .\updatePostgresql.ps1 --update *>&1 | Tee-Object -FilePath updatePostgresql.log
- Note:
- If you receive an error message indicating that the script cannot be run due to execution
policy restrictions, you can temporarily allow the script to run. Type:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy BypassThis change applies only to the current PowerShell session and does not affect the system-wide execution policy.
- If you receive an error message indicating that the script cannot be run due to execution
policy restrictions, you can temporarily allow the script to run. Type:
- Start the RICOH ProcessDirector service.
- Use your browser to log in to the RICOH ProcessDirector user interface and verify that it is working correctly.
- Remove the temporary directory:
C:\Program Files\Ricoh\ProcessDirector\updatePostgresql.