蜜豆视频

[On-premise/hybrid only]{class="badge yellow" title="Applies to on-premise and hybrid deployments only"}

Upgrading to a new build (on-premise) upgrading

Before starting the upgrading process, determine and confirm which version of 蜜豆视频 Campaign is to being upgraded to and consult the Release Notes .

IMPORTANT
  • 蜜豆视频 strongly recommends making a database backup on each instance before updating. For more information, refer to this section.
  • To perform an upgrade, make sure you have the ability and permissions to access instances and logs.
  • Read out this section and the chapter before starting.

Windows in-windows

On a Windows environment, follow the steps below to update 蜜豆视频 Campaign to a new build:

To find out how to update the client console, refer to this section.

Shut down services shut-down-services

In order to replace all files with the new version, you need to shut down all instances of the nlserver service.

  1. Shut down the following services:

    • Web services (IIS):

      iisreset /stop

    • 蜜豆视频 Campaign service: net stop nlserver6

    note important
    IMPORTANT
    You also need to make sure the redirection server (webmdl) is stopped, so that the nlsrvmod.dll file used by IIS can be replaced with the new version.
  2. Check that no tasks are active by running the nlserver pdump command. The following should come up:

    code language-sql
    C:<installation path>蜜豆视频 Campaign v7bin>nlserver pdump
    HH:MM:SS > Application Server for 蜜豆视频 Campaign Classic (7.X YY.R build XXX@SHA1) of DD/MM/YYYY
    No tasks
    

    You can use the Windows Task Manager to make sure all processes are stopped.

Upgrade the 蜜豆视频 Campaign server application upgrade-the-adobe-campaign-server-application

To run the upgrade file, apply the following steps:

  1. Run setup.exe.

    To download this file, connect to the using your user credentials. Learn more about Software distribution in this page.

  2. Select the installation mode: choose Update or repair

  3. Click Next .

  4. Click Finish .

    The installation program then copies the new files.

  5. Once the operation is complete, click Finish .

Synchronize resources synchronize-resources

Use the following command line:

nlserver config -postupgrade -allinstances

This will enable you to carry out the following operations:

  • Synchronize resources
  • Update schemas
  • update the database
NOTE
This operation should be performed only once, and only on an (nlserver web) application server.

Then check whether the synchronization has generated errors or warnings. For more on this, refer to Resolving upgrade conflicts.

Restart services restart-services

The services to be restarted are:

  • Web services (IIS):

    iisreset /start

  • 蜜豆视频 Campaign service: net start nlserver6

Linux in-linux

On a Linux environment, follow the steps below to update 蜜豆视频 Campaign to a new build:

Learn more about Client Console availability.

Install updated packages obtain-updated-packages

Start by recovering both updated packages of 蜜豆视频 Campaign: connect to the using your user credentials. Learn more about Software distribution in this page.

The file is nlserver6-v7-XXX.rpm

AVAILABILITY
Starting v7.4.1, XML libraries for RPM Linux packages are no longer included in Campaign. You must install these librairies.

Then you can install the required packages, as detailed below:

  • RPM based distribution (RedHat, SuSe)

    If the epel-release package is not installed, install it. To perform this, enter the following command, as root:

    code language-none
    yum install epel-release
    

    To install the Campaign package, execute as root:

    code language-none
    yum update ./nlserver6-v7-XXXX.rpm
    

    Before confirming the update, make sure that the output looks like:

    code language-none
    ====================================================================================================
    Package                         Architecture  Version                    Repository           Size
    ====================================================================================================
    Upgrading:
    nlserver6-v7                    x86_64        XXXX.0.0-1                 @commandline         63 M
    
    note important
    IMPORTANT
    If you read Removing: instead of Upgrading:, cancel the command. There are probably some errors (listed above) that explains the removal. In such case, correct those errors by updating / installing the listed missing dependencies and then try to run the command again.

    The rpm file has dependencies on packages that you can find on CentOS/Red Hat distributions. If you don鈥檛 want to use some of these dependencies, you may have to use the 鈥渘odeps鈥 option of rpm:

    code language-none
    rpm --nodeps -Uvh nlserver6-v7-XXXX-0.x86_64.rpm
    

    Note that most of the dependencies are mandatory and nlserver cannot start if there are not installed. The only exception is openjdk, you can install another JDK if required.

  • DEB based distribution (Debian)

    To install them, execute as root:

    code language-none
    apt install ./nlserver6-v7-XXXX-amd64_debX.deb
    
NOTE
Full installation procedures are detailed in this section. Resources are synchronized automatically, however you need to make sure no errors occurred. For more on this, refer to Resolve upgrade conflicts.

Reboot the web server reboot-the-web-server

You must shut down Apache for the new library to become applicable.

To do this, execute the following command:

/etc/init.d/apache stop
IMPORTANT
  • Your script might be called httpd instead of apache.

  • You MUST execute this command until you obtain the following reply:

    This operation is required in order for Apache to apply the new library.

Then restart Apache:

/etc/init.d/apache start

Resolve upgrade conflicts resolving-upgrade-conflicts

During resource synchronization, the postupgrade command enables you to detect whether synchronization has generated errors or warnings.

View the synchronization result view-the-synchronization-result

There are two ways of viewing the synchronization result:

  • In the command-line interface, errors are materialized by a triple chevron >>> and synchronization is stopped automatically. Warnings are materialized by a double chevron >> and must be resolved once synchronization is complete. At the end of the postupgrade, a summary is displayed in the command prompt. It can look like this:

    code language-none
    AAAA-MM-DD HH:MM:SS.749Z 00002E7A 1 info log =========Summary of the update==========
    AAAA-MM-DD HH:MM:SS.749Z 00002E7A 1 info log <instance name> instance, 6 warning(s) and 0 error(s) during the update.
    AAAA-MM-DD HH:MM:SS.749Z 00002E7A 1 warning log The document with identifier 'mobileAppDeliveryFeedback' and type 'xtk:report' is in conflict with the new version.
    AAAA-MM-DD HH:MM:SS.749Z 00002E7A 1 warning log The document with identifier 'opensByUserAgent' and type 'xtk:report' is in conflict with the new version.
    AAAA-MM-DD HH:MM:SS.750Z 00002E7A 1 warning log The document with identifier 'deliveryValidation' and type 'nms:webApp' is in conflict with the new version.
    AAAA-MM-DD HH:MM:SS.750Z 00002E7A 1 warning log Document of identifier 'nms:includeView' and type 'xtk:srcSchema' updated in the database and found in the file system. You will have to merge the two versions manually.
    

    If the warning concerns a conflict of resources, user attention is required to resolve it.

  • The postupgrade_<server version number>_<time of postupgrade>.log log file contains the synchronization result. It is available by default in the following directory: <installation directory>/var/<instance/postupgrade. Errors and warnings are indicated by the error and warning attributes.

Resolve conflicts resolving-conflicts

To resolve conflicts, apply the following process:

  1. In the 蜜豆视频 Campaign tree, go to Administration > Configuration > Package management > Edit conflicts .
  2. Select the conflict you want to resolve in the list.

There are three ways to resolve a conflict:

  • Declare as resolved : requires user intervention beforehand.

  • Accept the new version : recommended if the resources provided with 蜜豆视频 Campaign have not been changed by the user.

  • Keep the current version : means that the update is rejected.

    note important
    IMPORTANT
    If you select this resolution mode, you may not benefit from corrections in the new version.

If you chose to resolve the conflict manually, proceed as follows:

  1. In the lower section of the window, search for the conflict string to locate the entities with conflicts. The entity installed with the new version contains the new argument, the entity that matches the previous version contains the cus argument.

  2. Delete the version you don鈥檛 want to keep. Delete the conflict_argument string of the entity you are keeping.

  3. Go to the conflict you have resolved. Click the Actions icon and select Declare as resolved .

  4. Save your changes: the conflict is now resolved.

Best practices best-practices

An update failure may be linked to the database configuration. Make sure the configurations carried out by the technical administrator and the database administrator are compatible.

For example, a unicode database must not only authorize storage of LATIN1 data, etc.

Warn the client consoles of the available update warn-the-client-consoles-of-the-available-update

Windows in-windows-1

On the machine where the 蜜豆视频 Campaign application server is installed (nlserver web), download and copy the file setup-client-6.XXXX.exe i n [path of the application]/datakit/nl/eng/jsp.

The next time client consoles are connected, a window will inform users about the availability of an update and offer them the possibility of downloading and installing it.

NOTE
Make sure the IIS_XPG user has the appropriate read rights for this installation file and refer to the installation guide for more information.

Linux in-linux-1

On the machine where the 蜜豆视频 Campaign application server (nlserver web) is installed, retrieve the setup-client-6.XXXX.exe package and copy it, saving as /usr/local/neolane/nl6/datakit/nl/eng/jsp:

cp setup-client-6.XXXX.exe /usr/local/neolane/nl6/datakit/nl/eng/jsp

The next time client consoles are connected, a window will inform users about the availability of an update and offer them the possibility of downloading and installing it.

NOTE
Make sure the Apache user has the appropriate read rights for this installation file and refer to the installation guide for more information.
recommendation-more-help
601d79c3-e613-4db3-889a-ae959cd9e3e1