DC 5.4 Installation/Upgrade

DC 5.4 Installation/Upgrade

This section provides information on how to install Digizuite DAM Center.

Before upgrading

If you are installing a new DC skip this step.

This app should be run to cleanup a table which is likely to have data errors. This is done as an app to avoid a potential long running SQL script as part of the DAM update process.

Running the app

Do a database backup first.

  1. Unzip the zip-file to a new folder.

  2. Edit appsettings.json and set the connectionstring to match that of the DC. It can be copy-pasted from the DC web.config.

  3. Open a command prompt in the folder made for the app. The only logging is done in prompt so this is the only way to see how it goes.

  4. Run CleanupAssetDigiupload.exe.

 

NB

You may need to update Dotnet manually if you are skipping many versions. This application is built using Dotnet 3

Questions

Why do I need to do this?

There is a table belonging to the core asset data which has data errors preventing normal load to memory cache which becomes a part of DC 5.4.

What happens with the asset data load if there are data errors?

The DC has a simple self-healing mechanism which will ensure normal operation when loading assets, however it will not fix all the errors.

Is this error found on any DC?

Yes. Significantly for any DC which has ever done any asset replace. The number of data errors scale linearly with the number of asset replaces.

Why is the error important to fix now if we always lived with it?

The load of asset data needs to be very quick and to achieve that we need a stricter control with the asset data structure.

Installing/Upgrading Digizuite

The Digizuie DAM Center is installed/Upgraded using Powershell. The package, provided by the Digizuite DAM Vendor, is a zip file with the following structure:

 

How to install/Upgrade

To install/upgrade the Digizuite DAM Center, do the following:

  1. Edit the Install.ps1 - See section 1.2 for a description of all the parameters

  2. Run the Install.ps1, as administrator, either from Powershell or the PowerShell ISE

 

ForceRepopulateAllSearches

If upgrading from any previous version to Digizuite DAM 5.4.0, the parameter ForceRepopulateAllSearches MUST be true

Variables

All the parameters that need to be filled out, are described in the table below

Variable

Mandatory

Default value

Example /options

Description

Variable

Mandatory

Default value

Example /options

Description

NewInstallation

True

$True

$False

This variable controls whether it is an update or a new installation (True = new installation, false = update)

PreStagedDatabases

True

$False

$True

This variable controls whether the installer should create the databases and user if it is a new installation. Set this to True only if the databases have been pre-stages, see section

InstallDigiMonitor

True

$True

$True

Boolean indicating if Digimonitor should be installed or not

Users

 

 

 

 

assetstreamUsername

True

 

assetstream

This variable is for the username of the storage user. See documentation, section 2.1

assetstreamPassword

True

 

SuperSecretPassword

This variable is for the password of the storage user.

digiadminUsername

True

 

digiadmin

This variable is for the username of the administrative user.

digiadminPassword

True

 

SuperSecretPassword

This variable is for the password of the administrative user

useActiveDirectory

True

$False

$True

This variable will setup the web site to require windows authentication. Do NOT set this to true on NewInstallations. Only use it on updates that are already set up for active directory.

Web

 

 

 

 

port

True

 

443

This is the port on which the web interface is installed in the IIS. Usually port 80 or 443

protocol

True

 

https

The protocol used for the web interface installed in the IIS. Typically HTTP or HTTPS

siteUrl

True

 

dam.company.com

The DNS for the web interface which is installed in the IIS

CorsAllowOrigins

True

@("$protocol://$siteurl")

@("https://dam.company.com", "https://mm.company.com")

A comma-separated list of allowed cors origins

Database

 

 

 

 

dbServerName

True

 

sqlserver

This is used for the SQL server name

dbUsername

True

 

sqluser

The user who has access to the database

dbPassword

True

 

SuperSecretPassword

The password of the database user

collation

True

SQL_Latin1_General_CP1_CI_AS

SQL_Latin1_General_CP1_CI_AS

The database collation

CompatabilityLevel

True

120

130

The compatibility level of the database. has to be either 120 or 130

dbName

True

 

company_dam

The name of the database to be installed/updated. It has to be called _dam in the end.

DamdbPassword

False

 

SuperSecretPassword

Password for database DAM database user. If blank it defaults to: 
admin_{#dbName}

DamRecoveryModel

True

SIMPLE

FULL

This variable defines what the recovery model of the DAM database should be

Locations

 

 

 

 

localStoragePath

True

C:\Storage

C:\Storage

The local storage path. This is only used if the storage is located on the webserver. Leave as "C:\Storage" if Azure storage is used

uncStoragePath

False

 

\\server\storage

The UNC storage path. If on the webserver, the installer creates the share itself. If remote, then it has to exist.

SetStorageFilesystemRights

False

$True

$true $false

Allow disabling update of Storage FileSystemRights IF DISABLED RIGHTS MUST BE HANDLED MANUALLY

logRoot

True

"C:\LogFiles\" + $siteUrl

D:\logFile\dam.company.com

This is the path on which the log files are written to

servicesFolder

True

C:\Program Files\Digizuite\" + $siteUrl

C:\Program Files\Digizuite\dam.company.com

This is the path on which all the binaries of the services are placed.

sitePath

True

"C:\Webs\" + $siteUrl

D:\Webs\dam.company.com

This is the path on which the files for the web interface are placed.

RabbitMQ

 

 

 

 

InstallRabbitMQ

True

$True

$True $False

Should RabbitMQ be installed

RabbitMQHost

True

 

dam.company.com

The hostname of the RabbitMQ Server

RabbitMQUsername

True

 

[aRabbitMqUsername]

Username for connecting to RabbitMQ Server 

Note: guest is not allowed anymore

RabbitMQPassword

True

 

 

Password for connecting to RabbitMQ Server

RabbitMQVirtualHost

True

 

 

VHost on RabbitMQ, normally set to dam database name, excluding _dam

RabbitMQStorage

True

 

C:\ProgramData\RabbitMQ

The location where RabbitMQ Database and logs are stored – only used when RabbitMQ is installed for the first time on the server!

RabbitMQPath

True

 

C:\Program Files

Parent folder, where the RabbitMQ Application is installed.

FirewallRemoteIpAddresses

True

 

@("192.168.1.0/24","172.16.1.22")

Ip address or address ranges that are allowed for rabbitmq and erlang ports, these are needed as Batch machines needs access to RabbitMQ. if an empty array are used all ip addresses are allowed = @()

IPV4 and IPV6 is possible, ranges only with CIDR notation WIKI CIDR

Solr and SearchService

 

 

 

 

solrUrl

True - if installSolr is True, else false

http://localhost:8983/solr/

http://localhost:8983/solr/

The URL which Solr should use

solrLocalPath

True - if installSolr is True, else false

C:\Services\SolrService

C:\Services\SolrService

Local path on which the Solr binaries are placed

solrUncPath

True - if installSolr is True, else false

$solrLocalPath

\\server\Services\SolrService

Unc path on which the Solr binaries are placed

ForceRepopulateAllSearches

True

$false

 

True = all searches will be repopulated, false = only changed searches will be repopulated

SMTP

 

 

 

 

smtpUsername

False

 

smtpuser

The username of the smtp user

smtpPassword

False

 

SuperSecretPassword

The password of the smtp user

smtpFromEmail

False

 

noreply@company.com

The e-mail which should be used to send from

smtpPort

False

587

587

The port used for the smtp server

smtpServer

False

 

smtp.company.com

The smtp server

Licenses

 

 

 

 

licenseName

True

 

Company

The license holder name

licenseSerialNumber

True

 

42

The serial number of the license

licenseApplication

True

 

-

The license for the main application

licenseAssets

True

 

-

The license for the assets

licenseUsers

True

 

-

The license for the users

licenseMetadata

True

 

-

The license for metadata

licenseOffice

False

 

-

The license for the office connector

licenseDamForSitecore

False

 

-

The license for the Dam For Sitecore connector

Azure