CoreOne® Suite - Update auf Release 9.1 Stockhorn

CoreOne® Suite - Update auf Release 9.1 Stockhorn

Introduction

This document describes the update of the CoreOne Suite to the version Release 9.1.X

 

Preparation

Before you start the update all system requirements need to be updated/installed on the server:

Database installation

Check if you need to update your database to the right required version: System requirements Database Service

Database sql mode

Make sure that the SQL mode ONLY_FULL_GROUP_BY is not active.
You can check that with the following SQL statement: select @@sql_mode;

If it’s in the result, edit your my.ini file for MariaDB or MySQL and remove this SQL mode from the list.

ASP.NET Core 8.0 Runtime / Windows Hosting Bundle

The installation needs a .NET update as well.

SQL execution check

Check if the SQL scripts for the update are working with the current data in the database.

  • Backup all databases

  • Restore them locally or on another server where you can test it

  • Run the SqlVersionExecutor Tool to check if there are any errors

Update CoreOne Suite (All-In-One)

Step 1 - Start the installer as administrator

Navigate to the folder with the installer.

Right click the installer and select “Run as administrator”.

Only have one installer open at any given time. This is especially relevant in a distributed system. Start with updating the COS on the 1st backend server, then the 2nd and so forth, then update your frontend servers.

Step 2 - CoreOne Suite Installer

On the first page of the installer, general information is displayed. Continue with a click on the button “Next”.

image-20240927-122806.png

Step 3 - Accept licence agreement

Accept the license agreement with a selected checkbox and continue with the button “Next”.

image-20240927-122839.png

Step 4 - Feature selection

Select the desired components to install. For a standalone installation we select all features except the system-connector: 

  • CoreOne Application Services

    • The CoreOne Application Services includes the CoreOne System Connector

  • CoreOne Authentication Services

    • CoreOne Authentication Services (IDP)

  • CoreOne Self Services

    • The Self Service Portal

  • CoreOne System Connector Service

    • CoreOne System Connector (only necessary if installed on a dedicated server)

  • CoreOne Web Services

    • CoreOne Web Services (Admin UI old/v2)

  • CoreOne Workflow Dashboard

    • CoreOne Workflow Dashboard (Web UI)

  • CoreOne Workflow Runner

    • CoreOne Workflow Service

 Continue with the button “Next”.

image-20240927-123655.png

Step 5 - CoreOne Application Service user credentials

The user which the Windows service will be started with.

 System accounts:

  • Pre-defined system accounts to choose from
    -> no need for a username or password

  • User name:

    • Username for a dedicated user account

  • Password:

    • Password for the dedicated user account

  • No Password checkbox:

    • If the given username doesn’t need a password, for example if it’s a managed service account, you can check this box

 If no dedicated user was created, use LocalSystem and continue with the button “Next”.

 If a dedicated user is provided, make sure its able to “logon as a service”.

Verify the user with the “Check User” button.

Continue with the button “Next”.

image-20240927-123826.png

Step 6 - MySQL settings

Provide the connection-parameter for the MySQL server.

 Server:

  • Server where MySQL is running (IP address or hostname)

  • Port:

    • Port of the MySQL server (default 3306)

  • User:

    • User for the MySQL server (has to have administrative and grant privileges)

  • Password:

    • Password for the MySQL server

 Test the connection with “Check connection”.

Continue with the button “Next”.

image-20240927-123857.png

Step 7 - MySQL settings - readonly

Check the checkbox and fill out the connection parameters if you want to use other connection parameters for a readonly connection.

image-20240927-130508.png

Step 8 - MySQL Backup setting

Set the MySQL backup options.

  • Find MySql Dump:

    • Opens the file explorer to choose the MySql dump executable

  • Backup location:

    • Opens file explorer to choose a location where the backup will be saved

  • Let me install without doing backup (NOT RECOMMENDED)”:

    • If checked, the installation will continue without creating a database backup

  • “Rollback after failed database installation (RECOMMENDED)”:

    • If checked, the installer will rollback the database if it should fail

Continue with the button “Next”.

image-20240927-130755.png

Step 9 - CoreOne Application Service configuration

Set the configurations for the CoreOne Application Service. 

  • Load CoreOne System Connectors:

    • If check mark is set, load the CoreOne System Connectors

  • Root log level:

    • Log4Net Logger level of root logger

  • NHibernate log level:

    • Log4Net Logger level of NHibernate logger

  • NHibernate SQL log level:

    • Log4Net Logger level of NHibernate SQL logger

  • iTsense moving log level:

    • Log4Net Logger level of iTsense moving logger

  • iTsense DataProviderFactory log level:

    • Log4Net Logger level of iTsense DataProviderFactory logger

  • iTsense RouterService log level:

    • Log4Net Logger level of iTsense RouterService logger

  • iTsense BackendCommon log level:

    • Log4Net Logger level of iTsense BackendCommon logger

  • Communication certificate:

    • SSL certificate for internal communication

  • SSL cert CN for API (DB setting):

    • SSL certificate for the backend API

  • Backend Base URL for API:

    • URL where the Backend API is hosted

  • Elsa URL for API:

    • URL where the Workflow Runner API is hosted

  • Backend client secret:

    • The client secret for the backend (cos_applicationservice)

  • System Connector Authentication Api Url:

    • URL for the Authentication API

 

Continue with the button “Next”.

image-20240927-130948.png

Step 10 - Select certificate (CoreOne System Connector Service Host-Certificate)

Choose a certificate for the CoreOne System Connector Service Host.

Continue with the button “Next”.

image-20240927-134833.png

Step 11 - Select certificate (CoreOne System Connector Service Client-Certificate)

Choose a certificate for the CoreOne System Connector Service Client.

Continue with the button “Next”.

image-20240927-134853.png

Step 12 - CoreOne Authentication Service configuration

Set the configurations for the CoreOne Authentication Service. 

  • Certificate type:

    • Choose a certificate type for the CoreOne Authentication service:

      • Self generated RSA key

      • Self generated Certificate

      • Windows Store Certificate

  • Certificate store*:

    • Choose a certificate in the Windows certificate store. This dropdown is only available if the certificate type is set to “Windows store certificate”

  • Backend api url:

    • URL where the backend api is hosted

  • Backend api v2 url:

    • URL where the backend api v2 is hosted

  • Self-service url:

    • URL of the self-service portal, used for the “My data” links on the Admin UI

 

Continue with the button “Next”.

image-20240927-142228.png

Step 13 - CoreOne Web Service configuration

Set configurations for the CoreOne Web Service.

 Auto refresh token:

  • Enable or disable the automatic renewing of the authentication token before it expires

  • Enable inactivity logout:

    • Enable or disable automatically logging out a user after a certain period of inactivity

  • Inactivity logout timespan in minutes:

    • Period of time in minutes for the user to log out due to inactivity (if enabled)

  • Login authority:

    • URL for the login authority, usually the URL where the Auth server is hosted

  • Application Service hostname:

    • The hostname/URL where the application service is hosted

  • Communication certificate:

    • Communication certificate for the CoreOne Web Service

  • Backend api url:

    • URL of the backend api

  • Backend api v2 url:

    • URL of the backend api v2

  • Backend health-check endpoint url:

    • URL of the backend health-check endpoint

 

Continue with the button “Next”.

image-20240927-142429.png

Step 14 - CoreOne Admin UI 2.0 configuration

Configuration for the new Admin UI 2.0

  • Authentication server url:

    • URL to the authentication server

  • API endpoint url:

    • URL to the backend API

  • Client secret:

    • Generate a new secret or set your own for the Admin UI 2.0 client

image-20240927-142537.png

Step 15 - CoreOne Self-Service configuration

Set configurations for the CoreOne Self-Service.

  • Authentication server url:

    • URL of the authentication server

  • Frontend web server url:

    • URL of the frontend web, used to navigate from the Portal to the Admin UI

  • API endpoint url:

    • URL of the api endpoint

  • Backend api v2 url:

    • URL of the backend api v2

  • Disabled pages: (separated by new line):

    • Manually disable certain pages

  • Disabled actions: (separated by new line):

    • Manually disable certain actions

  • Force reauthentication after (seconds):

    • Set reauthentication timer in seconds

  • Logout after (minutes):

    • Set timer for logout in minutes

  • Title prefix:

    • Set a prefix title

  • User notification interval (seconds):

    • Sets the interval in seconds for polling new notifications on the self-service portal

  • Client secret:

    • Generate a new secret with the button or set your own for the self-service client

  • Callback enabled:

    • If checked, callback is enabled and shows the callback box in the portal to navigate the user back to the original site

  • Callback allowed urls:

    • For each line, an URL can be defined that is allowed to be used in the callback

  • Callback allowed urls regex:

    • For each line, an URL with a regex pattern can be defined that is allowed to be used in the callback

 

Continue with the button “Next”.

image-20240927-142817.png

Step 16 - CoreOne Workflow Runner user credentials

Set user credentials for the CoreOne Workflow Runner.

 System accounts:

  • Account for the operating system-defined purpose

  • User name:

    • User name for the system account, not needed if system account is set

  • Password:

    • Password for the system account, not needed if system account is set

  • No password check box

    • If set, no password is required, for example for managed service accounts

 

If a dedicated user is provided, make sure its able to “logon as a service”.

Verify the user with the “Check User” button.

Continue with the button “Next”.

image-20240927-134925.png

Step 17 - CoreOne Workflow Runner settings

Enter settings for the CoreOne Workflow Runner.

  • Use Redis Distributed Locking:

    • If enabled, Redis Distributed Locking provides a way to implement distributed locks in the system, allowing for synchronized access to shared resources

  • Use Redis Distributed Cache Signal:

    • If enabled, Redis Distributed Cache Signal invalidate cached data in the system by signaling all instances to clear their cache

  • Redis connection string:

    • URI-like string used to specify the connection details required for a client to connect to the Redis database

  • Use RabbitMq:

    • If enabled, RabbitMQ enables communication between systems by sending and receiving messages between applications and services

  • RabbitMq connection string:

    • URI-like string used to specify the connection details required for a client to connect to the RabbitMq broker

  • RabbitMq Queue Prefix:

    • Prefix for better management in queues

  • API Certificate:

    • Certificate for the API

  • Faulted Workflow Notification WorkflowDefinitionId:

    • Identifier to specify the ID of the workflow definition that should be notified in case of a fault or failure in the workflow execution.

  • SmtpOptions {json config}:

    • Configurations for the Smtp formatted in json syntax

  • Authority:

    • URL for authority site

  • API Base Url (apiv2):

    • URL for the API Base (apiv2)

  • Identity Prefix:

    • Prefix for identity

  • Time to live in days for instances:

    • How long workflow instances remain in the database after they’ve been executed

  • Load DMS activites:

    • If checked, loads the DMS (Document management system) activites in the workflow runner and the dashboard

 

Continue with the button “Next”.

image-20240927-134957.png

Step 18 - CoreOne Workflow Runner settings (pt2)

Additional settings for the workflow runner

  • Encrypt workflow instances:

    • If checked, encrypts the workflow instances in the database to protect sensitive data

  • Encryption Key (32):

    • Generate a key with the button or enter your own key (32 characters)

  • Client secret:

    • Generate a secret with the button or enter your own client secret for the workflow runner client

  • Hangfire database user password:

    • Generate a password with the button or enter your own, used for the movingHangfire database user

  • Elsa database user password:

    • Generate a password with the button or enter your own, used for the movingElsaWorkflow database user

image-20240927-135655.png

Step 19 - CoreOne Workflow Dashboard settings

Set the configurations for the Workflow Dashboard.

  • Elsa Server Base Url:

    • URL where the Worklow Runner is hosted

  • Authorization Server:

    • URL of the Auth server

  • WF-Service Secret:

    • Secret for access
      If the Workflow Runner is installed at the same time, this field will be automatically filled with the generated secret and is not editable.

 

Continue with the button “Next”.

image-20240927-140218.png

Step 20 - Check Prerequisites

Let the installer check all the needed prerequisits.

If all checks are successful, all the tiles will be green and you can continue with the button “Next”.

image-20240927-140249.png

Step 21 - Ready for installation

Continue with the button “Next”.

Let the installer install the software.

image-20240927-140435.png

Step 22 - Setup complete

If all the prerequisits, settings and connections were successful, all the tiles will be green and the message “Setup succeeded!” will be shown.

Should any part during the installation fail, the affected tiles will be red to indicate what failed. Check the installer log files to find out what failed.

AdminUI v2

Version 9 introduces the new Admin UI v2 which currently offers a subset of the functionality of the old UI. It’s reachable as a subsite of the old Admin UI with the URL prefix /v2.

 

© ITSENSE AG. Alle Rechte vorbehalten. ITSENSE und CoreOne sind eingetragene Marken der ITSENSE AG.