Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 3: Installation Scripts

...

Preparation of the configuration file

In the folder named "MediaManager.DbUpgrade" locate the configuration file named "appsettings.json". Right-click it and select "Edit with Notepad++". This is what you will see:

...

Info

Here is the description of how you retrieve most of the information about the DAM Center:

  1. Locate the folder containing your DAM Center in "Webs" and open it.
  2. Find the file called "web.config".
  3. Open the file by right-clicking it and selecting "Edit with Notepad++"
  4. Remember to not make any chages changes to this file.

Here is the description of all the configuration parameters:

Parameter nameDescription
ConnectionString

This is database connection string. It must include the SQL server IP/Hostname, database name for the DAM Center, and the credentials of a SQL Server user with the rights to edit the given database.

This information can be found in the DAM Center's configuration file. You need to copy information from the field called "connectionString"

runGenerateSearchForAll

This determines, whether all Solr searches should be repopulated after the installation/update.

Default: true

apiUrl

The URL to the DAM Center's external API. It is formed by the base URL of the DAM Center and ending "/dmm3bwsv3/". Remember to include the character "/" at the end!

Example: https://demo3dc.digizuite.com/dmm3bwsv3/

apiUsername

This is the name of the system user.

This information can be found in the DAM Center's configuration file. You need to copy information from the section "digiConfig".

Default: System

apiPassword

This is the MD5 hash of the password for the user set in apiUsername.

This information can be found in the DAM Center's configuration file. You need to copy information from the section "digiConfig".

versionGuid

This is the desired GUID for the Media Manager 5 configuration. If there is no Media Manager 5 installed on the DAM Center, this field can be any valid GUID. If Media Manager 5 is already installed and the update is performed, the field must use the Media Manager 5 version GUID from the DAM Center. 

The GUID you use, has to point at the root of the Media Manager configuration version. 

Warning

If Media Manager 4 is installed on the DAM Center, the version GUID for Media Manager 5 must be unique from it!


usingEmbeddedScripts

This determines, whether the executable uses the default embedded SQL scripts for the installation, or if it looks for SQL scripts in the installer folder.

Default: true

timeoutInSeconds

This is the maximum time to wait before timing out any request. If runGenerateSearchForAll is used, it is recommended to set the value to 1800.

Default: 1800

Availability

This is the Guid of metadata field that controls publishing.

Default: 74A5A102-A310-4BB7-9E84-0B14C36436B2

...


Running the installation script

Once the config file is set up correctly, simple execute the dbthe db-upgrade.exe file, to have the upgrade happen.

...

Before the Media Manager 5 can be used, it needs to have some base configuration set, such as which DAM Center it should use. This configuration can be found in the "appsettings.json" file. This file was part of the content that you have copied into the folder containing Digizuite™ Media Manager during the preparations.

...