OK, problem solved. Resolution;
1- Open CMD with IIS User. (IIS user must be have a home folder. Example: C:\Users\username) 2- Run abp login command.
Problem Detail: IIS cannot open the abp file (below) because we ran abp login it as administrator the first time. %UserProfile%/.abp/cli/access-token.bin
After deploying, I run the commands on the server. It shows that I am logged in, but it gives an abp license error.
C:>abp login-info [18:06:23 INF] ABP CLI (https://abp.io) [18:06:24 INF] Version 5.3.4 (Stable) [18:06:26 INF] Login info: Name: Surname: Username: avengers Email Address: avengers@talentra.net Organization: Talentra Recruitment Agency
No, it is not resolved. I just said the abp login-info command works. I'm still getting the same error. Please read the message in detail.
Yes. We want to work in development mode.
Build Pipeline After 3rd stage (abp login-info); [15:05:32 INF] Login info: Name: Surname: Username: avengers Email Address: avengers@talentra.net Organization: Talentra Recruitment Agency
Release Pipeline After 7rd stage (abp login-info); 2022-09-14T15:08:44.7205439Z ##[command]"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "C:\azagent\A1_work_temp\f90e3dea-9c5f-470b-82dd-fdc734cf065d.cmd"" 2022-09-14T15:08:44.7745889Z 'abp' is not recognized as an internal or external command, 2022-09-14T15:08:44.7747381Z operable program or batch file. 2022-09-14T15:08:44.9509242Z ##[error]Cmd.exe exited with code '1'.
I also ran cmd in the server we deployed (without pipelines). Output; C:>abp login-info [18:06:23 INF] ABP CLI (https://abp.io) [18:06:24 INF] Version 5.3.4 (Stable) [18:06:26 INF] Login info: Name: Surname: Username: avengers Email Address: avengers@talentra.net Organization: Talentra Recruitment Agency
It is natural that it is not working in the "Release Pipeline". Because there is an agent in between. But when I enter the command directly on the server we deploy, it works.
Thank you for your support
ABP-LIC-ERROR - License check failed for 'Volo.Abp.TextTemplateManagement.Domain-v5.2.1.0'. You need to log in using the command
abp login <username>
. For more information, contact to license@abp.io.