Open Closed

DocumentNotFoundException (404 error) for Document module #3306


User avatar
0
Sturla created

I´m trying to setup the documentation module (for my GitHub repo) and am having hard time getting past this 404 error on this https://docs-p.azurewebsites.net/is/docs/latest doc.

I have a standalone VoloDocs AppService

with these settings

I can do a pull (with the dialog closing)

In the error messages below (next comment) I can see a // (in this https://raw.githubusercontent.com/Ibeinni/docs//docs-langs.json). So I´m guessing that I´m missing the version but I have no idea how to fix that.

This must be something super simple I´m missing!

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

30 Answer(s)
  • User Avatar
    0
    Sturla created

    2022-06-22 23:43:04.858 +00:00 [INF] Request starting HTTP/1.1 GET http://docs-p.azurewebsites.net/ - - 2022-06-22 23:43:04.864 +00:00 [INF] Executing endpoint '/Index' 2022-06-22 23:43:04.866 +00:00 [INF] Route matched with {page = "/Index", controller = "", area = "", action = ""}. Executing page /Index 2022-06-22 23:43:04.867 +00:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-06-22 23:43:04.875 +00:00 [INF] Executing handler method VoloDocs.Web.Pages.IndexModel.OnGetAsync - ModelState is "Valid" 2022-06-22 23:43:04.877 +00:00 [INF] Entity Framework Core 5.0.7 initialized 'DocsDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-06-22 23:43:04.978 +00:00 [INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT [d].[Id], [d].[ConcurrencyStamp], [d].[DefaultDocumentName], [d].[DocumentStoreType], [d].[ExtraProperties], [d].[Format], [d].[LatestVersionBranchName], [d].[MainWebsiteUrl], [d].[MinimumVersion], [d].[Name], [d].[NavigationDocumentName], [d].[ParametersDocumentName], [d].[ShortName] FROM [DocsProjects] AS [d] 2022-06-22 23:43:04.984 +00:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RedirectResult. 2022-06-22 23:43:04.993 +00:00 [INF] Executing RedirectResult, redirecting to ./en/docs/latest. 2022-06-22 23:43:04.994 +00:00 [INF] Executed page /Index in 127.9056ms 2022-06-22 23:43:04.996 +00:00 [INF] Executed endpoint '/Index' 2022-06-22 23:43:05.004 +00:00 [INF] Request finished HTTP/1.1 GET http://docs-p.azurewebsites.net/ - - - 302 - - 146.1926ms 2022-06-22 23:47:29.173 +00:00 [INF] Request starting HTTP/1.1 GET https://docs-p.azurewebsites.net/Docs/Admin/Projects/Pull?Id=73ccfbdd-e7f7-42e4-9a1f-3a049fa859c7 - - 2022-06-22 23:47:29.211 +00:00 [INF] Entity Framework Core 5.0.7 initialized 'IdentityDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-06-22 23:47:29.223 +00:00 [INF] Executed DbCommand (2ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__ef_filter__p_1='?' (DbType = Boolean), @__id_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30'] SELECT [t].[Id], [t].[AccessFailedCount], [t].[ConcurrencyStamp], [t].[CreationTime], [t].[CreatorId], [t].[DeleterId], [t].[DeletionTime], [t].[Email], [t].[EmailConfirmed], [t].[ExtraProperties], [t].[IsDeleted], [t].[IsExternal], [t].[LastModificationTime], [t].[LastModifierId], [t].[LockoutEnabled], [t].[LockoutEnd], [t].[Name], [t].[NormalizedEmail], [t].[NormalizedUserName], [t].[PasswordHash], [t].[PhoneNumber], [t].[PhoneNumberConfirmed], [t].[SecurityStamp], [t].[Surname], [t].[TenantId], [t].[TwoFactorEnabled], [t].[UserName] FROM ( SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreationTime], [a].[CreatorId], [a].[DeleterId], [a].[DeletionTime], [a].[Email], [a].[EmailConfirmed], [a].[ExtraProperties], [a].[IsDeleted], [a].[IsExternal], [a].[LastModificationTime], [a].[LastModifierId], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[Name], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[Surname], [a].[TenantId], [a].[TwoFactorEnabled], [a].[UserName] FROM [AbpUsers] AS [a] WHERE (((@__ef_filter__p_0 = CAST(1 AS bit)) OR ([a].[IsDeleted] <> CAST(1 AS bit))) AND ((@__ef_filter__p_1 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL)) AND ([a].[Id] = @__id_0) ORDER BY [a].[Id] ) AS [t] ORDER BY [t].[Id] 2022-06-22 23:47:29.234 +00:00 [INF] Executed DbCommand (1ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__ef_filter__p_1='?' (DbType = Boolean), @__id_0='?' (DbType = Guid), @__ef_filter__p_3='?' (DbType = Boolean)], CommandType='"Text"', CommandTimeout='30'] SELECT [t0].[UserId], [t0].[RoleId], [t0].[TenantId], [t].[Id] FROM ( SELECT TOP(1) [a].[Id] FROM [AbpUsers] AS [a] WHERE (((@__ef_filter__p_0 = CAST(1 AS bit)) OR ([a].[IsDeleted] <> CAST(1 AS bit))) AND ((@__ef_filter__p_1 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL)) AND ([a].[Id] = @__id_0) ORDER BY [a].[Id] ) AS [t] INNER JOIN ( SELECT [a0].[UserId], [a0].[RoleId], [a0].[TenantId] FROM [AbpUserRoles] AS [a0] WHERE (@__ef_filter__p_3 = CAST(1 AS bit)) OR [a0].[TenantId] IS NULL ) AS [t0] ON [t].[Id] = [t0].[UserId] ORDER BY [t].[Id] 2022-06-22 23:47:29.241 +00:00 [INF] Executed DbCommand (1ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__ef_filter__p_1='?' (DbType = Boolean), @__id_0='?' (DbType = Guid), @__ef_filter__p_5='?' (DbType = Boolean)], CommandType='"Text"', CommandTimeout='30'] SELECT [t0].[UserId], [t0].[LoginProvider], [t0].[ProviderDisplayName], [t0].[ProviderKey], [t0].[TenantId], [t].[Id] FROM ( SELECT TOP(1) [a].[Id] FROM [AbpUsers] AS [a] WHERE (((@__ef_filter__p_0 = CAST(1 AS bit)) OR ([a].[IsDeleted] <> CAST(1 AS bit))) AND ((@__ef_filter__p_1 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL)) AND ([a].[Id] = @__id_0) ORDER BY [a].[Id] ) AS [t] INNER JOIN ( SELECT [a0].[UserId], [a0].[LoginProvider], [a0].[ProviderDisplayName], [a0].[ProviderKey], [a0].[TenantId] FROM [AbpUserLogins] AS [a0] WHERE (@__ef_filter__p_5 = CAST(1 AS bit)) OR [a0].[TenantId] IS NULL ) AS [t0] ON [t].[Id] = [t0].[UserId] ORDER BY [t].[Id] 2022-06-22 23:47:29.245 +00:00 [INF] Executed DbCommand (2ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__ef_filter__p_1='?' (DbType = Boolean), @__id_0='?' (DbType = Guid), @__ef_filter__p_7='?' (DbType = Boolean)], CommandType='"Text"', CommandTimeout='30'] SELECT [t0].[Id], [t0].[ClaimType], [t0].[ClaimValue], [t0].[TenantId], [t0].[UserId], [t].[Id] FROM ( SELECT TOP(1) [a].[Id] FROM [AbpUsers] AS [a] WHERE (((@__ef_filter__p_0 = CAST(1 AS bit)) OR ([a].[IsDeleted] <> CAST(1 AS bit))) AND ((@__ef_filter__p_1 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL)) AND ([a].[Id] = @__id_0) ORDER BY [a].[Id] ) AS [t] INNER JOIN ( SELECT [a0].[Id], [a0].[ClaimType], [a0].[ClaimValue], [a0].[TenantId], [a0].[UserId] FROM [AbpUserClaims] AS [a0] WHERE (@__ef_filter__p_7 = CAST(1 AS bit)) OR [a0].[TenantId] IS NULL ) AS [t0] ON [t].[Id] = [t0].[UserId] ORDER BY [t].[Id] 2022-06-22 23:47:29.250 +00:00 [INF] Executed DbCommand (3ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__ef_filter__p_1='?' (DbType = Boolean), @__id_0='?' (DbType = Guid), @__ef_filter__p_9='?' (DbType = Boolean)], CommandType='"Text"', CommandTimeout='30'] SELECT [t0].[UserId], [t0].[LoginProvider], [t0].[Name], [t0].[TenantId], [t0].[Value], [t].[Id] FROM ( SELECT TOP(1) [a].[Id] FROM [AbpUsers] AS [a] WHERE (((@__ef_filter__p_0 = CAST(1 AS bit)) OR ([a].[IsDeleted] <> CAST(1 AS bit))) AND ((@__ef_filter__p_1 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL)) AND ([a].[Id] = @__id_0) ORDER BY [a].[Id] ) AS [t] INNER JOIN ( SELECT [a0].[UserId], [a0].[LoginProvider], [a0].[Name], [a0].[TenantId], [a0].[Value] FROM [AbpUserTokens] AS [a0] WHERE (@__ef_filter__p_9 = CAST(1 AS bit)) OR [a0].[TenantId] IS NULL ) AS [t0] ON [t].[Id] = [t0].[UserId] ORDER BY [t].[Id] 2022-06-22 23:47:29.252 +00:00 [INF] Executed DbCommand (1ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__ef_filter__p_1='?' (DbType = Boolean), @__id_0='?' (DbType = Guid), @__ef_filter__p_11='?' (DbType = Boolean)], CommandType='"Text"', CommandTimeout='30'] SELECT [t0].[OrganizationUnitId], [t0].[UserId], [t0].[CreationTime], [t0].[CreatorId], [t0].[TenantId], [t].[Id] FROM ( SELECT TOP(1) [a].[Id] FROM [AbpUsers] AS [a] WHERE (((@__ef_filter__p_0 = CAST(1 AS bit)) OR ([a].[IsDeleted] <> CAST(1 AS bit))) AND ((@__ef_filter__p_1 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL)) AND ([a].[Id] = @__id_0) ORDER BY [a].[Id] ) AS [t] INNER JOIN ( SELECT [a0].[OrganizationUnitId], [a0].[UserId], [a0].[CreationTime], [a0].[CreatorId], [a0].[TenantId] FROM [AbpUserOrganizationUnits] AS [a0] WHERE (@__ef_filter__p_11 = CAST(1 AS bit)) OR [a0].[TenantId] IS NULL ) AS [t0] ON [t].[Id] = [t0].[UserId] ORDER BY [t].[Id] 2022-06-22 23:47:29.283 +00:00 [INF] Executed DbCommand (1ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30'] SELECT [a].[OrganizationUnitId] FROM [AbpUserOrganizationUnits] AS [a] WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ([a].[UserId] = @__id_0) 2022-06-22 23:47:29.293 +00:00 [INF] Executed DbCommand (1ms) [Parameters=[@__ef_filter__p_2='?' (DbType = Boolean), @__ef_filter__p_3='?' (DbType = Boolean)], CommandType='"Text"', CommandTimeout='30'] SELECT [a].[RoleId] FROM [AbpOrganizationUnitRoles] AS [a] INNER JOIN ( SELECT [a0].[Id] FROM [AbpOrganizationUnits] AS [a0] WHERE ((@__ef_filter__p_2 = CAST(1 AS bit)) OR ([a0].[IsDeleted] <> CAST(1 AS bit))) AND ((@__ef_filter__p_3 = CAST(1 AS bit)) OR [a0].[TenantId] IS NULL) ) AS [t] ON [a].[OrganizationUnitId] = [t].[Id] WHERE 0 = 1 2022-06-22 23:47:29.297 +00:00 [INF] Executed DbCommand (2ms) [Parameters=[@__ef_filter__p_2='?' (DbType = Boolean), @__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30'] SELECT [t].[Name] FROM [AbpUserRoles] AS [a] INNER JOIN ( SELECT [a0].[Id], [a0].[ConcurrencyStamp], [a0].[ExtraProperties], [a0].[IsDefault], [a0].[IsPublic], [a0].[IsStatic], [a0].[Name], [a0].[NormalizedName], [a0].[TenantId] FROM [AbpRoles] AS [a0] WHERE (@__ef_filter__p_2 = CAST(1 AS bit)) OR [a0].[TenantId] IS NULL ) AS [t] ON [a].[RoleId] = [t].[Id] WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ([a].[UserId] = @__id_0) UNION SELECT [a1].[Name] FROM [AbpRoles] AS [a1] WHERE 0 = 1 2022-06-22 23:47:29.304 +00:00 [INF] Executed DbCommand (1ms) [Parameters=[@__ef_filter__p_2='?' (DbType = Boolean), @__ef_filter__p_4='?' (DbType = Boolean), @__ef_filter__p_5='?' (DbType = Boolean), @__ef_filter__p_7='?' (DbType = Boolean), @__ef_filter__p_0='?' (DbType = Boolean), @__id_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30'] SELECT [t1].[Name] FROM [AbpUserOrganizationUnits] AS [a] INNER JOIN ( SELECT [a0].[OrganizationUnitId], [a0].[RoleId] FROM [AbpOrganizationUnitRoles] AS [a0] WHERE (@__ef_filter__p_2 = CAST(1 AS bit)) OR [a0].[TenantId] IS NULL ) AS [t] ON [a].[OrganizationUnitId] = [t].[OrganizationUnitId] INNER JOIN ( SELECT [a1].[Id] FROM [AbpOrganizationUnits] AS [a1] WHERE ((@__ef_filter__p_4 = CAST(1 AS bit)) OR ([a1].[IsDeleted] <> CAST(1 AS bit))) AND ((@__ef_filter__p_5 = CAST(1 AS bit)) OR [a1].[TenantId] IS NULL) ) AS [t0] ON [t].[OrganizationUnitId] = [t0].[Id] INNER JOIN ( SELECT [a2].[Id], [a2].[Name] FROM [AbpRoles] AS [a2] WHERE (@__ef_filter__p_7 = CAST(1 AS bit)) OR [a2].[TenantId] IS NULL ) AS [t1] ON [t].[RoleId] = [t1].[Id] WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ([a].[UserId] = @__id_0) 2022-06-22 23:47:29.312 +00:00 [INF] Executed DbCommand (1ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__normalizedRoleName_0='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30'] SELECT [t].[Id], [t].[ConcurrencyStamp], [t].[ExtraProperties], [t].[IsDefault], [t].[IsPublic], [t].[IsStatic], [t].[Name], [t].[NormalizedName], [t].[TenantId] FROM ( SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[ExtraProperties], [a].[IsDefault], [a].[IsPublic], [a].[IsStatic], [a].[Name], [a].[NormalizedName], [a].[TenantId] FROM [AbpRoles] AS [a] WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ([a].[NormalizedName] = @__normalizedRoleName_0) ORDER BY [a].[Id] ) AS [t] ORDER BY [t].[Id] 2022-06-22 23:47:29.322 +00:00 [INF] Executed DbCommand (7ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__normalizedRoleName_0='?' (Size = 256), @__ef_filter__p_2='?' (DbType = Boolean)], CommandType='"Text"', CommandTimeout='30'] SELECT [t0].[Id], [t0].[ClaimType], [t0].[ClaimValue], [t0].[RoleId], [t0].[TenantId], [t].[Id] FROM ( SELECT TOP(1) [a].[Id] FROM [AbpRoles] AS [a] WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ([a].[NormalizedName] = @__normalizedRoleName_0) ORDER BY [a].[Id] ) AS [t] INNER JOIN ( SELECT [a0].[Id], [a0].[ClaimType], [a0].[ClaimValue], [a0].[RoleId], [a0].[TenantId] FROM [AbpRoleClaims] AS [a0] WHERE (@__ef_filter__p_2 = CAST(1 AS bit)) OR [a0].[TenantId] IS NULL ) AS [t0] ON [t].[Id] = [t0].[RoleId] ORDER BY [t].[Id]

  • User Avatar
    0
    Sturla created

    2022-06-22 23:47:29.340 +00:00 [INF] Executing endpoint '/Docs/Admin/Projects/Pull' 2022-06-22 23:47:29.343 +00:00 [INF] Route matched with {page = "/Docs/Admin/Projects/Pull", controller = "", area = "", action = ""}. Executing page /Docs/Admin/Projects/Pull 2022-06-22 23:47:29.344 +00:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-06-22 23:47:29.352 +00:00 [INF] Executing handler method Volo.Docs.Admin.Pages.Docs.Admin.Projects.PullModel.OnGetAsync - ModelState is "Valid" 2022-06-22 23:47:29.361 +00:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Projects 2022-06-22 23:47:29.363 +00:00 [DBG] Found in the cache: pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Projects 2022-06-22 23:47:29.364 +00:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Docs.Admin.Projects 2022-06-22 23:47:29.366 +00:00 [DBG] Found in the cache: pn:R,pk:admin,n:Docs.Admin.Projects 2022-06-22 23:47:29.367 +00:00 [INF] Authorization was successful. 2022-06-22 23:47:29.371 +00:00 [INF] Entity Framework Core 5.0.7 initialized 'DocsDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-06-22 23:47:29.376 +00:00 [INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [d].[Id], [d].[ConcurrencyStamp], [d].[DefaultDocumentName], [d].[DocumentStoreType], [d].[ExtraProperties], [d].[Format], [d].[LatestVersionBranchName], [d].[MainWebsiteUrl], [d].[MinimumVersion], [d].[Name], [d].[NavigationDocumentName], [d].[ParametersDocumentName], [d].[ShortName] FROM [DocsProjects] AS [d] WHERE [d].[Id] = @__id_0 ORDER BY [d].[Id] 2022-06-22 23:47:29.378 +00:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. 2022-06-22 23:47:29.473 +00:00 [INF] Executed page /Docs/Admin/Projects/Pull in 129.3875ms 2022-06-22 23:47:29.476 +00:00 [INF] Executed endpoint '/Docs/Admin/Projects/Pull' 2022-06-22 23:47:29.478 +00:00 [INF] Request finished HTTP/1.1 GET https://docs-p.azurewebsites.net/Docs/Admin/Projects/Pull?Id=73ccfbdd-e7f7-42e4-9a1f-3a049fa859c7 - - - 200 - text/html;+charset=utf-8 305.1227ms 2022-06-22 23:47:37.780 +00:00 [INF] Request starting HTTP/1.1 POST https://docs-p.azurewebsites.net/Docs/Admin/Projects/Pull application/x-www-form-urlencoded;+charset=UTF-8 386 2022-06-22 23:47:37.789 +00:00 [INF] Executing endpoint '/Docs/Admin/Projects/Pull' 2022-06-22 23:47:37.795 +00:00 [INF] Route matched with {page = "/Docs/Admin/Projects/Pull", controller = "", area = "", action = ""}. Executing page /Docs/Admin/Projects/Pull 2022-06-22 23:47:37.796 +00:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-06-22 23:47:37.807 +00:00 [INF] Executing handler method Volo.Docs.Admin.Pages.Docs.Admin.Projects.PullModel.OnPostAsync - ModelState is "Invalid" 2022-06-22 23:47:37.815 +00:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Documents 2022-06-22 23:47:37.817 +00:00 [DBG] Found in the cache: pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Documents 2022-06-22 23:47:37.818 +00:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Docs.Admin.Documents 2022-06-22 23:47:37.819 +00:00 [DBG] Found in the cache: pn:R,pk:admin,n:Docs.Admin.Documents 2022-06-22 23:47:37.820 +00:00 [INF] Authorization was successful. 2022-06-22 23:47:37.825 +00:00 [INF] Entity Framework Core 5.0.7 initialized 'DocsDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-06-22 23:47:37.837 +00:00 [INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [d].[Id], [d].[ConcurrencyStamp], [d].[DefaultDocumentName], [d].[DocumentStoreType], [d].[ExtraProperties], [d].[Format], [d].[LatestVersionBranchName], [d].[MainWebsiteUrl], [d].[MinimumVersion], [d].[Name], [d].[NavigationDocumentName], [d].[ParametersDocumentName], [d].[ShortName] FROM [DocsProjects] AS [d] WHERE [d].[Id] = @__id_0 ORDER BY [d].[Id] 2022-06-22 23:47:37.845 +00:00 [INF] Downloading content from Github (DownloadWebContentAsStringAsync): https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/docs-nav.json 2022-06-22 23:47:37.846 +00:00 [INF] Start processing HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/docs-nav.json" 2022-06-22 23:47:37.847 +00:00 [INF] Sending HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/docs-nav.json" 2022-06-22 23:47:38.144 +00:00 [INF] Received HTTP response headers after 297.3704ms - 200 2022-06-22 23:47:38.146 +00:00 [INF] End processing HTTP request after 299.633ms - 200 2022-06-22 23:47:38.647 +00:00 [INF] Downloading content from Github (DownloadWebContentAsStringAsync): https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_1_1_1.md 2022-06-22 23:47:38.649 +00:00 [INF] Start processing HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_1_1_1.md" 2022-06-22 23:47:38.650 +00:00 [INF] Sending HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_1_1_1.md" 2022-06-22 23:47:38.840 +00:00 [INF] Received HTTP response headers after 189.8736ms - 200 2022-06-22 23:47:38.841 +00:00 [INF] End processing HTTP request after 192.3224ms - 200 2022-06-22 23:47:39.298 +00:00 [INF] Downloading content from Github (DownloadWebContentAsStringAsync): https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_1_2_1.md 2022-06-22 23:47:39.299 +00:00 [INF] Start processing HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_1_2_1.md" 2022-06-22 23:47:39.299 +00:00 [INF] Sending HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_1_2_1.md" 2022-06-22 23:47:39.536 +00:00 [INF] Received HTTP response headers after 236.177ms - 404 2022-06-22 23:47:39.537 +00:00 [INF] End processing HTTP request after 238.8079ms - 404 2022-06-22 23:47:39.539 +00:00 [WRN] Response status code does not indicate success: 404 (Not Found). 2022-06-22 23:47:39.540 +00:00 [WRN] Exception of type 'Volo.Docs.DocumentNotFoundException' was thrown. Volo.Docs.DocumentNotFoundException: Exception of type 'Volo.Docs.DocumentNotFoundException' was thrown. at Volo.Docs.GitHub.Documents.GithubDocumentSource.DownloadWebContentAsStringAsync(String rawUrl, String token, String userAgent) in D:\Github\abp\modules\docs\src\Volo.Docs.Domain\Volo\Docs\GitHub\Documents\GithubDocumentSource.cs:line 389 at Volo.Docs.GitHub.Documents.GithubDocumentSource.GetDocumentAsync(Project project, String documentName, String languageCode, String version, Nullable1 lastKnownSignificantUpdateTime) in D:\Github\abp\modules\docs\src\Volo.Docs.Domain\Volo\Docs\GitHub\Documents\GithubDocumentSource.cs:line 52 at Volo.Docs.Admin.Documents.DocumentAdminAppService.PullAllAsync(PullAllDocumentInput input) in D:\Github\abp\modules\docs\src\Volo.Docs.Admin.Application\Volo\Docs\Admin\Documents\DocumentAdminAppService.cs:line 113 2022-06-22 23:47:39.541 +00:00 [WRN] Code: 2022-06-22 23:47:39.542 +00:00 [WRN] Details: 2022-06-22 23:47:39.543 +00:00 [INF] Downloading content from Github (DownloadWebContentAsStringAsync): https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_1_2_2.md 2022-06-22 23:47:39.545 +00:00 [INF] Start processing HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_1_2_2.md" 2022-06-22 23:47:39.547 +00:00 [INF] Sending HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_1_2_2.md" 2022-06-22 23:47:39.788 +00:00 [INF] Received HTTP response headers after 241.5911ms - 404 2022-06-22 23:47:39.789 +00:00 [INF] End processing HTTP request after 244.0349ms - 404 2022-06-22 23:47:39.791 +00:00 [WRN] Response status code does not indicate success: 404 (Not Found). 2022-06-22 23:47:39.792 +00:00 [WRN] Exception of type 'Volo.Docs.DocumentNotFoundException' was thrown. Volo.Docs.DocumentNotFoundException: Exception of type 'Volo.Docs.DocumentNotFoundException' was thrown. at Volo.Docs.GitHub.Documents.GithubDocumentSource.DownloadWebContentAsStringAsync(String rawUrl, String token, String userAgent) in D:\Github\abp\modules\docs\src\Volo.Docs.Domain\Volo\Docs\GitHub\Documents\GithubDocumentSource.cs:line 389 at Volo.Docs.GitHub.Documents.GithubDocumentSource.GetDocumentAsync(Project project, String documentName, String languageCode, String version, Nullable1 lastKnownSignificantUpdateTime) in D:\Github\abp\modules\docs\src\Volo.Docs.Domain\Volo\Docs\GitHub\Documents\GithubDocumentSource.cs:line 52 at Volo.Docs.Admin.Documents.DocumentAdminAppService.PullAllAsync(PullAllDocumentInput input) in D:\Github\abp\modules\docs\src\Volo.Docs.Admin.Application\Volo\Docs\Admin\Documents\DocumentAdminAppService.cs:line 113 2022-06-22 23:47:39.793 +00:00 [WRN] Code: 2022-06-22 23:47:39.794 +00:00 [WRN] Details: 2022-06-22 23:47:39.795 +00:00 [INF] Downloading content from Github (DownloadWebContentAsStringAsync): https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_2_1_1.md 2022-06-22 23:47:39.799 +00:00 [INF] Start processing HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_2_1_1.md" 2022-06-22 23:47:39.800 +00:00 [INF] Sending HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs/0.0.3/is/SampleMenuItem_2_1_1.md" 2022-06-22 23:47:40.193 +00:00 [INF] Received HTTP response headers after 392.8847ms - 404 2022-06-22 23:47:40.194 +00:00 [INF] End processing HTTP request after 395.3811ms - 404 2022-06-22 23:47:40.196 +00:00 [WRN] Response status code does not indicate success: 404 (Not Found). 2022-06-22 23:47:40.197 +00:00 [WRN] Exception of type 'Volo.Docs.DocumentNotFoundException' was thrown. Volo.Docs.DocumentNotFoundException: Exception of type 'Volo.Docs.DocumentNotFoundException' was thrown. at Volo.Docs.GitHub.Documents.GithubDocumentSource.DownloadWebContentAsStringAsync(String rawUrl, String token, String userAgent) in D:\Github\abp\modules\docs\src\Volo.Docs.Domain\Volo\Docs\GitHub\Documents\GithubDocumentSource.cs:line 389 at Volo.Docs.GitHub.Documents.GithubDocumentSource.GetDocumentAsync(Project project, String documentName, String languageCode, String version, Nullable1 lastKnownSignificantUpdateTime) in D:\Github\abp\modules\docs\src\Volo.Docs.Domain\Volo\Docs\GitHub\Documents\GithubDocumentSource.cs:line 52 at Volo.Docs.Admin.Documents.DocumentAdminAppService.PullAllAsync(PullAllDocumentInput input) in D:\Github\abp\modules\docs\src\Volo.Docs.Admin.Application\Volo\Docs\Admin\Documents\DocumentAdminAppService.cs:line 113 2022-06-22 23:47:40.200 +00:00 [WRN] Code: 2022-06-22 23:47:40.201 +00:00 [WRN] Details: 2022-06-22 23:47:40.205 +00:00 [INF] Executed DbCommand (3ms) [Parameters=[@__projectId_0='?' (DbType = Guid), @__name_1='?' (Size = 255), @__languageCode_2='?' (Size = 128), @__version_3='?' (Size = 128)], CommandType='"Text"', CommandTimeout='30'] SELECT [d].[Id], [d].[ConcurrencyStamp], [d].[Content], [d].[CreationTime], [d].[EditLink], [d].[ExtraProperties], [d].[FileName], [d].[Format], [d].[LanguageCode], [d].[LastCachedTime], [d].[LastSignificantUpdateTime], [d].[LastUpdatedTime], [d].[LocalDirectory], [d].[Name], [d].[ProjectId], [d].[RawRootUrl], [d].[RootUrl], [d].[Version] FROM [DocsDocuments] AS [d] WHERE ((([d].[ProjectId] = @__projectId_0) AND ([d].[Name] = @__name_1)) AND ([d].[LanguageCode] = @__languageCode_2)) AND ([d].[Version] = @__version_3) 2022-06-22 23:47:40.211 +00:00 [INF] Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 40), @p2='?' (Size = 4000), @p3='?' (DbType = DateTime2), @p4='?' (Size = 2048), @p5='?' (Size = 4000), @p6='?' (Size = 128), @p7='?' (Size = 128), @p8='?' (Size = 128), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p11='?' (DbType = DateTime2), @p12='?' (Size = 512), @p13='?' (Size = 255), @p14='?' (DbType = Guid), @p15='?' (Size = 2048), @p16='?' (Size = 2048), @p17='?' (Size = 128)], CommandType='"Text"', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [DocsDocuments] ([Id], [ConcurrencyStamp], [Content], [CreationTime], [EditLink], [ExtraProperties], [FileName], [Format], [LanguageCode], [LastCachedTime], [LastSignificantUpdateTime], [LastUpdatedTime], [LocalDirectory], [Name], [ProjectId], [RawRootUrl], [RootUrl], [Version]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17); 2022-06-22 23:47:40.246 +00:00 [DBG] Added 0 entity changes to the current audit log 2022-06-22 23:47:40.248 +00:00 [DBG] Added 0 entity changes to the current audit log 2022-06-22 23:47:40.250 +00:00 [INF] AUDIT LOG: [200: POST ] /Docs/Admin/Projects/Pull

    • UserName - UserId : admin - a3da67aa-6b62-a40f-dda6-3a049f423732
    • ClientIpAddress : 85.220.108.182
    • ExecutionDuration : 2436
    • Actions:
      • Volo.Docs.Admin.Documents.DocumentAdminAppService.PullAllAsync (2436 ms.) {"input":{"projectId":"73ccfbdd-e7f7-42e4-9a1f-3a049fa859c7","languageCode":"is","version":"0.0.3"}} `
  • User Avatar
    0
    Sturla created

    `2022-06-22 23:47:40.252 +00:00 [INF] Executed handler method OnPostAsync, returned result Microsoft.AspNetCore.Mvc.NoContentResult. 2022-06-22 23:47:40.348 +00:00 [INF] Executing HttpStatusCodeResult, setting HTTP status code 204 2022-06-22 23:47:40.349 +00:00 [INF] Executed page /Docs/Admin/Projects/Pull in 2552.8253ms 2022-06-22 23:47:40.357 +00:00 [INF] Executed endpoint '/Docs/Admin/Projects/Pull' 2022-06-22 23:47:40.358 +00:00 [INF] Request finished HTTP/1.1 POST https://docs-p.azurewebsites.net/Docs/Admin/Projects/Pull application/x-www-form-urlencoded;+charset=UTF-8 386 - 204 - - 2577.7789ms 2022-06-22 23:47:44.344 +00:00 [INF] Request starting HTTP/1.1 GET https://docs-p.azurewebsites.net/is/docs/latest - - 2022-06-22 23:47:44.355 +00:00 [INF] Executing endpoint '/Documents/Project/Index' 2022-06-22 23:47:44.357 +00:00 [INF] Route matched with {page = "/Documents/Project/Index", controller = "", area = "", action = ""}. Executing page /Documents/Project/Index 2022-06-22 23:47:44.358 +00:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-06-22 23:47:44.364 +00:00 [INF] Executing handler method Volo.Docs.Pages.Documents.Project.IndexModel.OnGetAsync - ModelState is "Valid" 2022-06-22 23:47:44.366 +00:00 [INF] AUDIT LOG: [200: GET ] /is/docs/latest

    • UserName - UserId : admin - a3da67aa-6b62-a40f-dda6-3a049f423732
    • ClientIpAddress : 85.220.108.182
    • ExecutionDuration : 0
    • Actions:
      • Volo.Docs.Documents.DocumentAppService.FullSearchEnabledAsync (0 ms.) {}

    2022-06-22 23:47:44.373 +00:00 [INF] Entity Framework Core 5.0.7 initialized 'DocsDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-06-22 23:47:44.381 +00:00 [INF] Executed DbCommand (1ms) [Parameters=[@__normalizeShortName_0='?' (Size = 32)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [d].[Id], [d].[ConcurrencyStamp], [d].[DefaultDocumentName], [d].[DocumentStoreType], [d].[ExtraProperties], [d].[Format], [d].[LatestVersionBranchName], [d].[MainWebsiteUrl], [d].[MinimumVersion], [d].[Name], [d].[NavigationDocumentName], [d].[ParametersDocumentName], [d].[ShortName] FROM [DocsProjects] AS [d] WHERE [d].[ShortName] = @__normalizeShortName_0 2022-06-22 23:47:44.384 +00:00 [INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT [d].[Id], [d].[ConcurrencyStamp], [d].[DefaultDocumentName], [d].[DocumentStoreType], [d].[ExtraProperties], [d].[Format], [d].[LatestVersionBranchName], [d].[MainWebsiteUrl], [d].[MinimumVersion], [d].[Name], [d].[NavigationDocumentName], [d].[ParametersDocumentName], [d].[ShortName] FROM [DocsProjects] AS [d] 2022-06-22 23:47:44.389 +00:00 [INF] Executed DbCommand (3ms) [Parameters=[@__normalizeShortName_0='?' (Size = 32)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [d].[Id], [d].[ConcurrencyStamp], [d].[DefaultDocumentName], [d].[DocumentStoreType], [d].[ExtraProperties], [d].[Format], [d].[LatestVersionBranchName], [d].[MainWebsiteUrl], [d].[MinimumVersion], [d].[Name], [d].[NavigationDocumentName], [d].[ParametersDocumentName], [d].[ShortName] FROM [DocsProjects] AS [d] WHERE [d].[ShortName] = @__normalizeShortName_0 2022-06-22 23:47:44.405 +00:00 [INF] Executed DbCommand (9ms) [Parameters=[@__normalizeShortName_0='?' (Size = 32)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [d].[Id], [d].[ConcurrencyStamp], [d].[DefaultDocumentName], [d].[DocumentStoreType], [d].[ExtraProperties], [d].[Format], [d].[LatestVersionBranchName], [d].[MainWebsiteUrl], [d].[MinimumVersion], [d].[Name], [d].[NavigationDocumentName], [d].[ParametersDocumentName], [d].[ShortName] FROM [DocsProjects] AS [d] WHERE [d].[ShortName] = @__normalizeShortName_0 2022-06-22 23:47:44.407 +00:00 [INF] Downloading content from Github (DownloadWebContentAsStringAsync): https://raw.githubusercontent.com/Ibeinni/docs//docs-langs.json 2022-06-22 23:47:44.408 +00:00 [INF] Start processing HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs//docs-langs.json" 2022-06-22 23:47:44.409 +00:00 [INF] Sending HTTP request GET "https://raw.githubusercontent.com/Ibeinni/docs//docs-langs.json" 2022-06-22 23:47:44.530 +00:00 [INF] Received HTTP response headers after 121.8926ms - 400 2022-06-22 23:47:44.532 +00:00 [INF] End processing HTTP request after 123.8911ms - 400 2022-06-22 23:47:44.533 +00:00 [WRN] Response status code does not indicate success: 400 (Bad Request). 2022-06-22 23:47:44.540 +00:00 [INF] AUDIT LOG: [200: GET ] /is/docs/latest

    • UserName - UserId : admin - a3da67aa-6v62-a40f-dda6-3a049f423732
    • ClientIpAddress : 84.220.108.182
    • ExecutionDuration : 139
    • Actions:
      • Volo.Docs.Projects.ProjectAppService.GetLanguageListAsync (139 ms.) {"shortName":"docs","version":null}
    • Exceptions:
      • Exception of type 'Volo.Docs.DocumentNotFoundException' was thrown. Volo.Docs.DocumentNotFoundException: Exception of type 'Volo.Docs.DocumentNotFoundException' was thrown. at Volo.Docs.GitHub.Documents.GithubDocumentSource.DownloadWebContentAsStringAsync(String rawUrl, String token, String userAgent) in D:\Github\abp\modules\docs\src\Volo.Docs.Domain\Volo\Docs\GitHub\Documents\GithubDocumentSource.cs:line 389 at Volo.Docs.GitHub.Documents.GithubDocumentSource.GetLanguageListAsync(Project project, String version) in D:\Github\abp\modules\docs\src\Volo.Docs.Domain\Volo\Docs\GitHub\Documents\GithubDocumentSource.cs:line 331 at Volo.Docs.Projects.ProjectAppService.<>c__DisplayClass13_0.<

    `

  • User Avatar
    0
    Sturla created

    2022-06-22 23:47:44.544 +00:00 [WRN] Exception of type 'Volo.Docs.DocumentNotFoundException' was thrown. 2022-06-22 23:47:44.545 +00:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. 2022-06-22 23:47:44.551 +00:00 [DBG] Added bundle 'Basic.Global' to the page in 0.46 ms. 2022-06-22 23:47:44.553 +00:00 [DBG] Added bundle 'Volo.Docs.Pages.Documents.Project.IndexModel' to the page in 0.28 ms. 2022-06-22 23:47:44.561 +00:00 [DBG] Added bundle 'Basic.Global' to the page in 6.49 ms. 2022-06-22 23:47:44.563 +00:00 [DBG] Added bundle 'Volo.Docs.Pages.Documents.Project.IndexModel' to the page in 0.28 ms. 2022-06-22 23:47:44.564 +00:00 [INF] Executed page /Documents/Project/Index in 206.3806ms 2022-06-22 23:47:44.565 +00:00 [INF] Executed endpoint '/Documents/Project/Index' 2022-06-22 23:47:44.566 +00:00 [INF] Request finished HTTP/1.1 GET https://docs-p.azurewebsites.net/is/docs/latest - - - 404 - text/html;+charset=utf-8 221.8722ms 2022-06-22 23:47:44.688 +00:00 [INF] Request starting HTTP/1.1 GET https://docs-p.azurewebsites.net/Abp/ApplicationConfigurationScript - - 2022-06-22 23:47:44.728 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2022-06-22 23:47:44.729 +00:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing controller action with signature System.Threading.Tasks.Task 1[Microsoft.AspNetCore.Mvc.ActionResult] Get() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController (Volo.Abp.AspNetCore.Mvc). 2022-06-22 23:47:44.738 +00:00 [INF] Executing action method Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) - Validation state: "Valid" 2022-06-22 23:47:44.739 +00:00 [DBG] Executing AbpApplicationConfigurationAppService.GetAsync()... 2022-06-22 23:47:44.741 +00:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Projects,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Projects.Update,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Projects.Delete,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Projects.Create,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Documents,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Roles,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Roles.Create,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Roles.Update,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Roles.Delete,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Roles.ManagePermissions,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Users,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Users.Create,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Users.Update,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Users.Delete,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Users.ManagePermissions 2022-06-22 23:47:44.757 +00:00 [DBG] Found in the cache: pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Projects,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Projects.Update,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Projects.Delete,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Projects.Create,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:Docs.Admin.Documents,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Roles,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Roles.Create,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Roles.Update,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Roles.Delete,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Roles.ManagePermissions,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Users,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Users.Create,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Users.Update,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Users.Delete,pn:U,pk:a3da67aa-6b62-a40f-dda6-3a049f423732,n:AbpIdentity.Users.ManagePermissions 2022-06-22 23:47:44.759 +00:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:Docs.Admin.Projects,pn:R,pk:admin,n:Docs.Admin.Projects.Update,pn:R,pk:admin,n:Docs.Admin.Projects.Delete,pn:R,pk:admin,n:Docs.Admin.Projects.Create,pn:R,pk:admin,n:Docs.Admin.Documents,pn:R,pk:admin,n:AbpIdentity.Roles,pn:R,pk:admin,n:AbpIdentity.Roles.Create,pn:R,pk:admin,n:AbpIdentity.Roles.Update,pn:R,pk:admin,n:AbpIdentity.Roles.Delete,pn:R,pk:admin,n:AbpIdentity.Roles.ManagePermissions,pn:R,pk:admin,n:AbpIdentity.Users,pn:R,pk:admin,n:AbpIdentity.Users.Create,pn:R,pk:admin,n:AbpIdentity.Users.Update,pn:R,pk:admin,n:AbpIdentity.Users.Delete,pn:R,pk:admin,n:AbpIdentity.Users.ManagePermissions 2022-06-22 23:47:44.769 +00:00 [DBG] Found in the cache: pn:R,pk:admin,n:Docs.Admin.Projects,pn:R,pk:admin,n:Docs.Admin.Projects.Update,pn:R,pk:admin,n:Docs.Admin.Projects.Delete,pn:R,pk:admin,n:Docs.Admin.Projects.Create,pn:R,pk:admin,n:Docs.Admin.Documents,pn:R,pk:admin,n:AbpIdentity.Roles,pn:R,pk:admin,n:AbpIdentity.Roles.Create,pn:R,pk:admin,n:AbpIdentity.Roles.Update,pn:R,pk:admin,n:AbpIdentity.Roles.Delete,pn:R,pk:admin,n:AbpIdentity.Roles.ManagePermissions,pn:R,pk:admin,n:AbpIdentity.Users,pn:R,pk:admin,n:AbpIdentity.Users.Create,pn:R,pk:admin,n:AbpIdentity.Users.Update,pn:R,pk:admin,n:AbpIdentity.Users.Delete,pn:R,pk:admin,n:AbpIdentity.Users.ManagePermissions 2022-06-22 23:47:44.829 +00:00 [DBG] Executed AbpApplicationConfigurationAppService.GetAsync(). 2022-06-22 23:47:44.878 +00:00 [INF] Executed action method Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc), returned result Microsoft.AspNetCore.Mvc.ContentResult in 138.5097ms. 2022-06-22 23:47:44.879 +00:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-06-22 23:47:44.881 +00:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 143.8232ms 2022-06-22 23:47:44.888 +00:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2022-06-22 23:47:44.900 +00:00 [INF] Request starting HTTP/1.1 GET https://docs-p.azurewebsites.net/__bundles/Basic.Global.634877EE43332349ADBAC382B1BDAA88.css?_v=637915262151326218 - - 2022-06-22 23:47:44.911 +00:00 [INF] The file /__bundles/Basic.Global.634877EE43332349ADBAC382B1BDAA88.css was not modified 2022-06-22 23:47:44.918 +00:00 [INF] Request finished HTTP/1.1 GET https://docs-p.azurewebsites.net/Abp/ApplicationConfigurationScript - - - 200 51510 application/javascript 230.3833ms 2022-06-22 23:47:44.919 +00:00 [INF] Request finished HTTP/1.1 GET https://docs-p.azurewebsites.net/__bundles/Basic.Global.634877EE43332349ADBAC382B1BDAA88.css?_v=637915262151326218 - - - 304 - text/css 19.4211ms 2022-06-22 23:47:44.966 +00:00 [INF] Request starting HTTP/1.1 GET https://docs-p.azurewebsites.net/Abp/ServiceProxyScript - - 2022-06-22 23:47:44.977 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2022-06-22 23:47:44.978 +00:00 [INF] Request starting HTTP/1.1 GET https://docs-p.azurewebsites.net/__bundles/Volo.Docs.Pages.Documents.Project.IndexModel.D2ED1CCB4AFA9CF8ACD9169FB8822F15.css?_v=637915262608783076 - - 2022-06-22 23:47:44.986 +00:00 [INF] The file /__bundles/Volo.Docs.Pages.Documents.Project.IndexModel.D2ED1CCB4AFA9CF8ACD9169FB8822F15.css was not modified 2022-06-22 23:47:44.987 +00:00 [INF] Request finished HTTP/1.1 GET https://docs-p.azurewebsites.net/__bundles/Volo.Docs.Pages.Documents.Project.IndexModel.D2ED1CCB4AFA9CF8ACD9169FB8822F15.css?_v=637915262608783076 - - - 304 - text/css 9.4127ms 2022-06-22 23:47:44.979 +00:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult GetAll(Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel) on controller Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController (Volo.Abp.AspNetCore.Mvc). 2022-06-22 23:47:44.990 +00:00 [INF] Executing action method Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) - Validation state: "Valid" 2022-06-22 23:47:44.997 +00:00 [INF] Executed action method Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc), returned result Microsoft.AspNetCore.Mvc.ContentResult in 6.2324ms. 2022-06-22 23:47:44.999 +00:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-06-22 23:47:45.000 +00:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 10.7415ms 2022-06-22 23:47:45.006 +00:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2022-06-22 23:47:45.007 +00:00 [INF] Request finished HTTP/1.1 GET https://docs-p.azurewebsites.net/Abp/ServiceProxyScript - - - 200 14664 application/javascript 41.4398ms 2022-06-22 23:48:05.093 +00:00 [INF] Request starting HTTP/1.1 GET http://docs-p.azurewebsites.net/ - - 2022-06-22 23:48:05.095 +00:00 [INF] Executing endpoint '/Index' 2022-06-22 23:48:05.096 +00:00 [INF] Route matched with {page = "/Index", controller = "", area = "", action = ""}. Executing page /Index 2022-06-22 23:48:05.097 +00:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-06-22 23:48:05.103 +00:00 [INF] Executing handler method VoloDocs.Web.Pages.IndexModel.OnGetAsync - ModelState is "Valid" 2022-06-22 23:48:05.105 +00:00 [INF] Entity Framework Core 5.0.7 initialized 'DocsDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery 2022-06-22 23:48:05.108 +00:00 [INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT [d].[Id], [d].[ConcurrencyStamp], [d].[DefaultDocumentName], [d].[DocumentStoreType], [d].[ExtraProperties], [d].[Format], [d].[LatestVersionBranchName], [d].[MainWebsiteUrl], [d].[MinimumVersion], [d].[Name], [d].[NavigationDocumentName], [d].[ParametersDocumentName], [d].[ShortName] FROM [DocsProjects] AS [d] 2022-06-22 23:48:05.110 +00:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RedirectResult. 2022-06-22 23:48:05.114 +00:00 [INF] Executing RedirectResult, redirecting to ./en/docs/latest. 2022-06-22 23:48:05.114 +00:00 [INF] Executed page /Index in 17.3645ms 2022-06-22 23:48:05.115 +00:00 [INF] Executed endpoint '/Index' 2022-06-22 23:48:05.116 +00:00 [INF] Request finished HTTP/1.1 GET http://docs-p.azurewebsites.net/ - - - 302 - - 22.8411ms

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Can you create a docs-langs.json file in the /docs directory of your repository (like https://github.com/abpframework/abp/blob/dev/docs/docs-langs.json):

    {
      "Languages":[
        {
          "DisplayName" : "Icelandic",
          "Code" : "is",
          "IsDefault": true
        }
      ]
    }
    
  • User Avatar
    0
    Sturla created

    Can you create a docs-langs.json file in the /docs directory of your repository (like https://github.com/abpframework/abp/blob/dev/docs/docs-langs.json):

    { 
      "Languages":[ 
        { 
          "DisplayName" : "Icelandic", 
          "Code" : "is", 
          "IsDefault": true 
        } 
      ] 
    } 
    

    Its there https://github.com/Ibeinni/docs or am I misunderstanding? I do not have a docs folder but only a docs repository.. is that it?

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Can you create a docs-langs.json file in the /docs directory of your repository (like https://github.com/abpframework/abp/blob/dev/docs/docs-langs.json):

    {  
      "Languages":[  
        {  
          "DisplayName" : "Icelandic",  
          "Code" : "is",  
          "IsDefault": true  
        }  
      ]  
    }  
    

    Its there https://github.com/Ibeinni/docs or am I misunderstanding? I do not have a docs folder but only a docs repository.. is that it?

    It seems you already created it, my bad sorry. Can you change the root URL to https://github.com/Ibeinni/docs/tree/{version}/is and add an index.md file under the is directory and then try it again?

  • User Avatar
    0
    Sturla created

    Np.

    I updated the root url and added the index.md to the repo and released it here https://github.com/Ibeinni/docs/releases/tag/0.0.4

    Its failing with 404 when I pull. The logs now show is/is https://raw.githubusercontent.com/Ibeinni/docs/0.0.4/is/is/docs-nav.json

    If I then change the root url I can pull https://github.com/Ibeinni/docs/tree/{version}/ (no is) but I then I get 404 error and the error is because its trying this https://raw.githubusercontent.com/Ibeinni/docs//docs-langs.json (empty // with no version)

  • User Avatar
    0
    Sturla created

    @EngincanV you got something else for me to try out?

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    @EngincanV you got something else for me to try out?

    I'll create a repository and try to integrate it with the docs module and share the steps with you.

  • User Avatar
    0
    Sturla created

    Hi @EngincanV have you had time to create this repository?

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi @EngincanV have you had time to create this repository?

    Hi, sorry for the late response. I'll create a new repository and share the necessary steps with you to integrate with Docs Module during the day.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi again and sorry for the late response, I've created a repository and go with the same structure as yours.

    • Here is my project form:

    I've used "Branches" as my Github Version Provider source, instead of "Releases". See my rel-1.0 branch So your root URL should be -> "https://github.com/Ibeinni/docs/tree/{version}/" and main website url should be -> "/"

    • I've also set some configuration in my web project as below:
            Configure<DocsElasticSearchOptions>(options =>
            {
                options.Enable = true;
            });
            
            Configure<DocsUiOptions>(options =>
            {
                options.RoutePrefix = null; //it need to be null otherwise documents prefix is added the url
                options.ShowProjectsCombobox = false;
            });
    

    Enabling ElasticSearch is optional, however, it's good for full-text search, so maybe you also want to enable it. I've also set route-prefix as null because otherwise "documents" prefix is added to the URL.


    Then I opened the admin project and pull documents from there. Then I could successfully see my document text on the website.

  • User Avatar
    0
    Sturla created

    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

  • User Avatar
    0
    Sturla created

    @EngincanV any feedback on this?

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    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

    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.

    Configure<DocsUiOptions>(options =>
     {
          options.RoutePrefix = null; //it need to be null otherwise documents prefix is added the url
     });
    

    Can you check the steps that I've written in this comment and check with your configurations? It should work because I've created a repository with the same structure as yours to provide you with better information about the integration of the Docs module.

  • User Avatar
    0
    Sturla created

    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?

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    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?

    Hi, as far as I see your project doesn't contain the admin projects. So to reach the Docs/Admin/Projects route you need to add the Volo.Docs.Admin.Web project to your web project:

    typeof(DocsAdminWebModule)
    

    and other admin projects to your corresponding projects.

  • User Avatar
    0
    Sturla created

    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;
    });
    
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

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

    No, I didn't get a 404 error after these steps.


    Did you configure the DocsUiOptions as below?

    Configure<DocsUiOptions>(options =>
    {
        options.RoutePrefix = null;
    });
    

    If you didn't then you need to add the /documents route as a prefix to your URL. (/documents/en/abp/latest).

  • User Avatar
    0
    Sturla created

    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

  • User Avatar
    0
    Sturla created

    Have you really tried doing this with my code (Github+insert records)?

    Shouldn´t it show some documents on the document page if there are records in the database?

    I don´t know what to do here... file new project + module installing + connecting to Github and getting data == not working

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Have you really tried doing this with my code (Github+insert records)?

    Shouldn´t it show some documents on the document page if there are records in the database?

    I don´t know what to do here... file new project + module installing + connecting to Github and getting data == not working

    Yes, I've tried it and you can see the screenshots from this answer.

    But I'll try it again and try to understand what is the problem you're facing with.

  • User Avatar
    0
    Sturla created

    Thank you so much. I really appreciate it!

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    To solve the ** ("HTTP Error 500.30 - ASP.NET Core app failed to start")** error, please add the following section to your appsettings.json file:

      "ElasticSearch": {
        "Url": "http://localhost:9200"
      },
    

    I've cloned your repository (https://github.com/sturlath/Acme.MyProject) and try the docs module.

    1. I've created a new project as below:

    • Your index page is index.md instead of Index.md, so please change it in the form. (I mean default document name should be index for you.)

    This naming might be the problem to prevent you to view your docs.

    1. Then click the pull action for the project as in the below ss (you don't need to add records manually):

    1. This should pull the index page for the English and for other pages. You can check from documents page from your admin panel.

    1. Then you should be able to view the docs.


    I hope it works for you.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11