Hello,

 

I'm following this tutorial Lesson 1 - Installing clio (youtube.com) on VS Code, but when I get to the clio apps step I get this error:

 

[ERR] - Environment with key 'dev' not found. Check youre config file or command arguments.

Any ideas what I'm missing?

Thanks,
Jose

Like 0

Like

3 comments

Basically, clio creates it's own config file where it writes the configured environments to (on windows typically stored at C:\Users[username]\AppData\local\creatio\clio\appsettings.json). I believe by default it has an environment named "dev", but you can remove that. Can you give more info on the command you're running when you get the error? 

Ah, missed you said you're running clio apps. Try opening the config file I mentioned and change "ActiveEnvironmentKey" from "dev" to blank ""

Ryan Farley,

Thanks Ryan. That worked.

Show all comments

I'm faced with the problem that I can't get creatio packages from Clio Explorer. I feel that the problem is that when I open https://localhost:91/0/Shell/?simplelogin=true I get a 404 status code. The problem is specific to this instance. On the other instances where the packages are available, this link is available. Why is the request result 404?

 

Like 0

Like

1 comments

Hello,

Please try to log in to the application with your parameters.
Also, try running other commands, they may indicate errors:

clio pull-pkg <PACKAGE_NAME> -e <ENVIRONMENT_NAME>

Show all comments

 

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

Clio explorer this is extension for VS Code, which provides convenient user interface over clio. Both tools are compatible with MacOS and Linux.

 

P.S. Also we added in clio 6.0.2.8 basic yaml for GitLab CICD pipelines

0 comments
Show all comments

Hi there!

I'm trying to run clio in Docker on Ubuntu Server 20.04.

Following instructions provided here - https://github.com/Advance-Technologies-Foundation/clio#installation-an…, I have downloaded the source code, and executed "docker build -f ./install/Dockerfile -t clio ."

But I got unexpected output, and, seems, clio container did not even started:



 

DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/
 
Sending build context to Docker daemon  2.899MB
Step 1/13 : FROM mcr.microsoft.com/dotnet/sdk:3.1 as base
 ---> 1e8401d05dea
Step 2/13 : WORKDIR /app
 ---> Using cache
 ---> 18f52a48e0a5
Step 3/13 : FROM mcr.microsoft.com/dotnet/sdk:3.1 AS build
 ---> 1e8401d05dea
Step 4/13 : WORKDIR /app
 ---> Using cache
 ---> 18f52a48e0a5
Step 5/13 : COPY clio clio
 ---> Using cache
 ---> fa0fb42a25ec
Step 6/13 : COPY clio.sln clio.sln
 ---> Using cache
 ---> d8527c9fcc93
Step 7/13 : WORKDIR /app/clio
 ---> Using cache
 ---> f4ae3f90ec62
Step 8/13 : RUN dotnet publish -c Release -o /app/published
 ---> Running in 432ba7ef38dd
Microsoft (R) Build Engine version 16.7.3+2f374e28e for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
 
  Determining projects to restore...
/app/clio/clio.csproj : error NU1202: Package DocumentFormat.OpenXmlSDK 2.0.0 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package DocumentFormat.OpenXmlSDK 2.0.0 supports: net35 (.NETFramework,Version=v3.5)
  Failed to restore /app/clio/clio.csproj (in 6.4 sec).
The command '/bin/sh -c dotnet publish -c Release -o /app/published' returned a non-zero code: 1

 

Like 1

Like

2 comments

Anybody, please, help!

Hi!

 

Based on the issue you are experiencing with running Clio Docker on Ubuntu 20.04, it seems to be related to compatibility or configuration problems. To address this, I would recommend following these steps:

  1. Make sure you have met the minimum system requirements for running Clio Docker on Ubuntu 20.04. Check the official documentation for any specific prerequisites.

  2. Double-check that you have correctly followed the installation steps outlined in the documentation or guide provided by Clio.

  3. If the issue persists, I suggest visiting the Clio GitHub repository for more information and possible solutions. You can access the repository at the following link: GitHub Repository. Please search for any existing issues that match your problem or consider opening a new issue to report your specific problem. GitHub representatives and the community can provide further assistance and guidance in troubleshooting the issue.

Remember to provide as much detail as possible when reporting the issue, including any error messages or logs you have encountered. This will help the GitHub community understand and address your problem more effectively.

 

I hope this helps.

Show all comments

Hi everyone! We have released a new version of Clio and Clio Explorer.

What's new:

  1. .NET 6 is supported and Clio is now compatible with iOS on M series processors.

  2. OAuth settings are supported in the UI for easy connection with the Creatio trial version.

  3. Quick access to all Clio settings in Clio Explorer for advanced users.

  4. Support for working with auto-generated code in the package assembly for local development in workplaces.

3 comments

Links on Clio explorer and clio

You might want to reclassify as "Article" :)

Clio explorer seems awsome. Kudos to the team

Show all comments

Hi Community! 

I'm expericing an error when using clio utility to run SQL in SQL Server or PostgreSQL cloud enviroments

Below the error:

System.Net.WebException: The remote server returned an error: (404) Not Found.

   at System.Net.HttpWebRequest.GetResponse()

   at Creatio.Client.ATFWebRequestExtension.GetServiceResponse(HttpWebRequest request)

   at Creatio.Client.CreatioClient.ExecutePostRequest(String url, String requestData, Int32 requestTimeout)

   at Clio.Common.CreatioClientAdapter.ExecutePostRequest(String url, String requestData, Int32 requestTimeout)

   at Clio.Common.SqlScriptExecutor.Execute(String sql, IApplicationClient applicationClient, EnvironmentSettings settings)

   at Clio.Command.SqlScriptCommand.SqlScriptCommand.Execute(ExecuteSqlScriptOptions opts)

 

Everything works as expected in local enviroments. I tried using the sql command directly or using sql file.

I found this article (https://community.creatio.com/questions/clio-error-when-running-sql-que…) with the same issue but the answer suggest to try the same in local enviroments. I did it and it works in local enviroments.

 

Regards.

Like 0

Like

1 comments
Best reply

Hi Uriel,

 

Before executing the SQL query in the cloud-based app you need to also install clio-gate that is not installed in the cloud apps by default. To do this execute the following command in clio:

 

clio.exe install-gate -e DemoTest

 

where DemoTest should be replaced with your registered environment name (more information can be found using

 

clio install-gate --h

 

command). Once the gate is installed you need to perform a restart using this command:

 

clio restart -e DemoTest

 

once again DemoTest should be replaced with your registered environment name. And finally, demo applications are deployed using PostgreSQL and you need to use the file with the command to properly execute it. So after that you need to execute:

 

clio execute-sql-script -f C:\Users\O.Drobina\Documents\clio\Contact.sql -e DemoTest

 

where C:\Users\O.Drobina\Documents\clio\Contact.sql should be replaced with the directory where the needed file with SQL query is located, DemoTest - use your registered environment name.

 

After that you will be able to get the result of the query.

 

Best regards,

Oscar 

Hi Uriel,

 

Before executing the SQL query in the cloud-based app you need to also install clio-gate that is not installed in the cloud apps by default. To do this execute the following command in clio:

 

clio.exe install-gate -e DemoTest

 

where DemoTest should be replaced with your registered environment name (more information can be found using

 

clio install-gate --h

 

command). Once the gate is installed you need to perform a restart using this command:

 

clio restart -e DemoTest

 

once again DemoTest should be replaced with your registered environment name. And finally, demo applications are deployed using PostgreSQL and you need to use the file with the command to properly execute it. So after that you need to execute:

 

clio execute-sql-script -f C:\Users\O.Drobina\Documents\clio\Contact.sql -e DemoTest

 

where C:\Users\O.Drobina\Documents\clio\Contact.sql should be replaced with the directory where the needed file with SQL query is located, DemoTest - use your registered environment name.

 

After that you will be able to get the result of the query.

 

Best regards,

Oscar 

Show all comments

Hi, 

 

When trying to run a  sql query in clio against a Creatio cloud environment I'm getting this eror:

 

System.Net.WebException: The remote server returned an error: (404) Not Found.

   at System.Net.HttpWebRequest.GetResponse()

   at Creatio.Client.ATFWebRequestExtension.GetServiceResponse(HttpWebRequest request)

   at Creatio.Client.CreatioClient.ExecutePostRequest(String url, String requestData, Int32 requestTimeout)

   at Clio.Common.CreatioClientAdapter.ExecutePostRequest(String url, String requestData, Int32 requestTimeout)

   at Clio.Common.SqlScriptExecutor.Execute(String sql, IApplicationClient applicationClient, EnvironmentSettings settings)

   at Clio.Command.SqlScriptCommand.SqlScriptCommand.Execute(ExecuteSqlScriptOptions opts)

 

Any thoughts?

 

Like 0

Like

1 comments

Hi,

 

It's impossible to determine the reason without reviewing the logs. You need to try running the same command using a local copy of the app hosted in cloud, get the error message and review the application logs. Also sine this is a PostgreSQL command review the command itself and check if all tables and columns in the query are double-quoted and the register is correct.

 

Best regards,

Oscar

Show all comments

Hi Teams, 

Somebody knows if there is a way to user clio with cloud sites? or install packages without using UI?

Like 0

Like

1 comments

Hello Federico,

 

Thank you for your question.

 

Please, refer to the following:

 

clio push-pkg <package name here> --uri https://mysite.creatio.com --Login UserLogin --Password UserPassword

 

Please, replace <package name here> with your package name, https://mysite.creatio.com with the URL to the target app, UserLogin with the login to the target app, UserPassword with the target app password.

 

The information about Clio can be found on the github of its developers: https://github.com/Advance-Technologies-Foundation

 

We recommend testing it on your development instance/sandbox etc first before doing it on your production website.

 

Best regards,

Anastasiia

Show all comments

Hi Teams. 

 

There is a way to perform a compile all using clio.exe?

Like 0

Like

1 comments

Hello Federico,

 

All the information about Clio can be found on the github of its developers: https://github.com/Advance-Technologies-Foundation

 

Please, refer to the article below which you might find useful:

https://github.com/Advance-Technologies-Foundation/clio/wiki/Build-work…

 

Kind regards,

Anastasiia

Show all comments