Upgrading the PostgreSQL database
Keep your system secure and compatible by updating to the latest supported PostgreSQL
version. This ensures you have the newest features, performance improvements, and
security fixes.
- 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 - Copy the
updatePostgresql-nnn.zippackage, where nnn is the build number, to/opt/infoprint/ippd/updatePostgresql. - To generate the MD5 checksum of the package, open a command prompt and enter:md5sum /opt/infoprint/ippd/updatePostgresql/updatePostgresql-nnn.zip
Compare the result with the value provided on the RICOH Software website. If the values do not match, download the package again.
- 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 of PostgreSQL. We recommend removing the old images to clean up the system.
- 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.