use String instead of Guid input.
Thank you alper, that is what I will do.
Ok, I did remove and then instaelled the cli but I have the same issue, the suite does not update, please see below. How can I just remove and readd the suite? I already made a backup of the entity data for the suite for my project. I am running windows on my mac with parallels. I thinnk it could be some kind of path issue and if I just have to unistall and reinstall every time will not be an issue if that is the case.
I aslo tired abp suite remove and it removed the suite,I then ran abp suite install and it failed with the error above, now the suite no longer works because it is not installed.
C:>abp suite update
[08:57:18 INF] ABP CLI (https://abp.io)
[08:57:18 INF] Version 4.2.1 (Stable)
[08:57:19 WRN] ABP CLI has a newer stable version 4.2.2, please update to get the latest features and fixes.
[08:57:19 WRN]
[08:57:19 WRN] Update Command:
[08:57:19 WRN] dotnet tool update -g Volo.Abp.Cli
[08:57:19 WRN]
[08:57:19 INF] Updating ABP Suite ...
C:\Program Files\dotnet\sdk\5.0.102\NuGet.targets(131,5): error : Failed to download package 'volo.abp.suite.4.2.2' from 'https://nuget.abp.io/MyKey/v3/package/volo.abp.suite/4.2.2/volo.abp.suite.4.2.2.nupkg'. [C:\Users\MyUser\AppData\Local\Temp\h3aaputo.wqt\restore.csproj]
C:\Program Files\dotnet\sdk\5.0.102\NuGet.targets(131,5): error : The decryption operation failed, see inner exception. [C:\Users\MyUser\AppData\Local\Temp\h3aaputo.wqt\restore.csproj]
C:\Program Files\dotnet\sdk\5.0.102\NuGet.targets(131,5): error : The specified data could not be decrypted. [C:\Users\MyUser\AppData\Local\Temp\h3aaputo.wqt\restore.csproj]
C:\Program Files\dotnet\sdk\5.0.102\NuGet.targets(131,5): error : The feed 'https://nuget.abp.io/MyKey/v3/index.json [https://nuget.abp.io/MyKey/v3/index.json]' lists package 'volo.abp.suite.4.2.2' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again. [C:\Users\MyUser\AppData\Local\Temp\h3aaputo.wqt\restore.csproj]
C:\Program Files\dotnet\sdk\5.0.102\NuGet.targets(131,5): error : Unable to find package 'volo.abp.suite.4.2.2'. [C:\Users\MyUser\AppData\Local\Temp\h3aaputo.wqt\restore.csproj]
Tool 'volo.abp.suite' failed to update due to the following:
The tool package could not be restored.
Tool 'volo.abp.suite' failed to install. This failure may have been caused by:
You are attempting to install a preview release and did not use the --version option to specify the version.
A package by this name was found, but it was not a .NET tool.
The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
You mistyped the name of the tool.
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool
[08:57:35 ERR] You can also run the following command to update ABP Suite.
[08:57:35 ERR] dotnet tool update -g Volo.Abp.Suite --add-source https://nuget.abp.io/<your-private-key>/v3/index.json
Hello Support,
I upgraded my workstation to the suite version 4.2.2 and now when I click on the add property to an entity, Guid is not in the Property Type dropdown list. Please let me know how I can work around this.
Thanks you
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
Hello,
I am trying to update to 4.2.1 but it keeps failing. I tried running the command prompt window as administrator and still no luck. It seems like it is not downloading as the temp directory does not have any files in it which explains the erros below. How can I either remove manually or how can I get the cli to download?
C:\Users\MyUser>dotnet tool update -g Volo.Abp.Cli && abp suite update C:\Program Files\dotnet\sdk\5.0.102\NuGet.targets(131,5): error : Failed to download package 'volo.abp.cli.4.2.1' from 'https://api.nuget.org/v3-flatcontainer/volo.abp.cli/4.2.1/volo.abp.cli.4.2.1.nupkg'. [C:\Users\MyUser\AppData\Local\Temp\42gr0iup.45f\restore.csproj] C:\Program Files\dotnet\sdk\5.0.102\NuGet.targets(131,5): error : The decryption operation failed, see inner exception. [C:\Users\MyUser\AppData\Local\Temp\42gr0iup.45f\restore.csproj] C:\Program Files\dotnet\sdk\5.0.102\NuGet.targets(131,5): error : The specified data could not be decrypted. [C:\Users\MyUser\AppData\Local\Temp\42gr0iup.45f\restore.csproj] C:\Program Files\dotnet\sdk\5.0.102\NuGet.targets(131,5): error : The feed 'nuget.org [https://api.nuget.org/v3/index.json]' lists package 'volo.abp.cli.4.2.1' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again. [C:\Users\MyUser\AppData\Local\Temp\42gr0iup.45f\restore.csproj] C:\Program Files\dotnet\sdk\5.0.102\NuGet.targets(131,5): error : Unable to find package 'volo.abp.cli.4.2.1'. [C:\Users\MyUser\AppData\Local\Temp\42gr0iup.45f\restore.csproj] Tool 'volo.abp.cli' failed to update due to the following: The tool package could not be restored. Tool 'volo.abp.cli' failed to install. This failure may have been caused by:
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool
Hello,
The cli below is now working again.
abp new <project> -t app-pro --tiered
Could you please credit back my support account, as this was an issue with abp.io webservice?
Thank you
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
This seems like a bug, error due to abp.io webservice.
I ran the example yesterday from my laptop at home and it worked. This morning I went to the office and ran the same sample project and it fails with an error 500. I also tried to create the project from the suite and it fails as well. Both failures never creates a project just the sub project folder. The web service seems to bt down and that is why it is failing. Below is the output window of the cli error.
I rather use the cli instead of the suite because it has the option to create app-pro so many of the nugets are already done.
The command I ran was:
C:\Projects\BookStore>abp new Acme.BookStore -t app-pro --tiered [11:28:24 INF] ABP CLI (https://abp.io) [11:28:24 INF] Version 3.0.5 (Stable channel) [11:28:25 INF] Creating your project... [11:28:25 INF] Project name: Acme.BookStore [11:28:25 INF] Template: app-pro [11:28:25 INF] Tiered: yes [11:28:25 INF] Mobile App: ReactNative [11:28:25 INF] Output folder: C:\Projects\BookStore\Acme.BookStore Error occured while getting the latest version from https://abp.io/api/download/template/get-version/ : Remote server returns '500-Internal Server Error'. Message: An internal error occurred during your request! [11:28:27 WRN] The remote service is currently unavailable, please specify the version. [11:28:27 WRN] [11:28:27 WRN] Find the following template in your cache directory: [11:28:27 WRN] Template Name Version [11:28:27 WRN] app pro-3.0.5 [11:28:27 WRN] [11:28:27 WRN] Use command: abp new Acme.BookStore -v version
I also ran as the result say: abp new Acme.BookStore -v version
C:\Projects\BookStore>abp new Acme.BooStore -v version [11:30:25 INF] ABP CLI (https://abp.io) [11:30:26 INF] Version 3.0.5 (Stable channel) [11:30:27 INF] Creating your project... [11:30:27 INF] Project name: Acme.BooStore [11:30:27 INF] Version: version [11:30:27 INF] Mobile App: ReactNative [11:30:27 INF] Output folder: C:\Projects\BookStore\Acme.BooStore [11:30:29 INF] Downloading template: app, version: version Error occured while downloading source-code from https://abp.io/api/download/template/ : Remote server returns '500-Internal Server Error'. [11:30:30 ERR] Remote server returns '500-Internal Server Error'. System.Exception: Remote server returns '500-Internal Server Error'. at Volo.Abp.Cli.ProjectBuilding.RemoteServiceExceptionHandler.EnsureSuccessfulHttpResponseAsync(HttpResponseMessage responseMessage) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\RemoteServiceExceptionHandler.cs:line 44 at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.DownloadSourceCodeContentAsync(SourceCodeDownloadInputDto input) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 220 at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.GetAsync(String name, String type, String version, String templateSource) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 107 at Volo.Abp.Cli.ProjectBuilding.TemplateProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\TemplateProjectBuilder.cs:line 56 at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 128 at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 55
This errors out as well.
I then used my laptop where it worked before and tried it again and it fails as well with the same errors so I know that it is not specific the pc I am working on at the office.
It appears that the generation of a project is dependent on the webservices even after downloading the suite. So if the webservice is down the developer can't work if he is starting a new project. What is the workaround for this as I am now stuck just getting started?