Skip to main content
Documentation & User Guides | Fotoware

Upgrading from Feature Release 19 to Feature Release 20

DRAFT article explaining how to upgrade from Feature Release 29 to Feature Release 20.

Upgrading from FR 19 to FR 20

NoteThis is a draft article that is subject to change. 

Prerequisite

Backup customer data before starting the upgrade. For more information, see Backing up the FotoWeb databases.

Uninstalling Feature Release 19

Uninstall Feature Release 19 software using the standard installer, for example, in Windows Control Panel. The uninstaller stops all FotoWeb services, including the FotoWeb MongoDB server.

 

Upgrading MongoDB version from 4.4 to version 8.x

  1. Download MongoDB versions 5, 6, 7 and 8. You can do so from here, for example:  Download MongoDB Community Server

  2. Install MongoDB versions 5, 6, and 7 without installing them as Windows Services.

  3. In a cmd shell, run: 
"c:\Program Files\MongoDB\Server\5.0\bin\mongod.exe" \
--dbpath=c:\ProgramData\FotoWare\FotoWeb\Operations\MongoDBData\
  1. In mongo.exe/Robo 3T/Compass, run the command:
db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } )
  1. Stop the mongod.exe process (CTRL+C)

  2. Repeat the steps above with MongoDB version 6 and 7:

"c:\Program Files\MongoDB\Server\6.0\bin\mongod.exe" \
   --dbpath=c:\ProgramData\FotoWare\FotoWeb\Operations\MongoDBData\
db.adminCommand( { setFeatureCompatibilityVersion: "6.0" } )

Note: The command for version 7 is different:

db.adminCommand( { setFeatureCompatibilityVersion: "7.0", confirm: true } )
  1. Uninstall MongoDB versions 5, 6 and 7.

  2. Install MongoDB version 8. DO choose to install as a service.

  • Set the service name to FWMongoDB.
  • Set the Data Directory to c:\ProgramData\FotoWare\FotoWeb\Operations\MongoDBData\.
  • Set the Log Directory to c:\ProgramData\FotoWare\FotoWeb\Operations\Logs\MongoDB\.
  1. Make sure the account that is running the MongoDB Windows service has full permissions on c:\ProgramData\FotoWare\FotoWeb\Operations\MongoDBData\.

  2. Start the MongoDB version 8 service.
  3. In mongo.exe/Robo 3T/Compass, run the command:
db.adminCommand( { setFeatureCompatibilityVersion: "8.0", confirm: true } )

Configuring FotoWeb and Index Manager

  • In system.settings or in the FotoWeb Config App, set the MongoDB connection string to match what you set up for the service when you installed MongoDB version 8. Note that this is repeated two places in system.settings.
  • In the Index Manager config app, set the MongoDB connection string to match what you set up for the service when you installed MongoDB version 8.
  • We recommend using the default port 27017. The old FotoWeb port 7200 is no longer allowed.

Installing the new software

  • Upgrade to the latest version of Index Manager.
  • Install the FotoWeb FR20 release.
  • Was this article helpful?