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 system user (aiw1 is the default).
- Stop RICOH ProcessDirector. Open a command prompt and type:
stopaiw
- Start the embedded PostgreSQL container appropriate for your system.
- Type su - root and press Enter. When prompted, enter the password for the root user and press Enter.
- Source the RICOH ProcessDirector system environment variables to the root session. Type: source /opt/infoprint/ippd/base/config/ippdprofile
- Create an empty temporary directory called updatePostgresql in
/opt/infoprint/ippd. Type:mkdir /opt/infoprint/ippd/updatePostgresql - Go to
/opt/infoprint/ippd/baseand locate theupdatePostgresql-nnn.zipfile, where nnn is the build number. Copy it to/opt/infoprint/ippd/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 in/opt/infoprint/ippd/updatePostgresqland continue with the next steps.
- Unpack the
updatePostgresql-nnn.zipfile in/opt/infoprint/ippd/updatePostgresql. Type: - Go to the directory where you unzipped the file and find:
updatePostgresql.sh - To run the script, type:
- Switch to the RICOH ProcessDirector system user ( aiw1 is the default). Type:su - aiw1
- Verify that the PostgreSQL containers have been upgraded.
- List container images to identify the old version that you need to remove:
- To remove the old image, type:
- Start RICOH ProcessDirector:startaiw
- Use your browser to log in to the RICOH ProcessDirector user interface and verify that it is working correctly.
- Remove the temporary directory:
/opt/infoprint/ippd/updatePostgresql.