Starts in:
1 DAY
4 HRS
38 MIN
56 SEC
Starts in:
1 D
4 H
38 M
56 S

Activities of "Sturla"

Did you configure the DocsUiOptions as below?

Yes I did. Its here https://github.com/sturlath/Acme.MyProject/blob/36113e1832f5b0503f7453304d143dd9641e37b6/src/Acme.MyProject.Web/MyProjectWebModule.cs#L122

I have tried what ever permutation of the URL I can think of but its just 404 and now I see some error (didn´t spot them before because the 404 page automatically goes-browser-history-back

I´m trying to remove (just) the Account part from my Settings in Blazor for newly created tenant/users

If I filter it out by "AbpAccount.SettingManagement" and try to remove it with the PermissionDataSeeder the whole Settings menu gets removed. For ordinary user removing Settings could be fine but I have more stuff than just Account for my tenants.

I tried these two https://support.abp.io/QA/Questions/1690/HOW-TO-remove--Two-factor-item and https://support.abp.io/QA/Questions/2926/Remove-two-auth-and-Profile-picture-tab-from-manage-profile-page but I just get this error if I try to remove an individual component "Volo-Abp-Account-TwoFactor"

  • ABP Framework version: 5.3.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

you need to add the Volo.Docs.Admin.Web project to your web project

OK.. but why doesn´t the CLI do that (or say abp add-module Volo.Docs.Admin)? I can´t find anything in the docs about specially having to do this (sorry for missing it if it is in there)

Anyways I updated the project and still the same 404 result

Again I get the data from Github into my database but they don´t display!

Again here is the data I got in the docs tables. Don´t you get 404?

What am I missing?

Project

INSERT INTO [dbo].[DocsProjects]([Id],[Name],[ShortName],[Format],[DefaultDocumentName],[NavigationDocumentName],[ParametersDocumentName],[MinimumVersion],[DocumentStoreType],[MainWebsiteUrl],[LatestVersionBranchName],[ExtraProperties],[ConcurrencyStamp])
SELECT N'73ccfbdd-e7f7-42e4-9a1f-3a049fa859c7', N'ÍBeinni Documentation', N'docs', N'md', N'Index', N'docs-nav.json', N'docs-params.json', NULL, N'GitHub', N'/', N'master', N'{"GitHubRootUrl":"https://github.com/Ibeinni/docs/tree/{version}/","GitHubUserAgent":"sturlath","GitHubAccessToken":"xxx","GithubVersionProviderSource":1,"VersionBranchPrefix":"rel-"}', N'40d06f2b75e6430181a7bc1bdabdf54f'

Docs

INSERT INTO [dbo].[DocsDocuments]([Id],[ProjectId],[Name],[Version],[LanguageCode],[FileName],[Content],[Format],[EditLink],[RootUrl],[RawRootUrl],[LocalDirectory],[CreationTime],[LastUpdatedTime],[LastSignificantUpdateTime],[LastCachedTime],[ExtraProperties],[ConcurrencyStamp])
SELECT N'f0c3727d-6b83-f2a6-d22f-3a04f63982f1', N'73ccfbdd-e7f7-42e4-9a1f-3a049fa859c7', N'SampleMenuItem_1_1_1.md', N'1.0', N'en', N'SampleMenuItem_1_1_1.md', N'
# Hello World', N'md', N'https://github.com/Ibeinni/docs/blob/1.0/en/SampleMenuItem_1_1_1.md', N'https://github.com/Ibeinni/docs/tree/1.0/', N'https://raw.githubusercontent.com/Ibeinni/docs/1.0/en/', N'', '20220709 17:35:45.000', '20220709 17:35:45.000', NULL, '00010101 00:00:00.000', N'{}', N'e5e9e564c9104f53a0d383ebe2534925' UNION ALL
SELECT N'6b9c2b8c-ace5-9768-0119-3a04f648a310', N'73ccfbdd-e7f7-42e4-9a1f-3a049fa859c7', N'SampleMenuItem_1_1_1.md', N'1.1', N'en', N'SampleMenuItem_1_1_1.md', N'
# Hello World', N'md', N'https://github.com/Ibeinni/docs/blob/1.1/en/SampleMenuItem_1_1_1.md', N'https://github.com/Ibeinni/docs/tree/1.1/', N'https://raw.githubusercontent.com/Ibeinni/docs/1.1/en/', N'', '20220709 17:35:45.000', '20220709 17:35:45.000', NULL, '00010101 00:00:00.000', N'{}', N'8919f724e4f54f9ba6d0501681da5945' UNION ALL
SELECT N'059d90b9-d323-1d36-3425-3a0508b43496', N'73ccfbdd-e7f7-42e4-9a1f-3a049fa859c7', N'SampleMenuItem_1_1_1.md', N'1.0', N'is', N'SampleMenuItem_1_1_1.md', N'
# Hello World', N'md', N'https://github.com/Ibeinni/docs/blob/1.0/is/SampleMenuItem_1_1_1.md', N'https://github.com/Ibeinni/docs/tree/1.0/', N'https://raw.githubusercontent.com/Ibeinni/docs/1.0/is/', N'', '20220709 17:35:45.000', '20220709 17:35:45.000', NULL, '20220713 07:47:55.158', N'{}', N'45fb4081e9c244778701fa6b0b7d2e6e'

p.s Adding these lines below results in a 500.3 error ("HTTP Error 500.30 - ASP.NET Core app failed to start")

Configure<DocsElasticSearchOptions>(options =>
{
    options.Enable = true;
});

Can you change the version parameter to a specific version (like 1.0) instead of the latest and try again? Also please set the route prefix to null, if you haven't set yet.

This is just uploaded code from your zip files so I can´t set the prefix route there. But I have followed your instructions to the letter there.

I have this project on GitHub but I can´t access the Admin URL (https://localhost:44370/Docs/Admin/Projects)

I followed the module instructions for this project (see url) but can´t seem to access the admin projects endpoint so I can´t try it out. Shouldn´t it be just https://localhost:44370/Docs/Admin/Projects just like the one from the zip?

@EngincanV any feedback on this?

In the IdentityServer project, there's no CmsKit reference.

The reason for that is that I´m using a Blazor backend so there was no other place to put the CMS functionality (since Blazor doesn´t have it).

And it worked fine before updating to +5.3.0.

Can you try to reproduce it on a brand new 5.3.2?

As you say mine is different and I need CMS in my Identity Server. Updating to 5.3.2 always gives me the same error (only on published site.)

Sorry for not having time to check this out.

I am not understanding how this works at all!

TL'DR

  • Documents are being pulled into db but not shown (on Azure)
    • What I got in Azure is configured zip content from here
  • Can´t get this working locally following docs module documentation
    • I can´t get into Admin panel
    • even with inserted data locally I 404
  • Adding DocsElasticSearchOptions takes down site (500)

Documents get pulled but still 404

I seem to have managed to pulled in the documents but they are just not showing I just get 404

Here is the error I get

Getting it working locally (not working)

So what I am trying now is to get this working with file new project following https://docs.abp.io/en/abp/5.3/Modules/Docs

I have this project on GitHub but I can´t access the Admin URL (https://localhost:44370/Docs/Admin/Projects)

Here is my insert (I even deleted the repo and now have master and not main)

INSERT INTO [dbo].[DocsProjects]([Id],[Name],[ShortName],[Format],[DefaultDocumentName],[NavigationDocumentName],[ParametersDocumentName],[MinimumVersion],[DocumentStoreType],[MainWebsiteUrl],[LatestVersionBranchName],[ExtraProperties],[ConcurrencyStamp])
SELECT N'73ccfbdd-e7f7-42e4-9a1f-3a049fa859c7', N'ÍBeinni Documentation', N'docs', N'md', N'Index', N'docs-nav.json', N'docs-params.json', NULL, N'GitHub', N'/', N'master', N'{"GitHubRootUrl":"https://github.com/Ibeinni/docs/tree/{version}/","GitHubUserAgent":"sturlath","GitHubAccessToken":"xxx","GithubVersionProviderSource":1,"VersionBranchPrefix":"rel-"}', N'4076fcac7d334670895a0e7dc50eaee8'


INSERT INTO [dbo].[DocsDocuments]([Id],[ProjectId],[Name],[Version],[LanguageCode],[FileName],[Content],[Format],[EditLink],[RootUrl],[RawRootUrl],[LocalDirectory],[CreationTime],[LastUpdatedTime],[LastSignificantUpdateTime],[LastCachedTime],[ExtraProperties],[ConcurrencyStamp])
SELECT N'f0c3727d-6b83-f2a6-d22f-3a04f63982f1', N'73ccfbdd-e7f7-42e4-9a1f-3a049fa859c7', N'SampleMenuItem_1_1_1.md', N'1.0', N'en', N'SampleMenuItem_1_1_1.md', N'
# Hello World', N'md', N'https://github.com/Ibeinni/docs/blob/1.0/en/SampleMenuItem_1_1_1.md', N'https://github.com/Ibeinni/docs/tree/1.0/', N'https://raw.githubusercontent.com/Ibeinni/docs/1.0/en/', N'', '20220709 17:35:45.000', '20220709 17:35:45.000', NULL, '20220709 17:40:44.401', N'{}', N'604842cc8fa14f439693e0aa0e43827f' UNION ALL

Error in 5.3.2?

And maybe I also found another bug. Because adding DocsElasticSearchOptions gives this 500.30 error locally.

2022-07-09 18:31:55.683 +00:00 [FTL] Host terminated unexpectedly! Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Docs.DocsDomainModule, Volo.Docs.Domain, Version=5.3.2.0, Culture=neutral, PublicKeyToken=null: Value cannot be null. (Parameter 'uriString'). See the inner exception for details. ---> System.ArgumentNullException: Value cannot be null. (Parameter 'uriString') at System.Uri..ctor(String uriString) at Volo.Docs.Documents.FullSearch.Elastic.DefaultElasticClientProvider.GetClient() at Volo.Docs.Documents.FullSearch.Elastic.ElasticDocumentFullSearch.CreateIndexIfNeededAsync(CancellationToken cancellationToken) at Volo.Docs.DocsDomainModule.OnApplicationInitializationAsync(ApplicationInitializationContext context) at Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor.InitializeAsync(ApplicationInitializationContext context, IAbpModule module) at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context) --- End of inner exception stack trace --- at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context) at Volo.Abp.AbpApplicationBase.InitializeModulesAsync() at Volo.Abp.AbpApplicationWithExternalServiceProvider.InitializeAsync(IServiceProvider serviceProvider) at Microsoft.AspNetCore.Builder.AbpApplicationBuilderExtensions.InitializeApplicationAsync(IApplicationBuilder app) at Acme.MyProject.Web.Program.Main(String[] args) in C:\Dev\Temp\docTest\src\Acme.MyProject.Web\Program.cs:line 38

Answer

We are stuck because of this one here https://support.abp.io/QA/Questions/3301/qgApoZ2OmDdJqiAoXp5L4ObZ82mStp54vqoB0A-is-not-a-valid-page-error . We got contractors to work with us for one week so there are like 3 man-weeks worth of changes that we can’t ship so super important to get this fixed (almost 1.5 weeks since discovered!!)

ABP v5.3.2 has just been released and this issue has been fixed.

This is still an issue.. nothing has been fixed. This is starting to be ridicules..

Sorry but the issue has not been fixed! I just updated to 5.3.2 and deployed it and am still getting this error! What is going on? Have you tried to deploy this code on a cloud environment because like previously stated it works locally but not in Azure...

2022-07-09 08:58:37.268 +00:00 [FTL] BSR.Beinni.IdentityServer terminated unexpectedly!
Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module BSR.Beinni.BeinniIdentityServerModule, BSR.Beinni.IdentityServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: The type 'ge8NEZ8y2lBa5les2er.bEPl4e8xKkvM5juVjoG' is not a valid page. A page must define a public, non-static 'Model' property.. See the inner exception for details.
 ---> System.InvalidOperationException: The type 'ge8NEZ8y2lBa5les2er.bEPl4e8xKkvM5juVjoG' is not a valid page. A page must define a public, non-static 'Model' property.
   at Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultPageApplicationModelProvider.CreateModel(PageActionDescriptor actionDescriptor, TypeInfo pageTypeInfo)
   at Microsoft.AspNetCore.Mvc.ApplicationModels.DefaultPageApplicationModelProvider.OnProvidersExecuting(PageApplicationModelProviderContext context)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.CompiledPageActionDescriptorFactory.CreateCompiledDescriptor(PageActionDescriptor actionDescriptor, CompiledViewDescriptor viewDescriptor)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.CompiledPageActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider.UpdateCollection()
   at Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider.Initialize()
   at Microsoft.AspNetCore.Mvc.Routing.ActionEndpointDataSourceBase.<>c__DisplayClass11_0.<Subscribe>b__0()
   at Microsoft.Extensions.Primitives.ChangeToken.OnChange(Func`1 changeTokenProducer, Action changeTokenConsumer)
   at Microsoft.AspNetCore.Mvc.Routing.ActionEndpointDataSourceBase.Subscribe()
   at Microsoft.AspNetCore.Mvc.Routing.ControllerActionEndpointDataSource..ctor(ControllerActionEndpointDataSourceIdProvider dataSourceIdProvider, IActionDescriptorCollectionProvider actions, ActionEndpointFactory endpointFactory, OrderedEndpointsSequenceProvider orderSequence)
   at Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.GetOrCreateDataSource(IEndpointRouteBuilder endpoints)
   at Microsoft.AspNetCore.Builder.ControllerEndpointRouteBuilderExtensions.MapControllerRoute(IEndpointRouteBuilder endpoints, String name, String pattern, Object defaults, Object constraints, Object dataTokens)
   at Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule.&lt;&gt;c.&lt;ConfigureServices&gt;b__1_10(EndpointRouteBuilderContext endpointContext)
   at Microsoft.AspNetCore.Builder.AbpAspNetCoreApplicationBuilderExtensions.&lt;&gt;c__DisplayClass0_0.&lt;UseConfiguredEndpoints&gt;b__0(IEndpointRouteBuilder endpoints)
   at Microsoft.AspNetCore.Builder.EndpointRoutingApplicationBuilderExtensions.UseEndpoints(IApplicationBuilder builder, Action`1 configure)
   at Microsoft.AspNetCore.Builder.AbpAspNetCoreApplicationBuilderExtensions.UseConfiguredEndpoints(IApplicationBuilder app, Action`1 additionalConfigurationAction)
   at BSR.Beinni.BeinniIdentityServerModule.OnApplicationInitialization(ApplicationInitializationContext context) in /home/vsts/work/1/s/src/BSR.Beinni.IdentityServer/BeinniIdentityServerModule.cs:line 324
   at Volo.Abp.Modularity.AbpModule.OnApplicationInitializationAsync(ApplicationInitializationContext context)
   at Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor.InitializeAsync(ApplicationInitializationContext context, IAbpModule module)
   at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context)
   --- End of inner exception stack trace ---
   at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context)
   at Volo.Abp.AbpApplicationBase.InitializeModulesAsync()
   at Volo.Abp.AbpApplicationWithExternalServiceProvider.InitializeAsync(IServiceProvider serviceProvider)
   at Microsoft.AspNetCore.Builder.AbpApplicationBuilderExtensions.InitializeApplicationAsync(IApplicationBuilder app)
   at BSR.Beinni.Program.Main(String[] args) in /home/vsts/work/1/s/src/BSR.Beinni.IdentityServer/Program.cs:line 35

Please add your issues here if you are facing any issues after 5.3.1 updatehttps://support.abp.io/QA/Questions/3364/ABP-v531-Problems

Showing 111 to 120 of 210 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06