MM5.4 Updating MM5

Upgrading from MM4 to MM5

Here follows a short description of what configuration to focus on when upgrading from Media Manager 4 to Media Manager 5.

  • Filters should be re-added to existing searches. 
    • Labels should be added for the parameterName. If in doubt on this name, it will be logged to the F12 console in MM5, if it doesn't exist. 
    • For booleans a label should be added for 'ASSET_LIST_FACET_' + parameterName, again check the console for the exact name, if in doubt. 
      • The label text should look like this: {value, select, 1 {YourTrueText} 0 {YourFalseText}}
  • AssetInfo search should be updated.
    • Labels should be added for the id of the asset info parameter. Check the console for the exact name, if in doubt. 
  • Config Manager settings

Updating the version of Media Manager 5

Step 1

During the installation process there are changes applied to the DAM database. For this reason it is strongly recommended to back up the database for the DAM Center before proceeding with running the update scripts. The back-up process is described in the installation guide.

Step 2

Make a safety copy of Media Manager's website folder and then copy new content into the folder.

In order to do this, follow these steps:

  1. Zip the website folder that contains MM5's information.
  2. Delete the content of website folder. Alternatively, you can also create a temporary folder called "old" and move all the files from the website folder into it. 
  3. Save the old appsettings.json file in order to easily copy information into the new configuration file. If you choose to keep the old file in the same location, rename it to appsettings.json.old.
  4. Copy information from the provided folder named "MediaManager.(version)" into the newly emptied website folder.

Step 3

Open both the old and the new configuration file in Notepad++ in order to easily compare information. 

Website configuration is identical to the one described in Step 5 of the installation guide. Rather than finding the information again, though, copy them from the old appsettings.json file.

The only information that you need to change is Product Version.

Save the changes.





Where to copy value fromCopy Into
Connection Stringweb.config (of the existing dam web site)appsettings.json (of your db.upgrade folder)
ApiUrlweb.config (full http/https URL of DAM)appsettings.json (of your db.upgrade folder)

















Step 5

Fill out the update scripts. If you have saved the script from the initial installation/most recent update, you can use it to copy the information.

Save the changes in the script and run it as administrator.

Step 6

Recycle the site by using Internet Information Services (IIS) Manager:

Step 7

Test the site by performing basic actions such as uploading and downloading assets.