Idea
Discussion

Challenges in Implementing a Continuous Monitoring Plan - Delta Risk

 

Clio version 8.0.1.3 provides the ability to show and store the last compilation log from Creatio environment

 

clio last-compiltaion-log -e <ENV>

 

To store it locally, use the --log option

 

clio last-compilation-log -e <ENV> --log c:\log.txt

 

To display RAW output from the server, use the following

 

clio last-compilation-log -e <ENV> --raw

 

WerdienJihed, thanks for your idea and contribution to the Clio project 👍

 

P.S: In the next releases, we will extend the list of commands that will support store log to file for improving UX work with ci/cd pipelines

0 comments
Show all comments

Clio release version 6.1.0.15 allows you to save package states from your Creatio environment to the manifest file. You can use the following command to save settings to a file. 

clio save-manifest "C:\GitOps\production-manifest.yaml" -e production

 

Clio stores packages' Names and hash, which are based on ModifiedOn, Checksum, and Names of relative Schemas. For example

Also in the manifest file, Clio store feature states and addresses 

And web services addresses

If the manifest file does not exist, this command will create it. if the file already exists, Clio rewrites it. This behavior was created to organize the flow to store and monitor changes using Git.

 

 

0 comments
Show all comments
Idea
Discussion

 

Clio version 6.1.0.14 has been released. What`s new:

Added support for custom naming your composable application in Hubs. Now, you can specify aliases that Clio will use to find application releases in the file system. Example:

 

Environment:
  url: https://preprod.creatio.com
  authappurl: https://preprod.creatio.com/0/ServiceModel/AuthService.svc/Login
 
apps:
  - name: CrtCustomer360
    version: "1.5.2"
    apphub: MyAppHub
    aliases: ["Customer360"]
 
 
app_hubs:
  - name: MyAppHub
    path: "//MyAppHub/Apps"

 

Fix behavior for environment settings when -e is provided.

clio apply-manifest my-prod-manifest.yaml -e prod 

 

P.S: Next releases will add a feature for storing information about the list of packages from environment to manifest and ability transfer configuration between two Creatio instances

0 comments
Show all comments
Idea
Discussion

Clio release 6.1.0.8 extends the ability to configuare your Creatio environments in a GitOps manner. Now, you can configure the URL address of WebServices in the manifest file.

environment:
  url: https://production.creatio.com
 
webservices:
  - name: GoogleAnalytics
    url: "https://google.ca"
  - name: FaceBookAPI
    url: "https://facebook.com/api"
 
app:
# list of applications
 
app-hubs:
# list of application stores
 
settings:
# list of sys-settings and value
 
features:
# list of features

Also, we extend the Clio commands and add abilities to see all web services, and their addresses

clio get-webservice-url -e <environment-name>

Improvements: From release 6.1.0.8, you can set the working directory for Clio via the Environment variable CLIO_WORKING_DIRECTORY. 

<your workplace>/tasks/set-clio-working-directory "c:\Temp\ClioWorkDir"

It helps avoid problems with CI\CD pipelines when you can't access default temp directories.

 

COMING SOON: In the next release, a "save-configuration-to-manifest" command will be released

0 comments
Show all comments

Clio version 6.1.0.3 allows managing features on the Creatio instances via a manifest file.

Add section features to the manifest file

environment:
  url: ************************
  authappurl: *****************
 
features:
  - code: "FEATURE CODE 1"
    value: false
    users_values:
      "User1": true
      "Role 1": true
      "User2": false
  - code: "FEATURE CODE 2"
    value: false
 
apps:
  # list of installed apps
 
app_hubs:
 # connected app hubs

Allowed to set a default value for all users or specify it for each user/role,

To apply manifest to your environment, use the following command.

clio apply-manifest C:\my-configuration.yam -l user-p pwd

P.S Managing SysSettings and WebServiveUrls via manifest coming soon

0 comments
Show all comments

Clio release version 6.0.2.38 provides the functionality to set up a BASE URL for one Web Service on different environments (development, testing, etc). Use the following command

clio set-webservice-url WEB_SERVICE_NAME BASE_URL -e ENVIRONMENT_NAME

It can be helpful to use in automatic testing pipelines. 

 

P.S Also, we provide a new stable release of Clio Explorer version 2.0.55

0 comments
Show all comments

Clio release 6.0.2.36 provide new functionality to manage windows required feature

Now you can check/install/uninstall all this components using next command

# YOU NEED RUN CLIO AS ADMINISTRATORS
# Check
clio manage-windows-features -c
# Install
clio manage-windows-features -i
# Uninstall
clio manage-windows-features -u

For example

P.S: To simplify manual work with appsettings.json and checking structure shema.json file was updated

1 comments

Great work :)

Show all comments

Hi, clio release 6.0.2.33 provides function to restore database from backup file. This function helps developers recover dev environments

clio restore-db --db-name DB_NAME --db-working-folder DB_SERVER_FOLDER -f BACKUP_FILE_PATH --db-server-uri mssql://USERNAME:PASSWORD@127.0.0.1:1433

you can configure environments for simplify run this command

clio restore-db -e ENVIRONMENT_NAME

follow the link for details 

P/S: this command only supports MSSQL database, PosgreSQL and Clio explorer support in next releases

0 comments
Show all comments

Hi All,

 

While migrating a package from dev to staging environment, encountering this error message which is logged from SysUsrProjectsLog - (UsrProjects - is a custom object and Change log is enabled ).

The error message from the log file is as below:

Error occurred while saving schema database structure "SysUsrProjectsLog" in package "". UId 00000000-0000-0000-0000-000000000000: Error "ALTER TABLE ALTER COLUMN failed because column 'UsrNationalPriority' does not exist in table 'SysUsrProjectsLog'." occurred when updating schema structure. SQL script text: "ALTER TABLE [dbo].[SysUsrProjectsLog] ALTER COLUMN [UsrNationalPriority] NVARCHAR(250) NOT NULL"
2022-03-31 14:08:39,621 Terrasoft.Core.DB.DBMetaActionExecuteException: Error "ALTER TABLE ALTER COLUMN failed because column 'UsrNationalPriority' does not exist in table 'SysUsrProjectsLog'." occurred when updating schema structure. SQL script text: "ALTER TABLE [dbo].[SysUsrProjectsLog] ALTER COLUMN [UsrNationalPriority] NVARCHAR(250) NOT NULL" ---> System.Data.SqlClient.SqlException: ALTER TABLE ALTER COLUMN failed because column 'UsrNationalPriority' does not exist in table 'SysUsrProjectsLog'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Polly.Policy.<>c__DisplayClass119_0`1.<Execute>b__0(Context ctx, CancellationToken ct)
   at Polly.Policy.<>c__DisplayClass129_0`1.<ExecuteInternal>b__0(Context ctx, CancellationToken ct)
   at Polly.Policy.<>c__DisplayClass103_0.<NoOp>b__1(Context ctx, CancellationToken ct)
   at Polly.NoOp.NoOpEngine.Implementation[TResult](Func`3 action, Context context, CancellationToken cancellationToken)
   at Polly.Policy.<>c.<NoOp>b__103_0(Action`2 action, Context context, CancellationToken cancellationToken)
   at Polly.Policy.ExecuteInternal[TResult](Func`3 action, Context context, CancellationToken cancellationToken)
   at Polly.Policy.Execute[TResult](Func`3 action, Context context, CancellationToken cancellationToken)
   at Polly.Policy.Execute[TResult](Func`1 action)
   at Terrasoft.DB.MSSql.MSSqlExecutor.FailoverExecute[TResult](DbCommand command, Func`1 func)
   at Terrasoft.Core.DB.DBExecutor.<ExecuteCommandAsync>d__96`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Terrasoft.Core.DB.DBExecutor.ExecuteCommand[TResult](Func`2 commandExecutionCallback, String sqlText, QueryParameterCollection queryParameters, CancellationToken cancellationToken)
   at Terrasoft.Core.DB.DBExecutor.InternalExecute(String sqlText, QueryParameterCollection queryParameters)
   at Terrasoft.Core.DB.DBMetaAction.QueryExecute()
   at Terrasoft.Core.DB.DBMetaAction.Execute(ActionsConfig actionsConfig)
   at Terrasoft.Core.DB.DBMetaActionCollection.Execute(ActionsConfig actionsConfig)
   --- End of inner exception stack trace ---
2022-03-31 14:08:39,621 Error occured while performing operation on "" item, UId = .

 

The field which is causing the problem is called "UsrNationalPriority" lookup field and the functionality is similar to Manager Mood in Opportuntity page. Below link was followed to develop the functionality:

Add Manager Mood from Opportunities to Accounts | Community Creatio

 

Appreciate your suggestion on where could be the issue as the functionality implemented is working as expected except that the field is not getting added in the Changelog relevant db table.

 

Thanks

Anupama

 

Like 0

Like

1 comments

Hello Anupama,

 

Thank you for also registering case SR-01107137, we will duplicate the solution here it is found.

 

Best regards,

Dan

Show all comments

Hello,



I'm trying to deploy a custom package to a cloud env. It is created by CLIO and basically it is almost empty. I have created 1 object through the Section wizard with 1 integer field. Then exported the package from my local env as a .zip file.



My local env is vers "7.17.4.2265", while I'm trying to install it on "7.17.3.1377" (our main test env) and on trial version env "7.18.0.1353".





When I try to install it via the Installed applications (I've exported the package), it cannot install properly and shows this in the installation logs:



Errors and (or) warnings occurred while compiling configuration dll

Error : Errors occurred while compiling configuration. See logs for more details.

When application installed, an error(s) occured




or this:



Compiling configuration dll

Errors and (or) warnings occurred while compiling configuration dll

Error MSB1025: An internal failure occurred while running MSBuild.

When application installed, an error(s) occured

Like 0

Like

1 comments

Dear Georgi,



We do not recommend installing packages from different instance versions, especially if you are installing packages from 7.14 to 7.13. This can cause the mentioned errors and issues.

Moreover, we highly recommend asking support to install the packages to the instances (if we are talking about prod and pre-prod).



Best Regards,

Ivanna Yatsura

Show all comments